hubanton / Ultimate-Guitar-to-PDF

Converts UG-Tabs to a PDF using Python
MIT License
6 stars 0 forks source link

Doesn't work #1

Open valentingregoire opened 6 months ago

valentingregoire commented 6 months ago

First error encountered:

❯ python main.py
Enter the complete URL or the part after /tab/: https://tabs.ultimate-guitar.com/tab/[REDACTED]
Error accessing the tab: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home

Solved by installing the chromedriver package.

Second error encountered:

❯ python main.py
Enter the complete URL or the part after /tab/: https://tabs.ultimate-guitar.com/tab/[REDACTED]
Error accessing the tab: Timeout value connect was <object object at 0x7f1e9953c4d0>, but it must be an int, float or None.

Same when only copying over the part after /tab/.

I have removed the actual tab I was trying to view as it is irrelevant to this issue I believe.

hubanton commented 6 months ago

Hm, thats strange... I've tried reproducing the issue with a couple of tabs but it always worked. I belive this might be a Selenium-related issue. I bumped the Selenium-version, so if you do the pip install -r requirements.txt again and try to download the tab it might work. If the problem persists, it would be good to know which tab specifically is causing issues, if you don't mind.