Dashboards & Visualizations

global name lib is not defined

rroberts
Splunk Employee
Splunk Employee

Been working on advanced XML view. Suddenly got ...
Splunk cannot find the "sandbox-charting" view. And the view no longer shows up on navigation menu.
$SPLUNK_HOME/var/log/web_service.log shows...

2012-04-27 13:45:42,455 ERROR [4f9adb464b2368890] memoizedviews:116 - Error loading view "sandbox-charting"
2012-04-27 13:45:42,455 ERROR [4f9adb464b2368890] memoizedviews:117 - global name 'lib' is not defined
Traceback (most recent call last):

What gives? Komodo-edit shows file is well-formed XML.

Tags (3)
1 Solution

araitz
Splunk Employee
Splunk Employee

This is SPL-48364, which should have been fixed in 4.3.2. If you are seeing this in 4.3.2, this is a problem. If you are seeing this in a version prior to 4.3.2, try upgrading.

FWIW, if you hit this, it generally means there is something wrong with your view XML.

View solution in original post

araitz
Splunk Employee
Splunk Employee

This is SPL-48364, which should have been fixed in 4.3.2. If you are seeing this in 4.3.2, this is a problem. If you are seeing this in a version prior to 4.3.2, try upgrading.

FWIW, if you hit this, it generally means there is something wrong with your view XML.

rroberts
Splunk Employee
Splunk Employee

Upgrading did the trick, my views are back!

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...

Global Splunk User Group Events: May + June 2026

Your Splunk Community Awaits: Discover Upcoming User Group Events Worldwide    Staying ahead in the fast-paced ...