chapmanjacobd / library

80+ CLI tools to build, browse, and blend your media library: an index for your archive.
BSD 3-Clause "New" or "Revised" License
355 stars 9 forks source link

No module named 'pyparsing' #25

Closed deldesir closed 8 months ago

deldesir commented 8 months ago

Describe the bug Upon running the lb tubeadd command with the provided YouTube video link (https://www.youtube.com/watch?v=sqoOzGMqCQU), the following error is encountered:

ModuleNotFoundError: No module named 'pyparsing'

This error suggests that the pyparsing module is missing or not installed in the environment where the lb command is executed.

To Reproduce

  1. Execute the following command in the terminal:
    lb tubeadd https://www.youtube.com/watch?v=sqoOzGMqCQU
  2. Observe the error message indicating the absence of the pyparsing module.

Expected behavior The lb tubeadd command should execute successfully without encountering a ModuleNotFoundError. The necessary dependencies, including pyparsing, should be available in the environment.

Desktop (please complete the following information):

Additional context Should be easily fixable running the following inside the xklb venv (but it failed):

pip install pyparsing
chapmanjacobd commented 8 months ago

Thanks for catching this!

I released a new version (v2.2.198) that fixes this. I will keep this ticket open until I add a test to prevent future mistakes like this from being published

chapmanjacobd commented 8 months ago

okay it looks like this should happen a lot less often now: https://github.com/chapmanjacobd/library/actions/runs/7335513984/job/19973528701