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

--- Comment #2 from John Mark Vandenberg <[email protected]> ---
It also fails if no arguments are given at all

$ python pwb.py imagetransfer -family:wikipedia -lang:en 
Traceback (most recent call last):
  File "pwb.py", line 157, 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/imagetransfer.py", line 356, in <module>
    main()
  File "scripts/imagetransfer.py", line 353, in main
    bot.run()
  File "scripts/imagetransfer.py", line 273, in run
    {'title': page.title(), 'ns': pywikibot.Site().image_namespace()})
  File ".../pywikibot/data/api.py", line 883, in result
    p = PageGenerator.result(self, pagedata)
  File ".../pywikibot/data/api.py", line 867, in result
    update_page(p, pagedata)
  File ".../pywikibot/data/api.py", line 1023, in update_page
    "Page %s has neither 'pageid' nor 'missing' attribute" % pagedict['title'])
AssertionError: Page  has neither 'pageid' nor 'missing' attribute
<type 'exceptions.AssertionError'>

-- 
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