Last modified: 2014-01-13 12:47:33 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 T61949, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59949 - category.py throws NotImplementedError: History printing is not yet enabled.
category.py throws NotImplementedError: History printing is not yet enabled.
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
category.py (Other open bugs)
core-(2.0)
All All
: Unprioritized major
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-11 16:21 UTC by Maarten Dammers
Modified: 2014-01-13 12:47 UTC (History)
2 users (show)

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


Attachments

Description Maarten Dammers 2014-01-11 16:21:56 UTC
When I try to do a category move "pwb.py category.py -lang:nl move -from:Bremen -to:Vrije_Hanzestad_Bremen"

The bot crashes:

Traceback (most recent call last):
  File "C:\pywikibot\core\pwb.py", line 135, in <module>
    run_python_file(fn, argv, argvu)
  File "C:\pywikibot\core\pwb.py", line 67, in run_python_file
    exec(compile(source, filename, "exec"), main_mod.__dict__)
  File "C:\pywikibot\core\scripts\category.py", line 1019, in <module>
    main()
  File "C:\pywikibot\core\scripts\category.py", line 989, in main
    bot.run()
  File "C:\pywikibot\core\scripts\category.py", line 411, in run
    raise NotImplementedError("History printing is not yet enabled.")
NotImplementedError: History printing is not yet enabled.

Looks like the error got introduced in http://git.wikimedia.org/blobdiff/pywikibot%2Fcore.git/d08e3c1ab38f7b925f92ecbf2675fe5bd0a1ff5e/scripts%2Fcategory.py and it got approved in https://gerrit.wikimedia.org/r/#/c/104813/

A new option that hasn't been implemented yet shouldn't be enabled by default.
Comment 1 Gerrit Notification Bot 2014-01-11 16:37:34 UTC
Change 106899 had a related patch set uploaded by Merlijn van Deen:
(bug 59949) CategoryMoveRobot: do not move history by default

https://gerrit.wikimedia.org/r/106899
Comment 2 Gerrit Notification Bot 2014-01-13 12:45:26 UTC
Change 106899 merged by jenkins-bot:
(bug 59949) CategoryMoveRobot: do not move history by default

https://gerrit.wikimedia.org/r/106899

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


Navigation
Links