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

            Bug ID: 67489
           Summary: editpage() got an unexpected keyword argument
                    'minorEdit'
           Product: Pywikibot
           Version: core (2.0)
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
       Web browser: ---
   Mobile Platform: ---

After directing the user in https://bugzilla.wikimedia.org/67488 to checkout an
older revision (1cb5dad, as compared to 1af38dc840 current), the following
exception occurred:

Logging in to mywiki:ar as UserBot
Traceback (most recent call last):
  File "pwb.py", line 143, in <module>
    run_python_file(fn, argv, argvu)
  File "pwb.py", line 67, in run_python_file
    exec(compile(source, filename, "exec"), main_mod.__dict__)
  File "scripts/pagefromfile.py", line 357, in <module>
    main()
  File "scripts/pagefromfile.py", line 354, in main
    bot.run()
  File "scripts/pagefromfile.py", line 164, in run
    self.save(title, contents)
  File "scripts/pagefromfile.py", line 224, in save
    page.save(comment, minorEdit=self.getOption('minor'))
  File "/Users/user/shell/core/pywikibot/page.py", line 883, in save
    **kwargs)
  File "/Users/user/shell/core/pywikibot/page.py", line 893, in _save
    watch=watchval, bot=botflag, **kwargs)
  File "/Users/user/shell/core/pywikibot/site.py", line 551, in callee
    return fn(self, *args, **kwargs)
TypeError: editpage() got an unexpected keyword argument 'minorEdit'
<type 'exceptions.TypeError'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort


Checking out an even older version (af2ec1) solved the issue, so it was
introduced somewhere inbetween (and maybe has been solved by now)

-- 
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Pywikipedia-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-bugs

Reply via email to