Last modified: 2013-12-24 18:28:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57175, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55175 - archivebot.py error
archivebot.py error
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:37 UTC by Kunal Mehta (Legoktm)
Modified: 2013-12-24 18:28 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:37:46 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1506/
Reported by: Anonymous user
Created on: 2012-08-25 11:51:13
Subject: archivebot.py error
Original description:
I'm trying to use this on sr.wikipedia, but I'm getting the same error all the time:

6 Threads found on \[\[sr:Разговор са корисником:Micki\]\]
Looking for: \{\{Korisnik:MickiBot/archive\}\} in \[\[sr:Разговор са корисником:Micki\]
\]
Error occured while processing page \[\[sr:Разговор са корисником:Micki\]\]
Traceback \(most recent call last\):
File "D:\Documents\Instalacije\pywikipedia\archivebot.py", line 601, in main
Archiver = PageArchiver\(pg, a, salt, force\)
File "D:\Documents\Instalacije\pywikipedia\archivebot.py", line 376, in \_\_init
\_\_
self.loadConfig\(\)
File "D:\Documents\Instalacije\pywikipedia\archivebot.py", line 418, in loadCo
nfig
raise MissingConfigError\(u'Missing or malformed template'\)
MissingConfigError: Missing or malformed template

Does anyone know how to resolve this?
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 04:37:47 UTC
OK. I have identified the problem. It started working after I changed the name of the template from Корисник:MickiBot/archive to MickiBot/archive. But it seems that bot doesn't recognise monthnames in Serbian. It works after this: https://sr.wikipedia.org/w/index.php?title=%D0%A0%D0%B0%D0%B7%D0%B3%D0%BE%D0%B2%D0%BE%D1%80\_%D1%81%D0%B0\_%D0%BA%D0%BE%D1%80%D0%B8%D1%81%D0%BD%D0%B8%D0%BA%D0%BE%D0%BC%3AMicki&diff=5925776&oldid=5925769
Comment 2 Merlijn van Deen (test) 2013-12-24 18:28:14 UTC
Should be fixed by Iede5165fd36b8e5747db032183094fa11177b037

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links