You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jpiet> interface show
Error running command: local variable 'add_flds' referenced before assignment
Traceback (most recent call last):
File "/home/jpiet/.local/share/virtualenvs/suzieq-zI29E9ll/lib/python3.7/site-packages/nubia/internal/cmdbase.py", line 374, in run_interactive
ret = fn(**args_dict)
File "/tmp/pycharm_project_1000/suzieq/suzieq/cli/sqcmds/InterfaceCmd.py", line 67, in show
type=type.split(),
File "/tmp/pycharm_project_1000/suzieq/suzieq/sqobjects/basicobj.py", line 125, in get
return self.engine_obj.get(**kwargs)
File "/tmp/pycharm_project_1000/suzieq/suzieq/engines/pandas/engineobj.py", line 201, in get
df = self.get_valid_df(self.iobj._table, sort_fields, **kwargs)
File "/tmp/pycharm_project_1000/suzieq/suzieq/engines/pandas/engineobj.py", line 126, in get_valid_df
**kwargs
File "/tmp/pycharm_project_1000/suzieq/suzieq/engines/pandas/engine.py", line 173, in get_table_df
add_flds.add('active')
UnboundLocalError: local variable 'add_flds' referenced before assignment
I kind of understand why this if failing and might even be able to fix it.
However, I don't understand how tests are passing and I don't understand why any other commands work
The text was updated successfully, but these errors were encountered:
I can't reproduce this after starting a new instance. I reproduced it yesterday several times, I believe with different data and I definitely restarted the cli. so I have no idea what was going on.
jpiet> interface show
Error running command: local variable 'add_flds' referenced before assignment
Traceback (most recent call last):
File "/home/jpiet/.local/share/virtualenvs/suzieq-zI29E9ll/lib/python3.7/site-packages/nubia/internal/cmdbase.py", line 374, in run_interactive
ret = fn(**args_dict)
File "/tmp/pycharm_project_1000/suzieq/suzieq/cli/sqcmds/InterfaceCmd.py", line 67, in show
type=type.split(),
File "/tmp/pycharm_project_1000/suzieq/suzieq/sqobjects/basicobj.py", line 125, in get
return self.engine_obj.get(**kwargs)
File "/tmp/pycharm_project_1000/suzieq/suzieq/engines/pandas/engineobj.py", line 201, in get
df = self.get_valid_df(self.iobj._table, sort_fields, **kwargs)
File "/tmp/pycharm_project_1000/suzieq/suzieq/engines/pandas/engineobj.py", line 126, in get_valid_df
**kwargs
File "/tmp/pycharm_project_1000/suzieq/suzieq/engines/pandas/engine.py", line 173, in get_table_df
add_flds.add('active')
UnboundLocalError: local variable 'add_flds' referenced before assignment
I kind of understand why this if failing and might even be able to fix it.
However, I don't understand how tests are passing and I don't understand why any other commands work
The text was updated successfully, but these errors were encountered: