Dvorapa added a comment.

$ python pwb.py version
Pywikibot: [https] r-pywikibot-core.git (6866469, g9129, 2018/03/01, 09:07:44, ok)
Release version: 3.0-dev
requests version: 2.18.4
  cacerts: /etc/ssl/certs/ca-certificates.crt
    certificate test: ok
Python: 3.6.4 (default, Jan  5 2018, 02:35:40) 
[GCC 7.2.1 20171224]
PYWIKIBOT2_DIR: Not set
PYWIKIBOT2_DIR_PWB: 
PYWIKIBOT2_NO_USER_CONFIG: Not set
Config base dir: /home/pavel/pywikibot
Usernames for family "wikipedia":
	cs: DvorapaBot (no sysop configured)

Script output (look for ### prefixed comments)

$ python pwb.py weblinkchecker -repeat
Retrieving 240 pages from wikipedia:cs.


>>> 'Ndrangheta <<<



### script works as expected usually until [[.lb]], [[.lt]] or [[.lu]]:



>>> .lt <<<
STDOUT:pywiki:

>>> {lightpurple}.lt{default} <<<
WARNING: Http response status 403
VERBOSE:pywiki:Working on '.lu'


>>> .lu <<<
WARNING:pywiki:Http response status 403
*[[.lt]] links to http://www.domreg.lt/en/index.html - 403.
STDOUT:pywiki:

>>> {lightpurple}.lu{default} <<<
INFO:pywiki:*[[.lt]] links to http://www.domreg.lt/en/index.html - 403.



### here it hangs/stops/freezes. I left it for 20 minutes, it does not continue
### Let's try Ctrl + C:



^C
KeyboardInterrupt during WeblinkCheckerRobot bot run...
INFO:pywiki:
KeyboardInterrupt during WeblinkCheckerRobot bot run...

55 pages read
0 pages written
INFO:pywiki:
55 pages read
0 pages written
Execution time: 532 seconds
INFO:pywiki:Execution time: 532 seconds
Read operation time: 9 seconds
INFO:pywiki:Read operation time: 9 seconds
Script terminated successfully.
INFO:pywiki:Script terminated successfully.
Waiting for remaining 49 threads to finish, please wait...
INFO:pywiki:Waiting for remaining 49 threads to finish, please wait...
Waiting for remaining 49 threads to finish, please wait...
INFO:pywiki:Waiting for remaining 49 threads to finish, please wait...
Waiting for remaining 49 threads to finish, please wait...
INFO:pywiki:Waiting for remaining 49 threads to finish, please wait...



### 30 x the same...



Waiting for remaining 49 threads to finish, please wait...
INFO:pywiki:Waiting for remaining 49 threads to finish, please wait...
Waiting for remaining 49 threads to finish, please wait...
INFO:pywiki:Waiting for remaining 49 threads to finish, please wait...
Waiting for remaining 49 threads to finish, please wait...
INFO:pywiki:Waiting for remaining 49 threads to finish, please wait...
Remaining 49 threads will be killed.
INFO:pywiki:Remaining 49 threads will be killed.
Saving history...
INFO:pywiki:Saving history...
VERBOSE:pywiki:Dropped throttle(s).
VERBOSE:pywiki:Closing network session.
VERBOSE:pywiki:Network session closed.
$ 

TASK DETAIL
https://phabricator.wikimedia.org/T185561

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dvorapa
Cc: Xqt, Zoranzoki21, zhuyifei1999, Aklapper, pywikibot-bugs-list, Dvorapa, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to