Urbanecm created this task.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  Hi, I tried to run python 
/shared/pywikipedia/core/scripts/solve_disambiguation.py Model on Tool Labs, 
the output was
  
    ERROR: Unable to execute script because no generator was defined.
    Use -help for further information.
  
  The output from python /shared/pywikipedia/core/scripts/version.py was
  
    Pywikibot: [https] r-pywikibot-core.git (afe418c, g3, 2016/03/28, 16:41:19, 
ok)
    Release version: 3.0-dev
    requests version: 2.2.1
      cacerts: /etc/ssl/certs/ca-certificates.crt
        certificate test: ok
    Python: 2.7.6 (default, Jun 22 2015, 17:58:13) 
    [GCC 4.8.2]
    PYWIKIBOT2_DIR: Not set
    PYWIKIBOT2_DIR_PWB: Not set
    PYWIKIBOT2_NO_USER_CONFIG: Not set
    Config base dir: /home/urbanecm/.pywikibot
    Usernames for family "wikipedia":
            cs: UrbanecmBot (no sysop configured)
  
  I try to locate the first bad commit by git bisect command. There is output 
from it. I used wikimedia/pywikibot-core repo from GitHub.
  
    tools.urbanecmbot@tools-bastion-05 ~/tmp/pywikibot-core 
    $ git bisect good
    afcacf03f3d3bdfaba38df13e3c950f1c456c966 is the first bad commit
    commit afcacf03f3d3bdfaba38df13e3c950f1c456c966
    Author: John Vandenberg <[email protected]>
    Date:   Sun Dec 14 00:06:00 2014 +0700
    
        Positional args support for GeneratorFactory
        
        Some scripts have positional parameters which are used to create
        a page generator.  A common example is page names, which could be
        written as -page:"..." but the scripts allow to be simple "...".
        
        In order to bring these parameters into the common infrastructure,
        support has been added for positional parameters being detected as
        belonging to a standard page generator selected by the script.
        
        Change-Id: I93f9289aa93ea7a263cd8347aa78136065cf4e6b
    
    :040000 040000 8d0d708dbb4b358f13233d701513272a9c0e95d9 
a9f5a6a4d32d2c481f07cc0ebf0a2487506d4c48 M      pywikibot
    :040000 040000 1d3760282e9478f3797a1e21987681fed0e21380 
c3624113e3d312face698936773a3d3a3f9279ad M      scripts
  
  Thank you for fixing it.

TASK DETAIL
  https://phabricator.wikimedia.org/T131384

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Urbanecm
Cc: Aklapper, Urbanecm, pywikibot-bugs-list, Dalba



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to