Thank you for the question... but I am trying to get Trac running and have narrowed down the error (after spending the whole day trying to upgrade). I was hoping that since I am upgrading from Trac 1.0.2 to 1.0.11 and this is what I do not know how to solve, someone on this list may know how to help me with my upgrade under Ubuntu. I ask here as I know that others have been able to upgrade to 1.0.11 successfully...Any help is very much appreciated... and will be treated with the utmost of care!
$find pve -name "_markerlib"
pve/lib/python2.7/site-packages/_markerlib
I get the error via Trac and also from the command line:> python -c "import _markerlib"I've tried:> easy_install –Z –upgrade setuputils
and still have the same error message...I will keep trying to upgrade trac and will post my results here after I figure out how to get past this upgrade problem...Kindly!
Tried the following
> pip uninstall pip
> easy_install --upgrade pip
> pip uninstall setuputils
> pip install setuputils # got an SNIMissingWarning
> cd /usr/local/lib/python2.7/dist-packages
> chgrp –R www-data *
> python –version
Python 2.7.6
And the error still appears after stopping and then starting apache:
MOD_PYTHON ERROR
ProcessId: 21035
Interpreter: 'main_interpreter'
ServerName: ... snip ...
DocumentRoot: '/srv/html'
URI: '/trac/TracUpgrade_1_0_11' # I created a new environment using trac-admin 1.0.11 for testing
Location: '/trac'
Directory: None
Filename: '/srv/html/trac'
PathInfo: '/TracUpgrade_1_0_11'
Phase: 'PythonHandler'
Handler: 'trac.web.modpython_frontend'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1537, in HandlerDispatch
default=default_handler, arg=req, silent=hlist.silent)
File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1229, in _process_target
result = _execute_target(config, req, object, arg)
File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1128, in _execute_target
result = object(arg)
File "build/bdist.linux-x86_64/egg/trac/web/modpython_frontend.py", line 148, in handler
pkg_resources.require('Trac==%s' % VERSION)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 725, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 633, in resolve
requirements.extend(dist.requires(req.extras)[::-1])
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2291, in requires
dm = self._dep_map
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2484, in _dep_map
self.__dep_map = self._compute_dependencies()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2501, in _compute_dependencies
from _markerlib import compile as compile_marker
ImportError: No module named _markerlib
Thank you for all of your great suggestions! I appreciate them all ;)Here is what I've tried and still have the error. Maybe there is something simple that I can do that I'm overlooking?Kindly,Aikido Guy
> python -c "import sys; print('\n'.join(sys.path))"
/usr/local/lib/python2.7/dist-packages/Genshi-0.7-py2.7-linux-x86_64.egg
/usr/local/lib/python2.7/dist-packages/configobj-5.0.6-py2.7.egg
/usr/local/lib/python2.7/dist-packages/TracBib-Snapshot-py2.7.egg
/usr/local/lib/python2.7/dist-packages/TracDateField-1.0.2-py2.7.egg
/usr/local/lib/python2.7/dist-packages/TracMasterTickets-3.0.2-py2.7.egg
/usr/local/lib/python2.7/dist-packages/TracMathJax-0.2-py2.7.egg
/usr/local/lib/python2.7/dist-packages/graphviz-0.7.6dev-py2.7.egg
/usr/local/lib/python2.7/dist-packages/pytz-2014.9-py2.7.egg
/usr/local/lib/python2.7/dist-packages/TracTocMacro-11.0.0.3-py2.7.egg
/usr/local/lib/python2.7/dist-packages/TracWysiwyg-0.12.0.3_r10725-py2.7.egg
/usr/local/lib/python2.7/dist-packages/docutils-0.12-py2.7.egg
/usr/local/lib/python2.7/dist-packages/pysqlite-2.8.2-py2.7-linux-x86_64.egg
/usr/local/lib/python2.7/dist-packages/Pygments-1.4-py2.7.egg
/usr/local/lib/python2.7/dist-packages/Trac-1.0.11-py2.7.egg
/usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg
/usr/lib/python2.7
/usr/lib/python2.7/plat-x86_64-linux-gnu
/usr/lib/python2.7/lib-tk
/usr/lib/python2.7/lib-old
/usr/lib/python2.7/lib-dynload
/usr/local/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages/PILcompat
/usr/lib/python2.7/dist-packages/gst-0.10
/usr/lib/python2.7/dist-packages/gtk-2.0
/usr/lib/pymodules/python2.7
/usr/lib/python2.7/dist-packages/ubuntu-sso-client