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

[Bug]: commands folder for Scripts initializing is missing on v2.10.0 install #2868

Closed
1 task done
abarreaux opened this issue Oct 25, 2024 · 1 comment · Fixed by #2869
Closed
1 task done

[Bug]: commands folder for Scripts initializing is missing on v2.10.0 install #2868

abarreaux opened this issue Oct 25, 2024 · 1 comment · Fixed by #2869
Labels
bug Something isn't working

Comments

@abarreaux
Copy link

abarreaux commented Oct 25, 2024

Version

v2.10.0

Platform

Python

What happened?

Hi everyone, first time posting an issue here, let me know if I can help in making the post better somehow.

When installing v2.10.0 with pip v24.0, the commands files are not included in the bullmq folder and I get

FileNotFoundError: [Errno 2] No such file or directory: '*****/venv/lib/python3.12/site-packages/bullmq/commands/addStandardJob-8.lua'

Seems to be an old issue (#1952) coming back.

How to reproduce.

Any new install of v2.10.0 on my end ends the same way.

Was fixed by downgrading to v2.9.4.

Relevant log output

image

image

image

image

Code of Conduct

  • I agree to follow this project's Code of Conduct
@abarreaux abarreaux added the bug Something isn't working label Oct 25, 2024
@lanpeisi
Copy link

lanpeisi commented Oct 25, 2024

Same issue here with upgrading to 2.10.0

File "/usr/local/lib/python3.11/site-packages/bullmq/scripts.py", line 78, in getScript
file = open(f"{basePath}/commands/{name}", "r")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.11/site-packages/bullmq/commands/addStandardJob-8.lua'

Tried to downgrade back to 2.9.4, didn't solve it. It appears the commands folder is present in 'src', while scripts.py is in 'python/bullmq'

Capture d’écran 2024-10-25 à 18 25 51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants