OK, I found the reverse way : stop trac; dpkg -P trac; rm -rf on the python directories, apt-get install trac; start trac. Hopefully, it works. I won't use the last version, too tricky.
On 19 nov, 16:35, brice <[email protected]> wrote: > or may be a preferred way : Could I get this > onehttp://packages.debian.org/lenny-backports/trac > on Ubuntu with apt-get ? > > On Nov 19, 3:55 pm,brice<[email protected]> wrote: > > > thanks for your comments, I won't do it anymore, promess you. > > Now, where's the reverse way ? > > > mvtracbad_trac_old; ln -s > > /usr/local/lib/python2.6/dist-packages/Trac-0.11.5-py2.6.egg/trac > > changes the error into : > > Traceback (most recent call last): > > File "/usr/lib/python2.6/dist-packages/trac/web/api.py", line 339, > > in send_error > > File "/usr/lib/python2.6/dist-packages/trac/web/chrome.py", line > > 683, in render_template > > File "/usr/lib/python2.6/dist-packages/trac/web/chrome.py", line > > 667, in load_template > > File "build/bdist.linux-i686/egg/genshi/template/loader.py", line > > 237, in load > > raise TemplateNotFound(filename, search_path) > > TemplateNotFound: Template "error.html" not found > > > any trick for genshi ?-) > > Of course I would dislike to loose existingtracproject ! > > > On Nov 19, 2:42 pm, Olemis Lang <[email protected]> wrote: > > > > On Thu, Nov 19, 2009 at 8:25 AM, W. Martin Borgert <[email protected]> > > > wrote: > > > > > Quotingbrice<[email protected]>: > > > >> FirstlyTrachas been installed through apt-get, then, due to an > > > >> optimistic behavior, I might have launched the python 'easy_install > > > >> installTrac' to update it, > > > > ... > > > >> what's your opinion, Doc ? > > > > > Please, never ever overwrite dpkg-installed packages (be it via apt-get > > > > or dpkg or aptitude) with manually installed software. If you really > > > > want to haveTrac(or any other software on aDebianor Ubuntu system) > > > > manually installed, make sure that you install it in another path (e.g. > > > > /usr/local) than the packaged software (which does never install in > > > > /usr/local). Or, even safer, remove the package first ("dpkg -rtrac"). > > > > Otherwise, the package manager and the actually installed software do > > > > conflict badly. > > > > +1 ... Most of the time I try to avoid Python pkg management (mainly > > > because it has many problems and also 'cause apt is awesome :o). These > > > days I use to build deb source pkgs using `stdeb` (not perfect but apt > > > gets involved ;o) > > > > -- > > > Regards, > > > > Olemis. > > > > Blog ES:http://simelo-es.blogspot.com/ > > > Blog EN:http://simelo-en.blogspot.com/ > > > > Featured article: -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
