Dashboards & Visualizations
Highlighted

global name lib is not defined

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.
$SPLUNKHOME/var/log/webservice.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)
Highlighted

Re: global name lib is not defined

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

Highlighted

Re: global name lib is not defined

Splunk Employee
Splunk Employee

Upgrading did the trick, my views are back!

0 Karma