LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-23-2008, 11:47 AM   #1
Lantzvillian
Member
 
Registered: Oct 2007
Location: BC, Canada
Distribution: Fedora, Debian
Posts: 210

Rep: Reputation: 41
Trac 0.10.3 Upgrade Issues?


Hello,

I'm looking at upgrading a trac server thats running on suse 10.1 and looking at updating it to a newer version of trac. The process in their documentation seems to be fairly straight forward, however, sometimes these simple upgrades don't take place as planned. Does anyone have experience with this? or done it before?

Thanks
 
Old 06-24-2008, 11:54 AM   #2
Lantzvillian
Member
 
Registered: Oct 2007
Location: BC, Canada
Distribution: Fedora, Debian
Posts: 210

Original Poster
Rep: Reputation: 41
I removed the trac directory from /usr/lib64/python2.5/sites-packages like the documentation suggests. I install it with python ./setup.py install and it goes in great.

I get this when I navigate to my project:

Traceback (most recent call last):

File "build/bdist.linux-x86_64/egg/ctxtnavadd/web_ui.py", line 29, in get_navigation_items
add_javascript(req, evil_js)
File "/usr/lib64/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/chrome.py", line 111, in add_javascript
add_script(req, filename, mimetype='text/javascript')
File "/usr/lib64/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/chrome.py", line 92, in add_script
scriptset = req.chrome.setdefault('scriptset', set())
File "/usr/lib64/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/api.py", line 168, in __getattr__
value = self.callbacks[name](self)
File "/usr/lib64/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/chrome.py", line 460, in prepare_request
for category, name, text in contributor.get_navigation_items(req):
File "build/bdist.linux-x86_64/egg/ctxtnavadd/web_ui.py", line 29, in get_navigation_items
add_javascript(req, evil_js)
File "/usr/lib64/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/chrome.py", line 111, in add_javascript
add_script(req, filename, mimetype='text/javascript')
File "/usr/lib64/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/chrome.py", line 92, in add_script
scriptset = req.chrome.setdefault('scriptset', set())
File "/usr/lib64/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/api.py", line 168, in __getattr__
value = self.callbacks[name](self)
File "/usr/lib64/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/chrome.py", line 460, in prepare_request
for category, name, text in contributor.get_navigation_items(req):
File "build/bdist.linux-x86_64/egg/ctxtnavadd/web_ui.py", line 29, in get_navigation_items
add_javascript(req, evil_js)
File "/usr/lib64/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/chrome.py", line 111, in add_javascript
add_script(req, filename, mimetype='text/javascript')
File "/usr/lib64/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/chrome.py", line 92, in add_script
scriptset = req.chrome.setdefault('scriptset', set())
File "/usr/lib64/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/api.py", line 168, in __getattr__
value = self.callbacks[name](self)
File "/usr/lib64/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/chrome.py", line 460, in prepare_request
for category, name, text in contributor.get_navigation_items(req):
File "build/bdist.linux-x86_64/egg/ctxtnavadd/web_ui.py", line 29, in get_navigation_items
add_javascript(req, evil_js)
File "/usr/lib64/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/chrome.py", line 111, in add_javascript
add_script(req, filename, mimetype='text/javascript')
File "/usr/lib64/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/chrome.py", line 92, in add_script
scriptset = req.chrome.setdefault('scriptset', set())
File "/usr/lib64/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/api.py", line 168, in __getattr__
value = self.callbacks[name](self)
File "/usr/lib64/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/chrome.py", line 429, in prepare_request
htdocs_location = self.htdocs_location or req.href.chrome('common')
File "/usr/lib64/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/href.py", line 163, in <lambda>
self._derived[name] = lambda *args, **kw: self(name, *args, **kw)
File "/usr/lib64/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/href.py", line 148, in __call__
if arg != None])
File "/usr/lib64/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/util/text.py", line 68, in unicode_quote
return quote(value.encode('utf-8'), safe)
File "/usr/lib64/python2.5/urllib.py", line 1189, in quote
safe_map = _safemaps[cachekey]
RuntimeError: maximum recursion depth exceeded in cmp

Ideas?
 
Old 07-03-2008, 05:06 PM   #3
Lantzvillian
Member
 
Registered: Oct 2007
Location: BC, Canada
Distribution: Fedora, Debian
Posts: 210

Original Poster
Rep: Reputation: 41
Since someone is bound to find this on the Internet and be stumped. The way around this crappy upgrade was to create a whole new Trac on a clean machine, and port over all of the needed files.

Be forewarned that a resync takes forever with lots of tickets
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
TRAC with SVN Authz?? ajeetraina Linux - Server 0 05-07-2008 02:12 AM
Help Configure Trac! ks.sundarrajan Linux - Newbie 1 03-26-2008 11:39 PM
Trac on Ubuntu?? ajeetraina Linux - Server 1 03-05-2008 02:20 AM
Issue during the TRAC installation??? ajeetraina Linux - Server 0 03-03-2008 06:06 AM
TRAC - Problem with backup zambiasi Linux - Software 1 07-06-2007 10:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration