-
-
Notifications
You must be signed in to change notification settings - Fork 756
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
Limit size of article #640
Comments
Which parts do you miss ? I don't speak a word of russian, but it seems I fully have it (from the Chapter One title to the « Chapter published: 04/13/2014 » end). Even though if I import it via the « add link » button inside wallabag and it tells me import has failed. |
Hm, maybe difference in a options. I had only approx 1/4 of original size. |
Try :
Else, there's not much you can do, except changing hosting provider. |
Can you run wallabag_compatibility_test.php please? Maybe tidy is not enabled. |
|Test | Should Be | What You Have| |
Without rules file, all the article is fetched by wallabag. |
what information is you need? |
All the informations stated here : https://github.com/wallabag/wallabag/blob/dev/CONTRIBUTING.md#you-found-a-bug |
@ptah-alexs : Have you seen my last message ? :) |
Sorry for long silence. Retrieve page http://www.fanfics.me/read.php?id=46429 within and without rulefile : Fatal error: Maximum execution time of 120 seconds exceeded in /var/www/wallabag/inc/3rdparty/libraries/readability/Readability.php on line 877. Another page http://www.fanfics.me/read.php?id=60257 save approx 30-40% of text either with and without rulefile. Version of wallabag 1.6.1 Test Should Be What You Have |
Can you edit your php.ini and increase the number set for the max_execution_time value until it works fully ? Also, your system seems a bit weak, even though the page is very long, my own installation (VPS with 2 vcores) takes about 1 minute to save it. What are your hardware specifications ? |
it's a strange - i had edit /etc/php5/apache2/php.ini, set max_execution_time in 240. In result i had see "Fatal error: Maximum execution time of 120 seconds exceeded in /var/www/wallabag/inc/3rdparty/libraries/readability/Readability.php on line 877", what's wrong? |
I have a seedbox with AMD Athlon(tm) II X3 425 processor and 12G of memory. |
With 1.7.0 are same things. |
Hum, my fault, it's the max_input_time value you may need to increase. Don't forget to restart/reload Apache after editing the php.ini file. ;) |
Hmm. max_execution_time = 120, max_input_time = -1, after restart apache: Fatal error: Maximum execution time of 120 seconds exceeded in /var/www/wallabag/inc/3rdparty/libraries/readability/Readability.php on line 877. It's strange. |
Have you got safe_mode enabled ? Are you sure Apache uses the right php.ini file ? Else, I see no other option than to add Sorry for not finding a solution. :( |
How do I know that safe_mode enabled? I'm sure that used right php.ini. I'll try your advice. |
With set_time_limit(0); script done successful, but save only first 50-60kb of text. |
It should be in php.ini if set. But it's rather unusual to have it. Is first 50-60kb of text better than when you started with ~1/4 of the text ? Final try : edit your Apache configuration, either directly in Apache configuration (/etc/apache2/apache2.conf) or better inside your vhost : |
|
Well, I'm sorry to say I've got no ideas left. Maybe someone will see this and have the solution, but I think you will be luckier on Stack Overflow. |
OK, thank you. |
The problem is on line 33 of ./inc/3rdparty/makefulltextfeed.php where it says "@set_time_limit(120);" Maybe tweaking the import function on Poche.class.php would be better than changing the time-out value. How about making a pool with the articles to import and using multiple threads so the time-out affects only a single item? I am a bit rusty on php... Update: I just imported, with the same 600 s setting, 1771 items from another reading list... It worked like a charm! |
The given site seems to be dead. Closing the issue for now. |
Some large pages don't import completly.
Instance http://www.fanfics.me/read.php?id=46429
rules file:
The text was updated successfully, but these errors were encountered: