Rubin16 added a comment.
I updated the bot to the latest revision (but not changed anything in reflinks.py in your post about badtoken recovery), the crash reports are the following.
Not it seems that it doesn't save not only because of API problems, but something more happens.
No changes were needed on [[Ziggy Stardust]] No changes were needed on [[Zhuzhou Electric Locomotive]] No changes were needed on [[Zimmer (avtomobil'naya marka)]] *** Traceback (most recent call last): File "core/pwb.py", line 227, in <module> run_python_file(filename, argv, argvu, file_package) File "core/pwb.py", line 85, in run_python_file main_mod.__dict__) File "core/scripts/reflinks.py", line 846, in <module> main() File "core/scripts/reflinks.py", line 843, in main bot.run() File "core/scripts/reflinks.py", line 647, in run linkedpagetext = self.NON_HTML.sub('', linkedpagetext) UnicodeDecodeError: 'ascii' codec can't decode byte 0xb4 in position 17717: ordinal not in range(128) Found 1 wikipedia:mk processes running, including this one. Dropped throttle(s). CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort All threads finished. === Pywikibot framework v2.0 -- Logging header === COMMAND: ['reflinks.py', '-start:Z', '-always', '-ignorepdf', '-debug', '-log:refs.txt', '-v', '-v'] DATE: 2015-04-18 15:53:55.071461 UTC VERSION: [https] r-pywikibot-core.git (c6ad0b3, g5374, 2015/04/17, 22:16:31, n/a) SYSTEM: ('Linux', 'tools-exec-10', '3.2.0-59-virtual', '#90-Ubuntu SMP Tue Jan 7 23:02:33 UTC 2014', 'x86_64') CONFIG FILE DIR: /data/project/rubinbot2/core PACKAGES: _elementtree (/usr/lib/python2.7/lib-dynload/_elementtree.so) = 1.0.6 distutils (/usr/lib/python2.7/distutils/) = 2.7.3 email (/usr/lib/python2.7/email/) = 4.0.3 json (/usr/lib/python2.7/json/) = 2.0.9 logging (/usr/lib/python2.7/logging/) = 0.5.1.2 mwparserfromhell (/usr/lib/python2.7/dist-packages/mwparserfromhell/) = 0.3.3 pickle (/usr/lib/python2.7/pickle.pyc) = $Revision: 72223 $ pyexpat (/usr/lib/python2.7/lib-dynload/pyexpat.so) = 2.7.3 pywikibot ([path unknown]) = ?? re (/usr/lib/python2.7/re.pyc) = 2.2.1 urllib (/usr/lib/python2.7/urllib.pyc) = 1.17 urllib2 (/usr/lib/python2.7/urllib2.pyc) = 2.7 MODULES: /data/project/rubinbot2/core/pywikibot/comms/http.py 54549f1 2015-04-18 15:48:23.664873 /data/project/rubinbot2/core/pywikibot/data/api.py 41d6c82 2015-04-18 15:48:23.744875 /data/project/rubinbot2/core/pywikibot/userinterfaces/__init__.py 43eceeb 2015-04-18 15:48:24.104884 /data/project/rubinbot2/core/pywikibot/textlib.py 410c100 2015-04-18 15:48:24.068883 /data/project/rubinbot2/core/pywikibot/i18n.py 2fff519 2015-04-18 15:48:23.964880 /data/project/rubinbot2/core/pywikibot/comms/threadedhttp.py a388c0f 2015-04-18 15:48:23.684874 /data/project/rubinbot2/core/pywikibot/date.py 976edef 2015-04-18 15:48:23.768876 /data/project/rubinbot2/core/pywikibot/data/__init__.py 44183c7 2015-04-18 15:48:23.732875 /data/project/rubinbot2/core/pywikibot/exceptions.py 117165a 2015-04-18 15:48:23.788876 /data/project/rubinbot2/core/pywikibot/site.py 5848169 2015-04-18 15:48:24.056883 /data/project/rubinbot2/core/pywikibot/bot.py 446e8e1 2015-04-18 15:48:23.648873 /data/project/rubinbot2/core/pywikibot/__init__.py db96621 2015-04-18 15:48:23.628872 /data/project/rubinbot2/core/pywikibot/throttle.py 4157254 2015-04-18 15:48:24.080883 /data/project/rubinbot2/core/pywikibot/page.py a2eb04c 2015-04-18 15:48:24.016882 /data/project/rubinbot2/core/pywikibot/family.py f0d0d8f 2015-04-18 15:48:23.948880 /data/project/rubinbot2/core/pywikibot/xmlreader.py 2b77234 2015-04-18 15:48:24.192886 /data/project/rubinbot2/core/pywikibot/plural.py c9edb6b 2015-04-18 15:48:24.032882 /data/project/rubinbot2/core/scripts/noreferences.py 3fa562a 2015-04-18 15:48:24.648897 /data/project/rubinbot2/core/pywikibot/version.py 85f37a9 2015-04-18 15:48:24.184886 /data/project/rubinbot2/core/pywikibot/userinterfaces/terminal_interface.py 9a5fbf1 2015-04-18 15:48:24.124884 /data/project/rubinbot2/core/pywikibot/config2.py 971b19d 2015-04-18 15:48:23.728874 /data/project/rubinbot2/core/pywikibot/tools/ip.py 808c0cc 2015-04-18 15:48:24.100884 /data/project/rubinbot2/core/pywikibot/userinterfaces/terminal_interface_base.py 968a14b 2015-04-18 15:48:24.136885 /data/project/rubinbot2/core/pywikibot/pagegenerators.py e07bf44 2015-04-18 15:48:24.028882 /data/project/rubinbot2/core/pywikibot/userinterfaces/terminal_interface_unix.py 60d8cb2 2015-04-18 15:48:24.140885 /data/project/rubinbot2/core/pywikibot/tools/__init__.py 22d6c4d 2015-04-18 15:48:24.096884 /data/project/rubinbot2/core/pywikibot/diff.py 6e0e38b 2015-04-18 15:48:23.772876 /data/project/rubinbot2/core/pywikibot/login.py c0cc049 2015-04-18 15:48:23.992881 /data/project/rubinbot2/core/pywikibot/comms/__init__.py 747d0a7 2015-04-18 15:48:23.660873 /data/project/rubinbot2/core/pywikibot/userinterfaces/transliteration.py efd4103 2015-04-18 15:48:24.160885 === === === === === === === === === === === === === === Pywikibot rdb9662181f969ff16548641a4fb937164b4647bb Python 2.7.3 (default, Feb 27 2014, 19:58:35) [GCC 4.6.3] LOADING SITE wikipedia:ru VERSION: 1.26wmf1 LOADING SITE wikipedia:ru VERSION: 1.26wmf1 Found 1 wikipedia:ru processes running, including this one.
After that the bot restarts, and crashes again and again with the same message.
TASK DETAIL https://phabricator.wikimedia.org/T94688
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Rubin16 Cc: Ricordisamoa, jayvdb, XZise, Aklapper, Rubin16, pywikipedia-bugs