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

github-actions bot pushed a commit that referenced this issue Oct 31, 2024
# [5.22.0](v5.21.2...v5.22.0) (2024-10-31)

### Bug Fixes

* **commands:** add missing build statement when releasing [python] ([#2869](#2869)) fixes [#2868](#2868) ([ff2a47b](ff2a47b))

### Features

* **job:** add getChildrenValues method [python] ([#2853](#2853)) ([0f25213](0f25213))
* **queue:** add a telemetry interface ([#2721](#2721)) ([273b574](273b574))
alexandresoro pushed a commit to alexandresoro/ouca that referenced this issue Nov 3, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [bullmq](https://bullmq.io/) ([source](https://github.com/taskforcesh/bullmq)) | dependencies | minor | [`5.21.2` -> `5.23.0`](https://renovatebot.com/diffs/npm/bullmq/5.21.2/5.23.0) |

---

### Release Notes

<details>
<summary>taskforcesh/bullmq (bullmq)</summary>

### [`v5.23.0`](https://github.com/taskforcesh/bullmq/releases/tag/v5.23.0)

[Compare Source](taskforcesh/bullmq@v5.22.0...v5.23.0)

##### Features

-   **scheduler:** add getJobScheduler method ([#&#8203;2877](taskforcesh/bullmq#2877)) ref [#&#8203;2875](taskforcesh/bullmq#2875) ([956d98c](taskforcesh/bullmq@956d98c))

### [`v5.22.0`](https://github.com/taskforcesh/bullmq/releases/tag/v5.22.0)

[Compare Source](taskforcesh/bullmq@v5.21.2...v5.22.0)

##### Bug Fixes

-   **commands:** add missing build statement when releasing \[python] ([#&#8203;2869](taskforcesh/bullmq#2869)) fixes [#&#8203;2868](taskforcesh/bullmq#2868) ([ff2a47b](taskforcesh/bullmq@ff2a47b))

##### Features

-   **job:** add getChildrenValues method \[python] ([#&#8203;2853](taskforcesh/bullmq#2853)) ([0f25213](taskforcesh/bullmq@0f25213))
-   **queue:** add a telemetry interface ([#&#8203;2721](taskforcesh/bullmq#2721)) ([273b574](taskforcesh/bullmq@273b574))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xNDAuMiIsInVwZGF0ZWRJblZlciI6IjM4LjE0Mi4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Reviewed-on: https://git.tristess.app/alexandresoro/ouca/pulls/290
Reviewed-by: Alexandre Soro <code@soro.dev>
Co-authored-by: renovate <renovate@git.tristess.app>
Co-committed-by: renovate <renovate@git.tristess.app>
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