https://bugzilla.wikimedia.org/show_bug.cgi?id=53698

       Web browser: ---
            Bug ID: 53698
           Summary: PageNotSaved exceptions when trying to put pages
           Product: Pywikibot
           Version: unspecified
          Hardware: PC
                OS: Windows 7
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Hi there,
I've recently migrated to Pywikipedia 2.0, and I sometimes got a PageNotSaved
exception when attempting to do save page:
* Saved the page ''pofienidors'': it doesn't exist (which is obvious as it is
to be created!).

In the traceback below, "put" method is called with some text, some summary and
minorEdit set to False. 

  File "C:\..\pywikibot\page.py", line 858, in put
    async=async, callback=callback, **kwargs)
  File "C:\..\pywikibot\page.py", line 781, in save
    **kwargs)
  File "C:\..\pywikibot\page.py", line 806, in _save
    raise pywikibot.PageNotSaved("%s: %s" %(link, err))
pywikibot.exceptions.PageNotSaved: [[poifienidors]]: Page [[mg:poifienidors]]
doesn't exist.


According to the code, callback and async are assumed to be set to None (their
default value).

Also note that these errors seem to appear randomly: on the same page, it may
work... or not.

Any explanations?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to