Last modified: 2013-12-04 05:28:12 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 T59838, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57838 - Syntax error in win32_unicode.py
Syntax error in win32_unicode.py
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
core-(2.0)
PC All
: High major
: ---
Assigned To: xqt
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-02 14:51 UTC by xqt
Modified: 2013-12-04 05:28 UTC (History)
0 users

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


Attachments

Description xqt 2013-12-02 14:51:42 UTC
C:\pwb\core>pwb.py featured -fromall -lang:nl -good -featured
WARNING: Configuration variable 'account_global' is defined but unknown.
Misspelled?
WARNING: Configuration variable 'use_diskcache' is defined but unknown.
Misspelled?
WARNING: Configuration variable 'notify_unflagged_bot' is defined but unknown.
Misspelled?
Traceback (most recent call last):
  File "C:\pwb\core\pwb.py", line 108, in <module>
    tryimport_pwb()
  File "C:\pwb\core\pwb.py", line 30, in tryimport_pwb
    import pywikibot
  File "C:\pwb\core\pywikibot\__init__.py", line 31, in <module>
    from pywikibot.bot import *
  File "C:\pwb\core\pywikibot\bot.py", line 43, in <module>
    ui = uiModule.UI()
  File "C:\pwb\core\pywikibot\userinterfaces\terminal_interface_win32.py", line
51, in __init__
    from .win32_unicode import stdin, stdout, stderr, argv
  File "C:\pwb\core\pywikibot\userinterfaces\win32_unicode.py", line 45
    print(isinstance(message, str) and message or repr(message), file=original_s
tderr)
                                                                     ^
SyntaxError: invalid syntax

Bug occured since https://gerrit.wikimedia.org/r/#/c/97876/
Comment 1 Gerrit Notification Bot 2013-12-02 15:06:06 UTC
Change 98527 had a related patch set uploaded by Xqt:
(bug 57838) Wrong syntax with new print function for py3 compatibility

https://gerrit.wikimedia.org/r/98527
Comment 2 Gerrit Notification Bot 2013-12-03 21:20:20 UTC
Change 98527 merged by jenkins-bot:
(bug 57838) Wrong syntax with new print function for py3 compatibility

https://gerrit.wikimedia.org/r/98527

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


Navigation
Links