Last modified: 2014-07-24 09:29:28 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 T57166, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55166 - No english translation has been defined
No english translation has been defined
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
interwiki.py (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:36 UTC by Kunal Mehta (Legoktm)
Modified: 2014-07-24 09:29 UTC (History)
3 users (show)

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


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:36:29 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1536/
Reported by: jandudik
Created on: 2012-11-07 10:21:42
Subject: No english translation has been defined
Original description:
E:\Pywikipedia>interwiki.py -cleanup -neverlink:pt -lang:pt -prefixindex:Dave\_Ho

NOTE: Number of pages queued is 0, trying to add 60 more.
Getting 3 pages from wikipedia:pt...
...
======Post-processing \[\[pt:Dave Holland\]\]======
No changes needed on page \[\[cs:Dave Holland \(bubeník\)\]\]
No changes needed on page \[\[en:Dave Holland \(drummer\)\]\]
No changes needed on page \[\[pl:Dave Holland \(perkusista\)\]\]
No changes needed on page \[\[fi:Dave Holland \(rumpali\)\]\]
No changes needed on page \[\[no:Dave Holland\]\]
No changes needed on page \[\[es:Dave Holland \(batería\)\]\]
No changes needed on page \[\[fr:Dave Holland \(batteur\)\]\]
No changes needed on page \[\[de:Dave Holland \(Schlagzeuger\)\]\]
No changes needed on page \[\[it:Dave Holland \(batterista\)\]\]
No changes needed on page \[\[da:Dave Holland\]\]
No changes needed on page \[\[sv:Dave Holland \(trummis\)\]\]
No changes needed on page \[\[pt:Dave Holland\]\]
.....
======Post-processing \[\[pt:Dave Holland \(baixista\)\]\]======
No changes needed on page \[\[pt:Dave Holland \(baixista\)\]\]
No changes needed on page \[\[he:dyyb hvlnd\]\]
Dump pt \(wikipedia\) appended.
Traceback \(most recent call last\):
File "E:\Pywikipedia\interwiki.py", line 2584, in <module>
main\(\)
File "E:\Pywikipedia\interwiki.py", line 2558, in main
bot.run\(\)
File "E:\Pywikipedia\interwiki.py", line 2291, in run
self.queryStep\(\)
File "E:\Pywikipedia\interwiki.py", line 2269, in queryStep
subj.finish\(self\)
File "E:\Pywikipedia\interwiki.py", line 1718, in finish
if self.replaceLinks\(page, new, bot\):
File "E:\Pywikipedia\interwiki.py", line 1833, in replaceLinks
insite=page.site\)
File "E:\Pywikipedia\interwiki.py", line 2342, in compareLanguages
mcomment += i18n.twtranslate\(insite.lang, commentname\) % changes
File "E:\Pywikipedia\pywikibot\i18n.py", line 304, in twtranslate
raise TranslationError\("No English translation has been defined for Translat
eWiki key %r" % twtitle\)
pywikibot.i18n.TranslationError: No English translation has been defined for Tra
nslateWiki key 'interwiki-modifying-from'

E:\Pywikipedia>version.py
Pywikipedia trunk/pywikipedia/ \(r10666, 2012/11/06, 15:43:35\)
Python 2.7.2 \(default, Jun 12 2011, 15:08:59\) \[MSC v.1500 32 bit \(Intel\)\]
config-settings:
use\_api = True
use\_api\_login = True
unicode test: ok

E:\Pywikipedia>
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 04:36:32 UTC
problem is when bot wants to modify pt: link in cs.wiki. Adding is without problems, other sites are OK too.
My userinterface\_lang = 'cs'
Comment 2 Kunal Mehta (Legoktm) 2013-10-05 04:36:33 UTC
Have the same issue with userinterface\_lang = 'fr'... block my bot every 10-15 min...
Comment 3 Kunal Mehta (Legoktm) 2013-10-05 04:36:35 UTC
sorry forgive to logon. My bot is ptbotgourou.

Last error message :
Dump fr \(wikipedia\) written.
Traceback \(most recent call last\):
File "interwiki.py", line 2584, in <module>
main\(\)
File "interwiki.py", line 2558, in main
bot.run\(\)
File "interwiki.py", line 2291, in run
self.queryStep\(\)
File "interwiki.py", line 2269, in queryStep
subj.finish\(self\)
File "interwiki.py", line 1718, in finish
if self.replaceLinks\(page, new, bot\):
File "interwiki.py", line 1833, in replaceLinks
insite=page.site\)
File "interwiki.py", line 2342, in compareLanguages
mcomment += i18n.twtranslate\(insite.lang, commentname\) % changes
File "C:\Python27\pywikipedia\pywikibot\i18n.py", line 304, in twtranslate
raise TranslationError\("No English translation has been defined for Translat
eWiki key %r" % twtitle\)
pywikibot.i18n.TranslationError: No English translation has been defined for Tra
nslateWiki key 'interwiki-modifying-from'

The issue occurs with a lot of page not only the one pointed by jandudik.
Comment 4 Kunal Mehta (Legoktm) 2013-10-05 04:36:37 UTC
Are you guys sure you're running HEAD from Subversion, including externals? This issue has existed for a few hours a while back, but shouldn't exist anymore.
Comment 5 xqt 2014-01-31 15:52:23 UTC
Could someone verify whether this bug is still alive?
Comment 6 Ricordisamoa 2014-03-15 22:18:53 UTC
[[translatewiki:Pywikibot:Interwiki-modifying-from/en]] exists, so I think we can close this.

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


Navigation
Links