Updating Trac software

Well I’ve tried to upgrade Trac the way it was explained, but it did not work. Genshi was still looking for data in old .egg.

What I did was the following:

  1. rename all Trac-0.11xxx.egg folders into Trac-0.11xxx.egg.old so that I’m sure they will no longer be used
  2. install trac using apt (“sudo apt-get update; sudo apt-get install trac”)
  3. That’s it (F5)

Installing it through “easy_install” was a real nightmare. Last version was installed, but old egg was still valid, and genshi looked for info into old egg, renaming it only generated errors… => I removed all eggs and make a clean install using apt and it worked.

Removing python eggs with easy_install

I did not found how to remove eggs using easy_install, documented procedure “easy_install -m Trac” did not work and returned an incomprehensible message. I don’t understand why they do not simply implement a “–uninstall” option, this would make easy_install… easier!
Thus I changed egg names as described above (appending  “.old” suffix)

sources

  • http://trac.edgewall.org/wiki/TracUpgrade
  • http://www.gossamer-threads.com/lists/trac/users/38794
  • http://peak.telecommunity.com/DevCenter/EasyInstall#command-line-options

Post a Comment

Your email is never published nor shared. You're allow to say what you want...