the outdated script is being executed according to Python traceback -
i've encountered weird issue regrading tracebacks in python. i've updated code while debugging, it's still using outdated code. detailed traceback below:
error: traceback (most recent call last): file "~/myenv/lib/python2.7/site-packages/xxx/xmlrpc/dispatcher.py", line 95, in _marshaled_dispatch response = self._dispatch(method, params) file "/usr/lib64/python2.7/simplexmlrpcserver.py", line 420, in _dispatch return func(*params) file "~/myenv/lib/python2.7/site-packages/kobo/hub/decorators.py", line 24, in _new_func return func(request, *args, **kwargs) file "~/myenv/lib/python2.7/site-packages/myapp/worker.py", line 61, in register download.save()
i'm pretty sure exception thrown download.save()
removed. i.e., line 61 in ~/myenv/lib/python2.7/site-packages/myapp/worker.py
doesn't contain download.save()
:
$ grep -r "download.save" ~/myenv/lib/python2.7/site-packages/myapp/
no matchings found.
but looks python still uses out-dated code. new changes still won't work. besides, i've removed worker.pyc file under save directory before running scripts.
any ideas how resolve issue?
when grep, , when run code, same user? code running under web server or similar daemon process, different username , different home directory?
Comments
Post a Comment