Last modified: 2014-02-18 10:44:03 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 T63467, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61467 - Login Error with Python 3
Login Error with Python 3
Status: RESOLVED WORKSFORME
Product: Pywikibot
Classification: Unclassified
login.py (Other open bugs)
unspecified
PC Windows 8
: Unprioritized major
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-17 21:53 UTC by Hassen Houssein
Modified: 2014-02-18 10:44 UTC (History)
1 user (show)

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


Attachments
Login Error (31.80 KB, image/png)
2014-02-17 21:53 UTC, Hassen Houssein
Details

Description Hassen Houssein 2014-02-17 21:53:41 UTC
Created attachment 14608 [details]
Login Error

C:\Pywikipedia>login.py
Traceback (most recent call last):
  File "C:\Pywikipedia\login.py", line 59, in <module>
    import query
  File "C:\Pywikipedia\query.py", line 172
    except ValueError, error:
                     ^
SyntaxError: invalid syntax
C:\Pywikipedia>

I tried the clean_sandbox.py, but got this error

C:\Pywikipedia>clean_sandbox.py
Traceback (most recent call last):
  File "C:\Pywikipedia\clean_sandbox.py", line 48, in <module>
    import wikipedia as pywikibot
  File "C:\Pywikipedia\wikipedia.py", line 754
    raise IsRedirectPage, self._redirarg  # do not change unless you see https:/
/bugzilla.wikimedia.org/show_bug.cgi?id=57879
                        ^
SyntaxError: invalid syntax

C:\Pywikipedia>
Comment 1 Merlijn van Deen (test) 2014-02-17 21:55:04 UTC
Python 3 is not supported. Please download Python 2.7.6 from http://www.python.org/download/releases/2.7.6/ and try again.
Comment 2 Hassen Houssein 2014-02-17 22:25:42 UTC
Solved, 

Thanks
Comment 3 Andre Klapper 2014-02-18 10:44:03 UTC
No bug fixed in the codebase, hence removing "FIXED" resolution.

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


Navigation
Links