Edgewall Software
Modify

Opened 20 years ago

Closed 20 years ago

#685 closed defect (worksforme)

redhat: upgrade from 0.6 to 0.7.1: ImportError: cannot import name href

Reported by: davidp@… Owned by: FRED
Priority: normal Milestone:
Component: general Version: 0.7.1
Severity: normal Keywords: upgrade
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

On an RH system, I just downloaded trac 0.7.1 and ran "python ./setup.py install". We had trac 0.6 working fine; now we get:

Oops…

Trac detected an internal error:

cannot import name href Traceback (most recent call last):

File "/usr/local/lib/python2.3/site-packages/trac/core.py", line 475, in cgi_start

real_cgi_start()

File "/usr/local/lib/python2.3/site-packages/trac/core.py", line 451, in real_cgi_start

import Wiki

File "/usr/local/lib/python2.3/site-packages/trac/Wiki.py", line 30, in ?

from Href import href

ImportError: cannot import name href

I'm not a python dude, so I'm basically dead in the water for the moment. Any help out there?

Attachments (0)

Change History (3)

comment:1 by toni, 20 years ago

Have you setup apache properly.

The trac variable has changed. See trac install and compare with your own installation.

comment:2 by anonymous, 20 years ago

Owner: changed from Jonas Borgström to FRED

comment:3 by Christopher Lenz, 20 years ago

Keywords: upgrade added; wiki.py real_cgi_start removed
Milestone: 0.7.1
Priority: highestnormal
Resolution: worksforme
Severity: blockernormal
Status: newclosed

As far as I can tell the code referenced in the traceback isn't there in that form in 0.7.1. Somehow the update must have been unsuccessful.

I'm resolving this as worksforme because the upgrade has obviously worked for others. If you find more details that show we've done something wrong, please reopen this ticket.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain FRED.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from FRED to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.