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

maverick-api import error #1003

Open
fnoop opened this issue Sep 12, 2021 · 3 comments
Open

maverick-api import error #1003

fnoop opened this issue Sep 12, 2021 · 3 comments

Comments

@fnoop
Copy link
Member

fnoop commented Sep 12, 2021

Aug 09 18:48:14 maverick-desktopvm api.sh[97357]: Traceback (most recent call last):
Aug 09 18:48:14 maverick-desktopvm api.sh[97357]:   File "/srv/maverick/software/maverick-api/maverick-api.py", line 16, in <module>
Aug 09 18:48:14 maverick-desktopvm api.sh[97357]:     from maverick_api.modules.base.setup.config import MavConfig
Aug 09 18:48:14 maverick-desktopvm api.sh[97357]:   File "/srv/maverick/software/maverick-api/maverick_api/modules/__init__.py", line 9, in <module>
Aug 09 18:48:14 maverick-desktopvm api.sh[97357]:     from graphql.pyutils.event_emitter import EventEmitter
Aug 09 18:48:14 maverick-desktopvm api.sh[97357]: ModuleNotFoundError: No module named 'graphql.pyutils.event_emitter'
Aug 09 18:48:14 maverick-desktopvm systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE

graphql_core seem to have changed/deprecated graphql.pyutils.event_emitter

@fnoop
Copy link
Member Author

fnoop commented Sep 12, 2021

Looks like EventEmitter has been replaced with SimplePubSub

graphql-python/graphql-core@2f25886#diff-5507dfe2ed2aef45270a83f30e9ccdc8d58b5802742e3d8e97c0aa85b7e7ba3b

@fnoop
Copy link
Member Author

fnoop commented Sep 12, 2021

EventEmitterAsyncIterator has been replaced with SimplePubSubIterator

@fnoop
Copy link
Member Author

fnoop commented Sep 12, 2021

path.name error:

Sep 12 18:15:58 maverick-desktopvm api.sh[147326]:   File "/srv/maverick/software/maverick-api/maverick_api/modules/__init__.py", line 115, in generate_schema
Sep 12 18:15:58 maverick-desktopvm api.sh[147326]:     module_folder_name = module_folder_finder.path.name
Sep 12 18:15:58 maverick-desktopvm api.sh[147326]: AttributeError: 'str' object has no attribute 'name'

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