Support Requests item #3309476, was opened at 2011-05-31 03:11
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=3309476&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Pending
Priority: 5
Private: No
Submitted By: Ardian Wardhana (ardwar)
>Assigned to: xqt (xqt)
Summary: Bot terminates unexpectedly
Initial Comment:
Please, the checkimages.py and unusedfiles.py terminates when it try to edit a page.
========== unusedfiles.py ==========
unicode test: triggers problem #3081100
Getting 60 pages from wikipedia:id...
>>> Berkas:08AksaraRekan.JPG <<<
Berkas:08AksaraRekan.JPG
+
+ {{hapus|Berkas tidak digunakan}}
Do you want to accept these changes? ([y]es, [N]o, [a]ll) y
WARNING: Your account on wikipedia:id does not have a bot flag. Its edits will be visible in the recent changes and it may get blocked.
Updating page [[Berkas:08AksaraRekan.JPG]] via API
Traceback (most recent call last):
File "D:\Program Files\Python27\Lib\pywikipedia\unusedfiles1.py", line 122, in <module>
main()
File "D:\Program Files\Python27\Lib\pywikipedia\unusedfiles1.py", line 117, in main
msg2uploader = template_user % page.title()
TypeError: not all arguments converted during string formatting
====================
========== checkimages.py ==========
unicode test: triggers problem #3081100
Retrieving the latest 1000 files for checking...
...Loading the licenses allowed...
Loading kategori:Templat lisensi gambar...
Loading Kategori:Templat lisensi fairuse...
>> No additional settings found! <<
Tokoh T Sulung.jpg has only text and not the specific license...
Execution time: 41
Traceback (most recent call last):
File "D:\Program Files\Python27\Lib\pywikipedia\checkimages.py", line 1903, in <module>
checkbot()
File "D:\Program Files\Python27\Lib\pywikipedia\checkimages.py", line 1887, in checkbot
resultCheck = mainClass.checkStep()
File "D:\Program Files\Python27\Lib\pywikipedia\checkimages.py", line 1652, in checkStep
notification = nn % self.imageName
TypeError: not all arguments converted during string formatting
====================
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-05-31 12:15
Message:
It seems these files where modified. Maybe this causes that error. I've
fixed unusedfile.py which might not run properly for it-wiki.
Please check your nothing_notification dictionary in checkimages.py
whether it contains the string formatting placeholder %s
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=3309476&group_…
Support Requests item #3309476, was opened at 2011-05-31 08:11
Message generated for change (Tracker Item Submitted) made by ardwar
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=3309476&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Ardian Wardhana (ardwar)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bot terminates unexpectedly
Initial Comment:
Please, the checkimages.py and unusedfiles.py terminates when it try to edit a page.
========== unusedfiles.py ==========
unicode test: triggers problem #3081100
Getting 60 pages from wikipedia:id...
>>> Berkas:08AksaraRekan.JPG <<<
Berkas:08AksaraRekan.JPG
+
+ {{hapus|Berkas tidak digunakan}}
Do you want to accept these changes? ([y]es, [N]o, [a]ll) y
WARNING: Your account on wikipedia:id does not have a bot flag. Its edits will be visible in the recent changes and it may get blocked.
Updating page [[Berkas:08AksaraRekan.JPG]] via API
Traceback (most recent call last):
File "D:\Program Files\Python27\Lib\pywikipedia\unusedfiles1.py", line 122, in <module>
main()
File "D:\Program Files\Python27\Lib\pywikipedia\unusedfiles1.py", line 117, in main
msg2uploader = template_user % page.title()
TypeError: not all arguments converted during string formatting
====================
========== checkimages.py ==========
unicode test: triggers problem #3081100
Retrieving the latest 1000 files for checking...
...Loading the licenses allowed...
Loading kategori:Templat lisensi gambar...
Loading Kategori:Templat lisensi fairuse...
>> No additional settings found! <<
Tokoh T Sulung.jpg has only text and not the specific license...
Execution time: 41
Traceback (most recent call last):
File "D:\Program Files\Python27\Lib\pywikipedia\checkimages.py", line 1903, in <module>
checkbot()
File "D:\Program Files\Python27\Lib\pywikipedia\checkimages.py", line 1887, in checkbot
resultCheck = mainClass.checkStep()
File "D:\Program Files\Python27\Lib\pywikipedia\checkimages.py", line 1652, in checkStep
notification = nn % self.imageName
TypeError: not all arguments converted during string formatting
====================
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=3309476&group_…
Bugs item #3309460, was opened at 2011-05-31 00:32
Message generated for change (Tracker Item Submitted) made by nettrom
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3309460&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: rewrite
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Morten Wang (nettrom)
Assigned to: Russell Blau (russblau)
Summary: page.editTime() fails when using site.allpages()
Initial Comment:
Iterating over site.allpages() (in my case with namespace=0 and filterredir=False) causes a call to page.editTime() to fail with a KeyError. Closer inspection shows that _revid is set for pages in the generator, but _revisions is an empty dictionary. So latestRevision() returns _revid with no corresponding revision in _revisions, and the KeyError is thrown.
I'm running the rewrite branch, revision 9274, on Python 2.7 on Linux.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3309460&group_…
Bugs item #3172107, was opened at 2011-02-03 23:09
Message generated for change (Comment added) made by sf-robot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3172107&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: category
Group: None
>Status: Closed
Resolution: Rejected
Priority: 5
Private: No
Submitted By: Hercule (herculefr)
Assigned to: xqt (xqt)
Summary: delete summary for category.py
Initial Comment:
Hello, when I lauch
category.py move
the deletion summary is the same that the edit summary ("Robot : modifie OLDCATNAME"). When we encounter this message it's impossible to know the new name of the category.
The edit summary should be the one defined deletion_reason_move
python version.py output:
Pywikipedia [http] trunk/pywikipedia (r8910, 2011/02/03, 13:05:23)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
>Comment By: SourceForge Robot (sf-robot)
Date: 2011-05-29 17:20
Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-05-15 17:15
Message:
done in
http://translatewiki.net/wiki/Pywikipedia:Category-changing/fr?diff=prev&ol…
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-05-15 17:05
Message:
use translatewiki.net for new translation of 'category-changing'. You can
use a second variable %(newcat)s for doing this.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3172107&group_…
Bugs item #3126855, was opened at 2010-12-03 18:46
Message generated for change (Comment added) made by sf-robot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3126855&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: other
Group: None
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: xqt (xqt)
Summary: Enhance djvutext.py
Initial Comment:
Please, after
text = text.replace('', "\n")
add others replacements to remove the "\x1d" (group separator), "\x0b" (vertical tabulation) and "\x0c" (form feed) characters (with usually appears in djvu files). This will clear a little the final output.
Pywikipedia [http] trunk/pywikipedia (r8180, 2010/05/15, 13:14:44)
Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
----------------------------------------------------------------------
>Comment By: SourceForge Robot (sf-robot)
Date: 2011-05-29 16:20
Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-05-15 15:43
Message:
done in r 9246. Don't know what to do with "\x0b" (vertical tabulation).
Normally this should be replaced with white spaces but this does not have
any effect.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3126855&group_…
Patches item #3308959, was opened at 2011-05-29 13:02
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3308959&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Resolution: Accepted
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: xqt (xqt)
Summary: wowwiki_family.py update
Initial Comment:
Update/fix on a few namespaces and MW version
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-05-29 13:13
Message:
done in r9281
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3308959&group_…
Patches item #3308959, was opened at 2011-05-29 13:02
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3308959&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: xqt (xqt)
Summary: wowwiki_family.py update
Initial Comment:
Update/fix on a few namespaces and MW version
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-05-29 13:13
Message:
done in r9281
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3308959&group_…
Patches item #3308959, was opened at 2011-05-29 11:02
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3308959&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: wowwiki_family.py update
Initial Comment:
Update/fix on a few namespaces and MW version
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3308959&group_…
Bugs item #3305475, was opened at 2011-05-21 11:09
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3305475&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Resolution: Rejected
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: xqt (xqt)
Summary: category.py: raise "ImportError: No module named i18n" error
Initial Comment:
root@/var/www/pywikipedia> python category.py move -from:"foo" -to:"bar"
Traceback (most recent call last):
File "category.py", line 949, in ?
main()
File "category.py", line 919, in main
bot.run()
File "category.py", line 395, in run
self.editSummary = i18n.twtranslate(site, 'category-changing') \
File "/var/www/pywikipedia/pywikibot/i18n.py", line 226, in twtranslate
transdict = getattr(__import__("i18n", {}, {}, [package]), package).msg
ImportError: No module named i18n
root@/var/www/pywikipedia> python version.py
Pywikipedia (r9212 (wikipedia.py), 2011/05/04, 03:59:16)
Python 2.4.3 (#1, May 24 2008, 13:47:28)
[GCC 4.1.2 20070626 (Red Hat 4.1.2-14)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
My user-config.py file is:
family = 'WBDWiki'
mylang = 'pl'
usernames['WBDWiki']['pl'] = u'WikiBot'
console_encoding = 'utf-8'
where 'pl' = Polish (Poland)
MediaWiki 1.16.1, PHP 5.2.10, MySQL 5.0.45, Python 2.4.3
Any ideas?
Thank in advance for your help.
Regards,
--
Danny
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-05-22 13:06
Message:
Your version is from trunk but neither from svn nor from nightly dump.
Version release of wikipedia seems ok as well as i18n.py in your pywikibot
directory; that version r9227 has been fixed for py2.4 support. Please
check whether the /var/www/pywikipedia/i18n directory exists. I guess it
doesnt. Please copy it from rewrite branch since it is marked as external
and not included into nightly dump (yet).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3305475&group_…
Bugs item #3305243, was opened at 2011-05-20 19:03
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3305243&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 7
Private: No
Submitted By: GanZ (ganz-ru)
>Assigned to: xqt (xqt)
Summary: Bad interwiki order
Initial Comment:
<a href="http://en.wikipedia.org/w/index.php?diff=429995961">Here</a> bot changed position of "ro" and moved it up. Probably, it is the result of changings in revision 9264, where preffix "mo" becomes the synonym of "ro".
Version.py:
Pywikipedia [http] trunk/pywikipedia (r9264, 2011/05/18, 03:47:16)
Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-05-29 11:05
Message:
r4823 reverted in r9275
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen)
Date: 2011-05-29 10:21
Message:
Is anybody working on this bug? Some wiki communities are very sensitive
about little issues like this and may end up blocking our bots.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-05-22 12:32
Message:
I do not believe it. Merlissimo has his own (I guess Java-based) framework.
I tend to revert r4823 but I don't know about other side effects related to
that and the initial cause of that release.
----------------------------------------------------------------------
Comment By: Binris (binbot)
Date: 2011-05-22 12:09
Message:
Is this the same bug?
http://de.wikipedia.org/wiki/Benutzer_Diskussion:Merlissimo#Bot_malfunction
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-05-22 11:47
Message:
This bug was introduced in r4823, see
http://www.mediawiki.org/wiki/Special:Code/pywikipedia/4823#code-comments
----------------------------------------------------------------------
Comment By: GanZ (ganz-ru)
Date: 2011-05-20 19:09
Message:
Html tags don't work?
Example in message:
http://en.wikipedia.org/w/index.php?diff=429995961
The same situation:
http://en.wikipedia.org/w/index.php?diff=430058835http://en.wikipedia.org/w/index.php?diff=430057176
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3305243&group_…