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

       Web browser: ---
            Bug ID: 59949
           Summary: category.py throws NotImplementedError: History
                    printing is not yet enabled.
           Product: Pywikibot
           Version: core (2.0)
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: category.py
          Assignee: pywikipedia-b...@lists.wikimedia.org
          Reporter: maar...@mdammers.nl
                CC: pyfi...@googlemail.com
    Classification: Unclassified
   Mobile Platform: ---

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.

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

Reply via email to