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

Script crashes before menu loads #478

Open
danfiscus opened this issue Dec 6, 2024 · 6 comments
Open

Script crashes before menu loads #478

danfiscus opened this issue Dec 6, 2024 · 6 comments

Comments

@danfiscus
Copy link

ofscraper_main_profile_2024-12-05.log

Describe the bug

I must be missing something here, but when I try to run the script, it doesn't present me a menu, it just crashes after showing the ascii art title. (See screenshot)

To Reproduce

I installed the script through pip as described in the documentation.

Expected behavior

I expected a menu of some kind to appear and present me with options.

Screenshots/Logs

image

Config

Haven't touched the config file at all, should be whatever is generated/default. I did anonymize my local username in the uploaded config file below.
config.json

System Info

  • OS: Windows 10 Pro
  • Browser: Vivaldi (Chromium-based)
  • Version: Browser version 7.0.3495.15 (Stable channel) (64-bit) Script version latest (3.12.9)
  • python
  • installed via pip, 3.11.2

Additional context

Not sure what else to add but happy to answer questions.

@cjb900
Copy link

cjb900 commented Dec 6, 2024

This is a known issue. You need to make sure you have aiolimiter version 1.1.0 or lower

@danfiscus
Copy link
Author

@cjb900 Thanks for clarifying, I did not see any mention of that in the documentation...

I've run pip install --force-reinstall -v "aiolimiter==1.1.0" and got a success message. When I re-run the ofscraper command, I'm having the same issue. What's the next step to debug this?

@cjb900
Copy link

cjb900 commented Dec 6, 2024

I've only seen others recently having this issue with a version of aiolimiter higher than 1.1.0. So if you can confirm you have that version installed and you are indeed using the pip version of ofscraper, then something else in your install and or setup is causing that issue.

You could try updating your version of Python to something like 3.11.6 (but not the latest 3.13 as it's known not to work) and see if that helps. If not then you would have to look through the logs to see what else may be causing your issue.

@danfiscus
Copy link
Author

@cjb900 Okay, I also force reinstalled ofscraper through pip and the program seems to be running now. Must've been some combination of the aiolimiter version and a pip bug. I didn't see any open issues referencing aiolimiter so I'm assuming it's best to leave this open until the bug is resolved. I also just discovered a bug with the vivaldi auth fetch but I'm tired of debugging this so I'll let someone else open that issue.

@cjb900
Copy link

cjb900 commented Dec 6, 2024

You are the first to mention any issues with using Vivaldi. So it is either something new no one else has encountered yet or something specific to your setup but ¯_(ツ)_/¯

@cjb900
Copy link

cjb900 commented Dec 6, 2024

@danfiscus I just tested the latest version of Vivaldi and had no issues with fetching my auth information, adding it to ofscraper, and scraping content. So what ever issue you were encountering with Vivaldi I can't replicate.

Vivaldi | 7.0.3495.23 (Stable channel) (64-bit)
Revision | 72d89227db29f524d89b1af38163f46e4ed7746e
OS | Windows 11 Version 23H2 (Build 22631.4541)
JavaScript | V8 13.0.245.20
User Agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Command Line | "C:\Users\cjb900\AppData\Local\Vivaldi\Application\vivaldi.exe" --flag-switches-begin --flag-switches-end --save-page-as-mhtml
Executable Path | C:\Users\cjb900\AppData\Local\Vivaldi\Application\vivaldi.exe
Profile Path | C:\Users\cjb900\AppData\Local\Vivaldi\User Data\Default

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

2 participants