Page MenuHomePhabricator

Login Error with Python 3
Closed, DeclinedPublic

Description

Author: hassen.houssein

Description:
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>


Version: unspecified
Severity: major
OS: Windows 8
Platform: PC

Attached:

screenshot.png (362×706 px, 31 KB)

Details

Reference
bz61467

Related Objects

StatusSubtypeAssignedTask
InvalidNone
ResolvedXqt
DeclinedNone

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:00 AM
bzimport set Reference to bz61467.
bzimport added a subscriber: Unknown Object (????).

Python 3 is not supported. Please download Python 2.7.6 from http://www.python.org/download/releases/2.7.6/ and try again.

hassen.houssein wrote:

Solved,

Thanks

No bug fixed in the codebase, hence removing "FIXED" resolution.