Last modified: 2013-12-07 16:15:48 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 T60160, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58160 - pwb.py <script> causes ImportError
pwb.py <script> causes ImportError
Status: RESOLVED INVALID
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
core-(2.0)
All All
: Highest blocker
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-07 16:09 UTC by xqt
Modified: 2013-12-07 16:15 UTC (History)
0 users

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


Attachments

Description xqt 2013-12-07 16:09:48 UTC
c:\Pywikipedia\ssh\pywikibot\core>pwb.py touch
WARNING: Configuration variable 'use_diskcache' is defined but unknown.
Misspelled?
WARNING: Configuration variable 'notify_unflagged_bot' is defined but unknown.
Misspelled?
WARNING: Running on Windows and transliteration_target is not set.
Please see http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Windows
Traceback (most recent call last):
  File "C:\Pywikipedia\ssh\pywikibot\core\pwb.py", line 123, in <module>
    tryimport_pwb()
  File "C:\Pywikipedia\ssh\pywikibot\core\pwb.py", line 30, in tryimport_pwb
    import pywikibot
  File "C:\Pywikipedia\ssh\pywikibot\core\pywikibot\__init__.py", line 31, in <m
odule>
    from pywikibot.bot import *
  File "C:\Pywikipedia\ssh\pywikibot\core\pywikibot\bot.py", line 35, in <module
>
    from pywikibot import version
  File "C:\Pywikipedia\ssh\pywikibot\core\pywikibot\version.py", line 143, in <m
odule>
    from generate_user_files.py import get_base_dir
ImportError: No module named py

c:\Pywikipedia\ssh\pywikibot\core>

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


Navigation
Links