Edgewall Software

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#13422 closed defect (invalid)

except TypeError, e: — at Version 1

Reported by: anonymous Owned by:
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords: trac-admin
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Ryan J Ollos)

trac-admin domains/domainmy.com/public/ initenv
Traceback (most recent call last):
  File "/usr/home/userhere/.virtualenvs/venvpython37/bin/trac-admin", line 5, in <module>
    from trac.admin.console import run
  File "/usr/home/userhere/.virtualenvs/venvpython37/lib/python3.7/site-packages/trac/admin/__init__.py", line 14, in <module>
    from trac.admin.api import *
  File "/usr/home/userhere/.virtualenvs/venvpython37/lib/python3.7/site-packages/trac/admin/api.py", line 14, in <module>
    from trac.core import *
  File "/usr/home/userhere/.virtualenvs/venvpython37/lib/python3.7/site-packages/trac/core.py", line 205
    except TypeError, e:
                    ^
SyntaxError: invalid syntax
  Downloading Trac-1.4.3.tar.gz (5.7 MB)
     |████████████████████████████████| 5.7 MB 3.3 MB/s 
    ERROR: Command errored out with exit status 1:
     command: /usr/home/userhere/venvpython37/bin/python3.7 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-kuertgql/trac_4bfc3f81da9e4efeb698ea62fb20e1f6/setup.py'"'"'; __file__='"'"'/tmp/pip-install-kuertgql/trac_4bfc3f81da9e4efeb698ea62fb20e1f6/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-6hiw8oji
         cwd: /tmp/pip-install-kuertgql/trac_4bfc3f81da9e4efeb698ea62fb20e1f6/
    Complete output (1 lines):
    Trac doesn't support Python 3 (yet)
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/cc/aa/9e3415901caa2d12a7cc25fea70f160bdb62a59cbc39a05e4befca832e5f/Trac-1.4.3.tar.gz#sha256=c93ceed9abee6e3c7789f469862e82a3b9bf3405be73aae3221b5c259e062d21 (from https://pypi.org/simple/trac/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Downloading Trac-1.4.2.tar.gz (5.6 MB)
     |████████████████████████████████| 5.6 MB 5.6 MB/s 


Change History (1)

comment:1 by Ryan J Ollos, 3 years ago

Description: modified (diff)
Milestone: 1.4.4
Release Notes: modified (diff)
Resolution: invalid
Status: newclosed

InstallationIssue, Trac 1.4.x doesn't support Python 3. Please install into Python 2.7 or use 1.5.3 pre-release:

$ pip install https://download.edgewall.org/trac/Trac-1.5.3-py3-none-any.whl
Note: See TracTickets for help on using tickets.