Last modified: 2014-07-04 04:24:54 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 T69489, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67489 - editpage() got an unexpected keyword argument 'minorEdit'
editpage() got an unexpected keyword argument 'minorEdit'
Status: RESOLVED INVALID
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
core-(2.0)
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-03 20:12 UTC by Merlijn van Deen (test)
Modified: 2014-07-04 04:24 UTC (History)
2 users (show)

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


Attachments

Description Merlijn van Deen (test) 2014-07-03 20:12:53 UTC
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)
Comment 1 xqt 2014-07-04 04:24:54 UTC
already fixed with https://gerrit.wikimedia.org/r/#/c/140737/

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


Navigation
Links