Last modified: 2014-10-31 22:49:27 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 T74786, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72786 - -start crashes the script
-start crashes the script
Status: UNCONFIRMED
Product: Pywikibot
Classification: Unclassified
pagegenerators (Other open bugs)
compat-(1.0)
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-30 21:00 UTC by masti
Modified: 2014-10-31 22:49 UTC (History)
1 user (show)

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


Attachments

Description masti 2014-10-30 21:00:44 UTC
running a script with -start:something parameter crashes in wikipedia.py

example running on pl.wiktionary
 python interwiki.py -wiktionary -top -auto -start:"megfagy"
NOTE: Number of pages queued is 0, trying to add 50 more.
Dump pl (wiktionary) appended.
Traceback (most recent call last):
  File "interwiki.py", line 2665
, in <module>
    main()
  File "interwiki.py", line 2639, in main
    bot.run()
  File "interwiki.py", line 2358, in run
    self.queryStep()
  File "interwiki.py", line 2331, in queryStep
    self.oneQuery()
  File "interwiki.py", line 2299, in oneQuery
    site = self.selectQuerySite()
  File "interwiki.py", line 2270, in selectQuerySite
    self.generateMore(globalvar.maxquerysize - mycount)
  File "interwiki.py", line 2178, in generateMore
    page = self.pageGenerator.next()
  File "/usr/home/masti/pw/cwikt/pagegenerators.py", line 1022, in DuplicateFilterPageGenerator
    for page in generator:
  File "/usr/home/masti/pw/cwikt/pagegenerators.py", line 549, in AllpagesPageGenerator
    includeredirects=includeredirects):
  File "/usr/home/masti/pw/cwikt/wikipedia.py", line 8579, in allpages
    warning = data['warnings']['allpages']['*']

python version.py
Pywikibot: [https] r-pywikibot-compat.git (fc4a881, g11087, 2014/10/30, 17:01:42, ok)
Release version: 1.0b1
Python: 2.7.5 (default, Jul  7 2013, 01:26:18) 
[GCC 4.3.4]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
Comment 1 masti 2014-10-30 21:04:21 UTC
same as 72667
Comment 2 masti 2014-10-30 22:00:32 UTC
as per this diff
https://pl.wikipedia.org/w/index.php?title=Wikipedysta%3AMastiBot%2Fpomi%C4%99dzy&diff=40833065&oldid=40818609

the bot was running properly using -start:! until it  stopped 29.10.2014 4:41am CET

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


Navigation
Links