8000 --timeout has no effect · Issue #110 · leoncvlt/loconotion · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

--timeout has no effect #110

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

Closed
Final233 opened this issue Jul 20, 2022 · 2 comments
Closed

--timeout has no effect #110

Final233 opened this issue Jul 20, 2022 · 2 comments

Comments

@Final233
Copy link
Final233 commented Jul 20, 2022

--timeout has no effect
Hello, ask a question this parameter has no effect, more than 5 minutes will time out

[10:30:20]INFO Initialising parser with configuration file
[10:30:20]INFO Setting output path to 'dist/site'
[10:30:20]INFO Initialising chromedriver at /chromedriver/chromedriver
...
...
...
[10:35:29]CRITICAL Timeout waiting for page content to load, or no content found. Are you sure the page is set to public?
[10:35:29]CRITICAL TimeoutException: Message:

I carried out the order
python loconotion --timeout 30000 site.toml

docker-compose run -v "$basepath/public:/app/loconotion/dist" -v "$basepath/site.toml:/app/loconotion/site.toml" loconotion site.toml --timeout 30000

@Final233
Copy link
Author

Forgive me for being stupid, although I can't see the obvious problem, I think it is caused by a page, just add this attribute to a page
no-links = true

@asmodat
Copy link
asmodat commented Jan 7, 2023

Timeout flag is indeed ignored while the errors are not explicit enough to identify what really happens when CLI fails:

[17:54:27] INFO Initialising parser with configuration file
[17:54:27] INFO Setting output path to 'dist/notion'
...
[17:55:06] INFO Parsing page 'XXXXXX'
[17:56:07] CRITICAL Timeout waiting for page content to load, or no content found. Are you sure the page is set to public?

I can confirm page is accessible in the incognito mode of chrome, so there should be no issue sfor loconotion to parse it however it fails after just 3 minutes as you can see in my console output even tho the timeout is set to 1 hour as follows: python loconotion "./site.toml" --chromedriver /usr/bin/chromedriver --timeout 3600

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
0