Try deleting all .pyc and .pyo files. --Noah
> -----Original Message----- > From: [email protected] [mailto:[email protected]] > On Behalf Of alan > Sent: Tuesday, January 06, 2009 6:27 AM > To: Trac Users > Subject: [Trac] Home directory changed - HELP! > > > Hi Folks, > > Happy New Year! > We've been using Trac 10.4 for about a year and love it! I've created > multiple projects and have had no problems. It's installed on our web > hosting provider (bluehost). > > Upon returning from the holiday we discovered that our trac sites were > inaccessible. Bluehost moved our home directory from /home to /home1. > The displayed error indicates "bad marshal data". My attempts to fix > the problem have been unsuccessful. Configuration info and error > messages follow - any help/suggestions are greatly appreciated! > > Thanks. > > -Alan > > --------- > Configuration: > ~/usr/lib/python2.3/site-packages/trac > ~/usr/share/trac > Projects directory: ~/trac-proj > > What I did: > moved the trac directories from ./site-packages and ./share > ran setup: python -v setup.py install --prefix=/home1/netscale/ > usr > > Current Error: > Oops... > > Trac detected an internal error: bad marshal data > > Traceback (most recent call last): > File "/home1/netscale/usr/share/trac/cgi-bin/trac.cgi", line 20, > in ? > cgi_frontend.run() > File "/home1/netscale/usr/lib/python2.3/site-packages/trac/web/ > cgi_frontend.py", line 68, in run > gateway.run(dispatch_request) > File "/home1/netscale/usr/lib/python2.3/site-packages/trac/web/ > wsgi.py", line 87, in run > response = application(self.environ, self._start_response) > File "/home1/netscale/usr/lib/python2.3/site-packages/trac/web/ > main.py", line 391, in dispatch_request > env = _open_environment(env_path, run_once=run_once) > File "/home1/netscale/usr/lib/python2.3/site-packages/trac/web/ > main.py", line 51, in _open_environment > return open_environment(env_path) > File "/home1/netscale/usr/lib/python2.3/site-packages/trac/env.py", > line 462, in open_environment > env = Environment(env_path) > File "/home1/netscale/usr/lib/python2.3/site-packages/trac/env.py", > line 141, in __init__ > from trac.loader import load_components > File "/home1/netscale/usr/lib/python2.3/site-packages/trac/ > loader.py", line 28, in ? > import pkg_resources > ValueError: bad marshal data > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
