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
I'm using the @q decorator in a program to try and work out how it is running. When I run the program I find that it crashes because of an error within q:
Traceback (most recent call last):
File "/opt/anaconda3/envs/python2/bin/rio", line 9, in <module>
load_entry_point('rasterio', 'console_scripts', 'rio')()
File "/opt/anaconda3/envs/python2/lib/python2.7/site-packages/click/core.py", line 716, in __call__
return self.main(*args, **kwargs)
File "/opt/anaconda3/envs/python2/lib/python2.7/site-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/opt/anaconda3/envs/python2/lib/python2.7/site-packages/click/core.py", line 1058, in invoke
sub_ctx = cmd.make_context(cmd_name, args, parent=ctx)
File "/opt/anaconda3/envs/python2/lib/python2.7/site-packages/click/core.py", line 620, in make_context
self.parse_args(ctx, args)
File "/opt/anaconda3/envs/python2/lib/python2.7/site-packages/click/core.py", line 874, in parse_args
value, args = param.handle_parse_result(ctx, opts, args)
File "/opt/anaconda3/envs/python2/lib/python2.7/site-packages/click/core.py", line 1398, in handle_parse_result
self.callback, ctx, self, value)
File "/opt/anaconda3/envs/python2/lib/python2.7/site-packages/click/core.py", line 76, in invoke_param_callback
return callback(ctx, value)
File "/opt/anaconda3/envs/python2/lib/python2.7/site-packages/q-2.6-py2.7.egg/q.py", line 284, in wrapper
info = self.inspect.getframeinfo(etb.tb_next, context=3)
File "/opt/anaconda3/envs/python2/lib/python2.7/inspect.py", line 1005, in getframeinfo
lineno = frame.f_lineno
AttributeError: 'NoneType' object has no attribute 'f_lineno'
Any ideas on what's going wrong here and how it can be fixed?
The text was updated successfully, but these errors were encountered:
I'm using the @q decorator in a program to try and work out how it is running. When I run the program I find that it crashes because of an error within q:
Any ideas on what's going wrong here and how it can be fixed?
The text was updated successfully, but these errors were encountered: