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
Don't know who to blame but plumbum 1.1.0 fails to run in trivial combination with Flask 0.9 while plumbum 1.0.1 works well. Here is code to reproduce issue.
And here is output:
>python index.py
* Running on http://127.0.0.1:5000/
* Restarting with reloader
Traceback (most recent call last):
File "index.py", line 12, in <module>
app.run()
File "/home/user/pyenv/fplu/local/lib/python2.7/site-packages/flask/app.py", line 739, in run
run_simple(host, port, self, **options)
File "/home/user/pyenv/fplu/local/lib/python2.7/site-packages/werkzeug/serving.py", line 615, in run_simple
run_with_reloader(inner, extra_files, reloader_interval)
File "/home/user/pyenv/fplu/local/lib/python2.7/site-packages/werkzeug/serving.py", line 533, in run_with_reloader
reloader_loop(extra_files, interval)
File "/home/user/pyenv/fplu/local/lib/python2.7/site-packages/werkzeug/serving.py", line 439, in _reloader_stat_loop
for filename in chain(_iter_module_files(), extra_files or ()):
File "/home/user/pyenv/fplu/local/lib/python2.7/site-packages/werkzeug/serving.py", line 413, in _iter_module_files
filename = getattr(module, '__file__', None)
File "/home/user/pyenv/fplu/local/lib/python2.7/site-packages/plumbum/local_machine.py", line 537, in __getitem__
return LocalCommand(self.which(cmd))
File "/home/user/pyenv/fplu/local/lib/python2.7/site-packages/plumbum/local_machine.py", line 508, in which
raise CommandNotFound(progname, list(cls.env.path))
plumbum.commands.CommandNotFound: ('__file__', [<LocalPath /home/user/pyenv/fplu/bin>, <LocalPath /home/user/.pythonbrew/bin>, <LocalPath /home/user/.pythonbrew/bin>, <LocalPath /usr/local/bin>, <LocalPath /usr/bin>, <LocalPath /bin>, <LocalPath /usr/games>])
The text was updated successfully, but these errors were encountered:
i think it's this issue has been solved. can you try running it with the latest master?
(you can use pip install -e [email protected]:tomerfiliba/plumbum.git if i'm not mistaken)
Don't know who to blame but
plumbum 1.1.0
fails to run in trivial combination with Flask 0.9 whileplumbum 1.0.1
works well. Here is code to reproduce issue.And here is output:
The text was updated successfully, but these errors were encountered: