[kforge-dev] [kforge-user] trac plugin / installation issue
Gert Brantner
gb at fetznetz.it
Wed Oct 27 11:01:57 UTC 2010
hi John,
thank you for your swift answer.
Am 26.10.10 18:15, schrieb John Bywater:
> Hi Gert,
>
> Thanks for your email. I haven't seen that error before. Perhaps you
> need to check how the Python modules have been installed?
i have used the modules from the debian lenny repository, maybe
something has the wrong version?
Python Version: 2.5.2-3
> From the traceback you provided, I can see that the error is occuring
> when the Trac egg is extracted to the egg cache. So you could try
> installing Trac unzipped?
i have tried easy_install -UZ trac in the virtualenv. it successfully
unpacks the egg to the cache, but the same error occurs.
> Otherwise try to adjust the egg cache used by your Web server, so
> extracting the code doesn't fail?
i have tried with SetEnv and python_option in the virtualhost config
which works for the rest of kforge. but in the case of the trac plugin
it does not seem to get obeyed. is there any point in the code where i
could set it?
best regards,
Gert
> In any case, do let us know how you get on?
>
> Best wishes,
>
> John.
>
>
>
> Gert Brantner wrote:
>> hi,
>> i have tried to setup kforge using virtualenv on several debian lenny
>> machines following the step-by-step instructions. all works fine
>> besides accessing a trac service. the plugin seems to be installed ok
>> but i get a python error. any hints re missing prerequesites etc. are
>> very welcome.
>>
>>
>> MOD_PYTHON ERROR
>>
>> ProcessId: 1696
>> Interpreter: 'main_interpreter'
>>
>> ServerName: 'kforge.***.com'
>> DocumentRoot: '/home/***/html/kforge'
>>
>> URI: '/administration/testtrac'
>> Location: '/administration/testtrac'
>> Directory: None
>> Filename: '/home/***/kforge/data/administration/www/testtrac'
>> PathInfo: ''
>>
>> Phase: 'PythonHandler'
>> Handler: 'kforgevirtualenvhandlers::trachandler'
>>
>> Traceback (most recent call last):
>>
>> File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line
>> 1537, in HandlerDispatch
>> default=default_handler, arg=req, silent=hlist.silent)
>>
>> File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line
>> 1229, in _process_target
>> result = _execute_target(config, req, object, arg)
>>
>> File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line
>> 1128, in _execute_target
>> result = object(arg)
>>
>> File
>> "/home/***/kforge/0.18/lib/python2.5/site-packages/Trac-0.12.1-py2.5.egg/trac/web/modpython_frontend.py",
>> line 142, in handler
>> pkg_resources.set_extraction_path(egg_cache)
>>
>> File
>> "/home/***/kforge/0.18/lib/python2.5/site-packages/setuptools-0.6c12dev_r85381-py2.5.egg/pkg_resources.py",
>> line 1047, in set_extraction_path
>> "Can't change extraction path, files already extracted"
>>
>> ValueError: Can't change extraction path, files already extracted
>>
>>
>> best regards
>>
>> _______________________________________________
>> kforge-user mailing list
>> kforge-user at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/kforge-user
>
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=
Server . Hosting . Mobile
http://fetznetz.it
Fetznetz Webhosting
Ziegrastrasse 1 / R. 111
12057 Berlin
UID: DE814530478
t: +49 (0) 30 25329727
f: +49 (0) 30 25329725
=-=-=-=-=-=-=-=-=-=-=-=-=-=
More information about the kforge-dev
mailing list