Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run on Windows... #19

Open
Felix-neko opened this issue Mar 14, 2017 · 0 comments
Open

Cannot run on Windows... #19

Felix-neko opened this issue Mar 14, 2017 · 0 comments

Comments

@Felix-neko
Copy link

Hi again! I've tried to run it under Windows.

It gives an error:

C:\Python27\python.exe D:/Projects/PAT/examples/pflow_fuss.py
WARNING: The "threading" module was imported before "pflow.executors.single_process"; gevent could not monkey patch it first, and this may cause graph execution to halt where threads are used!
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\gevent\greenlet.py", line 536, in run
    result = self._run(*self.args, **self.kwargs)
  File "C:\Python27\lib\site-packages\pflow\executors\base.py", line 50, in component_loop
    component.run()
  File "C:\Python27\lib\site-packages\pflow\core.py", line 38, in keepalive_wrapper
    fn(self)
  File "C:\Python27\lib\site-packages\pflow\components.py", line 492, in run
    import sh
  File "C:\Python27\lib\site-packages\sh.py", line 36, in <module>
    support." % __version__)
ImportError: sh 1.12.11 is currently only supported on linux and osx. please install pbs 0.110 (http://pypi.python.org/pypi/pbs) for windows support.
Tue Mar 14 14:15:13 2017 <Greenlet at 0x2fe12a8L: component_loop(None, None)> failed with ImportError

No handlers could be found for logger "pflow.executors.single_process.SingleProcessGraphExecutor"
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\gevent\greenlet.py", line 536, in run
    result = self._run(*self.args, **self.kwargs)
  File "C:\Python27\lib\site-packages\pflow\executors\base.py", line 50, in component_loop
    component.run()
  File "C:\Python27\lib\site-packages\pflow\components.py", line 313, in run
    regex_value = self.inputs['REGEX'].receive()
  File "C:\Python27\lib\site-packages\pflow\port.py", line 191, in receive
    value = packet.value
AttributeError: 'NoneType' object has no attribute 'value'
Tue Mar 14 14:15:13 2017 <Greenlet at 0x2856f20L: component_loop(None, None)> failed with AttributeError


Process finished with exit code 0

Haven't you fixed it in newer releases?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant