python - Trac packages not properly installed -


i checking in redhat server see if there trac installation, trac-admin not in /usr/bin(is found). in /usr/lib/python2.7/site-packages/ there no trac packages @ all, found following paths trac directory in them:

/root/.cpan/build/alien-svn-v1.8.11.0-1/src/subversion/subversion/bindings/swig/python/tests/trac /root/.cpan/build/alien-svn-v1.8.11.0-0/src/subversion/subversion/bindings/swig/python/tests/trac /opt2/trac 

these directories show following:

__init__.py  test.py  versioncontrol 

and /opt/trac environment of trac:

conf  db  files  htdocs  log  plugins  readme  templates  trac_banner.png  version 

does mean trac installed? can delete directories , try new installation?

the directories found under /root/.cpan not indicate trac installed. presence of trac environment @ /opt/trac important find. please make backup of directory @ least, , preferably backup of entire server, before proceeding.

to check if trac installed, start python 2.x interpreter session , see if import trac succeeds. if not, trac not installed python interpreter. it's possible have other instances of python installed. if python 3 default may need run python2 start interpreter.

i copy /opt/trac local machine , create new trac 1.2.2 installation. don't know version of trac used /opt/trac. determine inspecting database, it's easier create new trac installation trac environment , upgrade environment when prompted. if goes can same on remote server.

i'm assuming using sqlite, in case database /opt/trac/db/trac.db. check [trac] database string in /opt/trac/conf/trac.ini determine if using sqlite. if trac environment uses mysql or postgresql you'll need copy database local machine test upgrade process.

suggested reading tracinstall , tracupgrade.


Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -