Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

Downgrading

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


kate-2008 at yoak

May 10, 2008, 4:33 PM

Post #1 of 3 (129 views)
Permalink
Downgrading

I would like to downgrade to trac 0.10.4 In order to attempt the
installation of agilo plugins.

I downloaded and installed trac 0.10.4 using python ./setup.py
install.
Trac went into the normal place within python's site-packages: /usr/
lib/python2.5/site-packages/trac/

When I attempted to run trac-admin, I got
Traceback (most recent call last):
File "/usr/bin/trac-admin", line 21, in <module>
from trac.scripts.admin import run
ImportError: No module named scripts.admin

I understand that this should only happen if I trac is installed
outside of site-packages.

My PYTHONPATH is /usr/local/lib/svn-python/ , which I had to set it to
while trying to get svn to work back when I installed the original
trac.
I tried adding /usr/lib/python2.5/site-packages into PYTHONPATH with
no success.

My 0.11 trac is working properly as far as I can tell. This is
probably because it is in /usr/lib/python2.5/site-packages/Trac-0.11b2-
py2.5.egg/trac - thus nothing is overwritten.

After I wrote all of this, I reran python ./setup.py install on the
0.11b2 trac and trac-admin is working properly again. So the bottom
line is, the 0.10.4 trac-admin can't find modules while 0.11b2 trac-
admin is happy. Any ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


kantrn at rpi

May 10, 2008, 6:34 PM

Post #2 of 3 (120 views)
Permalink
Re: Downgrading [In reply to]

On May 10, 2008, at 7:33 PM, kate wrote:
>
> I would like to downgrade to trac 0.10.4 In order to attempt the
> installation of agilo plugins.

There is no way to do automated downgrades. The environment upgrade
process is a one-way procedure. I don't think there have been any non-
BC schema changes lately, but you will have to manually alter the
database_version in the system table.

As for the install, make sure you remove both the Trac egg for 0.11,
and the trac-admin and tracd scripts. Reinstalling 0.10 should then
work.

--Noah


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


kate-2008 at yoak

May 11, 2008, 6:38 PM

Post #3 of 3 (112 views)
Permalink
Re: Downgrading [In reply to]

>
> As for the install, make sure you remove both the Trac egg for 0.11,
> and the trac-admin and tracd scripts. Reinstalling 0.10 should then
> work.
>

I did and it worked. Thanks so much for the help.
I've got a new problem, though. 10.4 requires TracWebAdmin. It got
installed in site-packages and the log says "DEBUG: Loading egg plugin
webadmin.plugin from /usr/lib/python2.5/site-packages/
TracWebAdmin-0.1.2dev-py2.5.egg" and there are no apparent errors. I
granted TRAC_ADMIN permissions to anonymous while I get things
running, but the Admin tab doesn't show. There is an entry in trac.ini
webadmin.* = enabled . What else should I do to get it going?

Thanks again!
Kate

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.