User talk:Xqt

#8661
Hi, Xqt. Please take a look at my comment on Special:Code/pywikipedia/8661. Best regards, Malafaya 12:09, 24 October 2010 (UTC)
 * Done by Multichil. Thanks, Malafaya 12:19, 24 October 2010 (UTC)

archivebot.py — Does it works for "es"-projects?
Hello Xqt. May I know if the archivebot.py script works for Spanish-language projects? In the past it didn't due to timestamp-related things IIRC. If it isn't yet supported, I can pass you the required changes if needed so you can push them to the pywiki scripts (if you like, of course). Thank you, --Marco Aurelio (talk &bull; meta) 19:58, 8 May 2012 (UTC)
 * I've never tried it. If you have a patch for currently used timestamps, that would be great. Xqt (talk) 05:34, 9 May 2012 (UTC)
 * I did tested it yesterday and it gives me an error message telling me that the spanish language is not currently supported. I can submit the required changes but I need to know which needs to be translated or addapted. Regards. --Marco Aurelio (talk &bull; meta) 14:07, 9 May 2012 (UTC)
 * Could you give us the error messages and traceback at sourceforge. I cannot follow. Xqt (talk) 16:50, 9 May 2012 (UTC)

Bug
Your edit -- http://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikipedia/category_redirect.py?r1=9692&r2=10485 seems making it not working when I edit Wikimedia Commons. --Zhuyifei1999 (talk) 11:38, 31 May 2013 (UTC)
 * Sorry, this is an inapropriate bug report. Please give us more information about this issue, e.g. the traceback, your command line and the output of version.py. Btw you may use our bug tracker at sourceforge to report these details. Xqt (talk) 05:05, 1 June 2013 (UTC)

yifei@ubuntu:~/pywikipedia$ python category_redirect.py No handlers could be found for logger "pywiki" WARNING: Your account on commons:commons does not have a bot flag. Its edits will be visible in the recent changes and it may get blocked. Getting 2 pages from commons:commons... Done checking hard-redirect category pages. Traceback (most recent call last): File "category_redirect.py", line 579, in    main File "category_redirect.py", line 574, in main bot.run File "category_redirect.py", line 409, in run prop='info|categoryinfo'): File "category_redirect.py", line 266, in query_results    querydata.update(result['query-continue'][query_type]) NameError: global name 'query_type' is not defined yifei@ubuntu:~/pywikipedia$ python version.py Pywikipedia [http] trunk/pywikipedia (r11514, 2013/05/09, 16:42:02, OUTDATED) Python 2.7.3 (default, Aug  1 2012, 05:16:07) [GCC 4.6.3] config-settings: use_api = True use_api_login = True unicode test: ok --Zhuyifei1999 (talk) 06:09, 1 June 2013 (UTC)
 * ok, thanks for that hint. Xqt (talk) 14:06, 1 June 2013 (UTC)
 * BTW, I moved my bot to labs, and updated, there's still the error.

zhuyifei1999@tools-login:~/pywikipedia$ python category_redirect.py No handlers could be found for logger "pywiki" WARNING: Your account on commons:commons does not have a bot flag. Its edits will be visible in the recent changes and it may get blocked. Getting 3 pages from commons:commons... WARNING: Missing namespace in family file commons: namespace['commons'][1198] (it is set to 'Translations') WARNING: Missing namespace in family file commons: namespace['commons'][1199] (it is set to 'Translations talk') Retrieving watchlist for commons:commons via API. Updating page via API Done checking hard-redirect category pages. Traceback (most recent call last): File "category_redirect.py", line 579, in    main File "category_redirect.py", line 574, in main bot.run File "category_redirect.py", line 409, in run prop='info|categoryinfo'): File "category_redirect.py", line 266, in query_results    querydata.update(result['query-continue'][query_type]) NameError: global name 'query_type' is not defined zhuyifei1999@tools-login:~/pywikipedia$ python version.py Pywikipedia [http] trunk/pywikipedia (r11602, 2013/06/01, 11:23:55, OUTDATED) Python 2.7.3 (default, Aug  1 2012, 05:14:39) [GCC 4.6.3] config-settings: use_api = True use_api_login = True unicode test: ok --Zhuyifei1999 (talk) 00:44, 2 June 2013 (UTC)
 * 10485reverted in 11610. Xqt (talk) 09:19, 2 June 2013 (UTC)
 * Thanks. --Zhuyifei1999 (talk) 09:53, 2 June 2013 (UTC)

Another bug
This keeps on coming out when I edit commons on too labs: zhuyifei1999@tools-login:~$ python ~/pywikipedia/touch.py -catr:Pages_with_broken_file_links && python ~/pywikipedia/touch.py -subcatsr:Pages_with_broken_file_links && python ~/pywikipedia/touch.py -subcats:Pages_with_broken_file_links No handlers could be found for logger "pywiki" Getting list... Getting list... Getting 60 pages from commons:commons... NOTE: You have new messages on commons:commons WARNING: Your account on commons:commons does not have a bot flag. Its edits will be visible in the recent changes and it may get blocked. Updating page Bots/Requests/DrTrigonBot via API Page Bots/Requests/DrTrigonBot is locked. Sleeping for 19.7 seconds, 2013-06-12 04:10:13 Updating page Help talk:Contents/Archive 1 via API Sleeping for 18.6 seconds, 2013-06-12 04:10:34 Updating page MediaWiki:Gadget-Stockphoto.js via API Page MediaWiki:Gadget-Stockphoto.js is locked. Sleeping for 18.5 seconds, 2013-06-12 04:10:54 Updating page Category talk:Icons for motorway descriptions/generic via API HTTPError: 504 Gateway Time-out WARNING: Could not open 'http://commons.wikimedia.org/w/api.php'. Maybe the server is down. Retrying in 1 minutes... zhuyifei1999@tools-login:~$ python ~/pywikipedia/version.py Pywikipedia [http] trunk/pywikipedia (r11641, 2013/06/11, 13:14:57, ok) Python 2.7.3 (default, Aug 1 2012, 05:14:39) [GCC 4.6.3] config-settings: use_api = True use_api_login = True unicode test: ok This time I don't know what's wrong. The server is not down since I can still access commons. --Zhuyifei1999 (talk) 04:17, 12 June 2013 (UTC)