Modify ↓
Opened 5 years ago
Last modified 5 years ago
#13644 new defect
Installation fails
Reported by: | Massimo | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | SqlAlchemyQueryMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 1.2 |
Description
Trac 1.2.3
I have modified the install_sqlalchemyquery.bash:
TRAC_PATH_REPLACE = "/mnt/data/trac/projects/trac-pp" # absolute path to your trac environment TRAC_REPLACE = "trac-pp" # name of your trac environment (relative path without slashes) MAX_ROW_COUNT_REPLACE = "1000" # maximum numbers of rows for the query result to display TABLE_BORDER_REPLACE = "border=\"1\"" # set the border width of the table
./install_sqlalchemyquery.bash Path exists continuing Path exists continuing cp: cannot stat 'SqlAlchemyQuery-0.1-py2.7.egg': No such file or directory unzip: cannot find or open SqlAlchemyQuery-0.1-py2.7.egg, SqlAlchemyQuery-0.1-py2.7.egg.zip or SqlAlchemyQuery-0.1-py2.7.egg.ZIP. rm: cannot remove 'SqlAlchemyQuery-0.1-py2.7.egg': No such file or directory ./install_sqlalchemyquery.bash: line 29: cd: sqlalchemyquery: No such file or directory cp: cannot stat '../../macro.py.bkp': No such file or directory sed: can't read macro.py: No such file or directory sed: can't read macro.py: No such file or directory sed: can't read macro.py: No such file or directory sed: can't read macro.py: No such file or directory adding: dist/ (stored 0%) adding: install_sqlalchemyquery.bash (deflated 63%) adding: license.txt (deflated 50%) adding: macro.py.bkp (deflated 56%) adding: sorttable.js (deflated 70%) adding: tmp/ (stored 0%) rm: cannot remove 'tmp': No such file or directory reboot your trac server: lsof | tracd, kill pid
The .egg file is installed but seems to be incomplete and the plugins is not loaded:
$ unzip -l SqlAlchemyQuery-0.1-py2.7.egg Archive: SqlAlchemyQuery-0.1-py2.7.egg Length Date Time Name --------- ---------- ----- ---- 0 11-11-2019 13:52 dist/ 1344 11-11-2019 13:52 install_sqlalchemyquery.bash 1911 11-11-2019 13:45 license.txt 2289 11-11-2019 13:45 macro.py.bkp 16877 11-11-2019 13:45 sorttable.js 0 11-11-2019 13:52 tmp/ --------- ------- 22421 6 files
dev-python/sqlalchemy-1.3.4 is installed on Gentoo.
Attachments (0)
Change History (2)
comment:1 Changed 5 years ago by
Owner: | changed from fvdberg to Ryan J Ollos |
---|---|
Status: | new → assigned |
comment:2 Changed 5 years ago by
Owner: | Ryan J Ollos deleted |
---|---|
Status: | assigned → new |
Note: See
TracTickets for help on using
tickets.
This plugin is implemented incorrectly. A
setup.py
should be written for creating an egg that installs themacro.py
andsorttable.js
.