Re: [Trac] Re: ImportError: No module named _markerlib
On Saturday, June 4, 2016 at 1:33:59 PM UTC-4, Dimitri Maziuk wrote: > > On 2016-06-03 16:50, Aikido Guy wrote: > > Before I attempt to work through a python re-install, is there anything > > obviously wrong with the following? > > Do you actually have a python install in /usr/local/lib *and* in > /usr/lib? Or is that just your sys.path? If you have 2 python installs > anything might happen including the universe imploding. > > Dimitri > Thank you for this observation. In fact, I essentially do "sudo apt-get install python2.7" so whatever that command does is what I have. I did, however, follow up and do see python 3.4 is also installed. Therefore I went ahead with the "apt-get install --reinstall python2.7" and that seemed to be the correct way to solve the import _markerlib problem... not sure why. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
Re: [Trac] Re: ImportError: No module named _markerlib
On 2016-06-03 16:50, Aikido Guy wrote: Before I attempt to work through a python re-install, is there anything obviously wrong with the following? Do you actually have a python install in /usr/local/lib *and* in /usr/lib? Or is that just your sys.path? If you have 2 python installs anything might happen including the universe imploding. Dimitri -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: ImportError: No module named _markerlib
> apt-get install --reinstall python2.7 > python -c "import _markerlib" did not solve the issue... continuing the hunt for a solution... fingers crossed! -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: ImportError: No module named _markerlib
Before I attempt to work through a python re-install, is there anything obviously wrong with the following? i.e. old and should be deleted? or has a known conflict? > 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 -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: ImportError: No module named _markerlib
On Friday, June 3, 2016 at 2:02:30 PM UTC-7, Aikido Guy wrote: > > 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 > I guess I would try to reinstall Python using your package manager. - Ryan -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: 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 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 -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: ImportError: No module named _markerlib
On Friday, June 3, 2016 at 1:35:28 PM UTC-7, Aikido Guy wrote: > > I get the error via Trac and also from the command line: >> python -c "import _markerlib" > > I've tried: > > easy_install –Z –upgrade setuputils > Hopefully that is a typo. It should be: easy_install --upgrade setuptools > 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! > Which version of Python are you running? I suggest you use pip to add/remove packages. If Python 2.7.9 or later you have access to pip by default. Otherwise, see: https://pip.pypa.io/en/stable/installing/ - Ryan -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: ImportError: No module named _markerlib
On Friday, June 3, 2016 at 1:21:37 PM UTC-7, Aikido Guy wrote: > > 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! > Sorry, I read too quickly and misunderstood. Your question is appropriate for this mailing list. In a virtual environment I find the following directories: $find pve -name "_markerlib" pve/lib/python2.7/site-packages/_markerlib pve/lib/python2.7/site-packages/pip/_vendor/_markerlib Based on that, I'd do the following: * Uninstall pip, then reinstall the latest version of pip * Uninstall setuptools, then reinstall the latest version of setuptools * Recreate the virtualenv if using a virtualenv * If not using a virtualenv, it might be the case that your python installation is broken Where do you see the error in Trac? Is it when starting the Trac instance? Could you post a screen capture of the error or a traceback? - Ryan -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: ImportError: No module named _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! -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: ImportError: No module named _markerlib
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! On Friday, June 3, 2016 at 4:17:31 PM UTC-4, RjOllos wrote: > > > > On Friday, June 3, 2016 at 1:12:43 PM UTC-7, Aikido Guy wrote: >> >> Sorry for the noise as I know this type of question has been asked many >> times. >> >> I get the error via Trac and also from the command line: >>> python -c "import _markerlib" >> >> So I know it is a python issue and not a Trac issue... but my google fu >> is not so good on a friday. Does anyone have any suggestions for what >> python packages to check/fix? >> >> Very much appreciated! >> >> Kindly, >> Aikido Guy >> > > This is the mailing list for users of the Trac issue tracker, for > questions and discussion about the Trac issue tracker. It sounds like you > are looking for the mailing list for the markerlib library. > > - Ryan > > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: ImportError: No module named _markerlib
On Friday, June 3, 2016 at 1:12:43 PM UTC-7, Aikido Guy wrote: > > Sorry for the noise as I know this type of question has been asked many > times. > > I get the error via Trac and also from the command line: >> python -c "import _markerlib" > > So I know it is a python issue and not a Trac issue... but my google fu is > not so good on a friday. Does anyone have any suggestions for what python > packages to check/fix? > > Very much appreciated! > > Kindly, > Aikido Guy > This is the mailing list for users of the Trac issue tracker, for questions and discussion about the Trac issue tracker. It sounds like you are looking for the mailing list for the markerlib library. - Ryan -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.