This is the error returned from running the nwsdk_query.py script
2014-Mar-05 11:27:43 - ERROR: While
trying to process sessions.
Reason="local variable 'group'
referenced before assignment"
Class="
'exceptions.UnboundLocalError'>"
2014-Mar-05 11:27:43 Traceback (most
recent call last): File
"./nwsdk_query.py", line 357, in
(done, last_completed_meta,first_run_last_id)
= get_stats(opener, a_url) File "./nwsdk_query.py", line 223, in
get_stats
sys.stderr.write(time.strftime("%Y-%b-%d
%H:%M:%S",
time.localtime(time.time())) + ' -
ERROR: While trying to process
sessions ( sessionid=' + str(group) +
' ) Reason="' + str(e) + '" Class="' +
str(c) + '" \r\n') UnboundLocalError:
local variable 'group' referenced
before assignment
Sorry for the delay getting back to you! I've only just seen this!
Can you please post your query from the configuration file?
"group" is normally assigned very early and the only reason of it not to be so is if there is no data returned from the NW device.
Thank you,
Rui