On Friday, June 3, 2016 at 4:42:24 PM UTC-7, Aikido Guy wrote:
>
> Google wasn't letting me continue my other thread... so I've started a new
> one. Sorry about that.
>
> In short, I'm not able to load Trac 1.0.11 in my browser... I am getting a
> Trac error about not being able to load genshi.builder.
> However, I have confirmed I am able to load the offending line from
> command line python.
>
> Any idea how to solve this? I've tried stopping apache and then bringing
> it up again. I've check my trac log for that project but I don't see
> anything. Maybe I'm missing something obvious?
>
> Any further help is very much appreciated!
>
> Kindly,
> Aikido Guy
>
>
>
> from command line:
>
> > python
> Python 2.7.6 (default, Jun 22 2015, 17:58:13)
> [GCC 4.8.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import os
> >>> from pkg_resources import get_distribution
> >>> get_distribution('genshi')
> Genshi 0.7 (/usr/local/lib/python2.7/dist-packages)
> >>> get_distribution('genshi').location
> '/usr/local/lib/python2.7/dist-packages'
> >>> quit()
>
>
> and from a browser:
>
> MOD_PYTHON ERROR
>
> ProcessId: 27686
> Interpreter: 'main_interpreter'
>
> ServerName: ... snip ...
> DocumentRoot: '/srv/html'
>
> URI: '/trac/TracUpgrade_1_0_11'
> 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
> 1202, in _process_target
> module = import_module(module_name, path=path)
>
> File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line
> 304, in import_module
> return __import__(module_name, {}, {}, ['*'])
>
> File "build/bdist.linux-x86_64/egg/trac/web/__init__.py", line 36, in
> <module>
>
> File "build/bdist.linux-x86_64/egg/trac/web/api.py", line 31, in <module>
>
> ImportError: No module named genshi.builder
>
Just curious, what did you change (if anything) to go from ImportError of
_markerlib, to ImportError of genshi.builder? Did you find a solution to
the problem that was causing an ImportError of _markerlib?
- 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.