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

Migrate workflow101: AttributeError: module 'subprocess' has no attribute 'PIPE' #130

Open
D0wn3r opened this issue Sep 3, 2024 · 1 comment

Comments

@D0wn3r
Copy link

D0wn3r commented Sep 3, 2024

Hi,
I'm just trying to follow the README of workflow101's cookbook to run it

Traceback (most recent call last):
  File "/home/simco-dev/cookbook/workflow101/manage.py", line 14, in <module>
    from django.core.management import execute_from_command_line
  File "/home/simco-dev/cookbook/workflow101/venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 17, in <module>
    from django.conf import settings
  File "/home/simco-dev/cookbook/workflow101/venv/lib/python3.10/site-packages/django/conf/__init__.py", line 19, in <module>
    from django.utils.deprecation import RemovedInDjango60Warning
  File "/home/simco-dev/cookbook/workflow101/venv/lib/python3.10/site-packages/django/utils/deprecation.py", line 4, in <module>
    from asgiref.sync import iscoroutinefunction, markcoroutinefunction, sync_to_async
  File "/home/simco-dev/cookbook/workflow101/venv/lib/python3.10/site-packages/asgiref/sync.py", line 1, in <module>
    import asyncio
  File "/usr/lib/python3.10/asyncio/__init__.py", line 8, in <module>
    from .base_events import *
  File "/usr/lib/python3.10/asyncio/base_events.py", line 40, in <module>
    from . import events
  File "/usr/lib/python3.10/asyncio/events.py", line 204, in <module>
    class AbstractEventLoop:
  File "/usr/lib/python3.10/asyncio/events.py", line 499, in AbstractEventLoop
    stdin=subprocess.PIPE,
AttributeError: module 'subprocess' has no attribute 'PIPE'
@MarcoHernandez90
Copy link

They need to change the subprocess app name because it has conflict with the subprocess python module. And the requirements.txt is incomplete, we also need to install like 5 other packages to get the project running.

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

2 participants