[Pywikipedia-l] [ pywikipediabot-Bugs-1978787 ] diskcache.py sometimes requests missing attribute 'SEEK_CUR'

SourceForge.net noreply at sourceforge.net
Fri May 30 04:43:44 UTC 2008


Bugs item #1978787, was opened at 2008-05-30 06:43
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1978787&group_id=93107

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: interwiki
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Melancholie (melancholie)
Assigned to: Nobody/Anonymous (nobody)
Summary: diskcache.py sometimes requests missing attribute 'SEEK_CUR'

Initial Comment:
At least using PCLinuxOS and SuSE; Python 2.5.2:

Updating links on page [[tr:Kuban Irmağı]].
Changes to be made:  Ekleniyor: [[eo:Kuban]]
+ [[eo:Kuban]]

NOTE: Updating live wiki...
Changing page [[tr:Kuban Irmağı]]
Dump eo (wikipedia) saved
Traceback (most recent call last):
  File "interwiki.py", line 1717, in ?
    bot.run()
  File "interwiki.py", line 1468, in run
    self.queryStep()
  File "interwiki.py", line 1447, in queryStep
    subj.finish(self)
  File "interwiki.py", line 1035, in finish
    if self.replaceLinks(page, new, bot):
  File "interwiki.py", line 1186, in replaceLinks
    status, reason, data = page.put(newtext, comment = wikipedia.translate(page.site().lang, msg)[0] + mods)
  File "/wikipedia.py", line 1270, in put
    newPage, self.site().getToken(sysop = sysop), sysop = sysop)
  File "/wikipedia.py", line 1370, in _putPage
    if self.site().has_mediawiki_message("spamprotectiontitle")\
  File "/wikipedia.py", line 4528, in has_mediawiki_message
    v = self.mediawiki_message(key)
  File "/wikipedia.py", line 4520, in mediawiki_message
    if self._mediawiki_messages[key] is None:
  File "/diskcache.py", line 99, in __getitem__
    self.cache_file.seek(length, os.SEEK_CUR)
AttributeError: 'module' object has no attribute 'SEEK_CUR'

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1978787&group_id=93107



More information about the Pywikipedia-l mailing list