﻿ticket,summary,type,release,owner,status,created,modified,_description,_reporter
13644,Installation fails,defect,1.2,,new,2019-11-11T14:01:32+01:00,2020-05-06T02:05:20+02:00,"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.",Massimo
