Skip to content

Cannot run on Windows... #19

@Felix-neko

Description

@Felix-neko

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions