Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#5396 closed defect (invalid)

trac-admin fails on new trac upgrade

Reported by: leemobile@… Owned by: Christopher Lenz
Priority: normal Milestone:
Component: admin/console Version: 0.10.4
Severity: major Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I'm trying to upgrade my trac 0.10.2 to 0.10.4.

I followed the instructions on the wiki for the upgrade.

I untarred the ball into /usr/lib/python/site-packages/trac I ran %python setup.py install Then when attempting to run trac admin: %trac-admin /home/trac upgrade

I get the following error: Command Failed: 'NoneType' object has no attribute 'split'

Same thing happens when I try to run initenv with trac-admin

I'm running fedora core 4.

Attachments (0)

Change History (9)

comment:1 by Emmanuel Blot, 17 years ago

Keywords: needinfo added

It looks like some kind of duplicate of #3878.

What is your DB connection string?

comment:2 by leemobile@…, 17 years ago

Inside my trac.ini file: database = sqlite:db/trac.db

comment:3 by Emmanuel Blot, 17 years ago

Do you use a global trac.ini file?

comment:4 by anonymous, 17 years ago

Global?

When I do a locate I can only find one trac.ini file in the project environment.

in reply to:  4 comment:5 by Emmanuel Blot, 17 years ago

Replying to anonymous:

Global?

When I do a locate I can only find one trac.ini file in the project environment.

You may have a global trac.ini that is used by all instances of your Trac projects.
See #3878 for a similar issue.

comment:6 by Emmanuel Blot, 17 years ago

See TracIni#Trac0.9and0.10 for info about global ini files.

comment:7 by anonymous, 17 years ago

I have the same problem upgrading form 0.9.2 to 0.10.4 I only have a local trac.ini I even tried to insert a small trac.ini in /usr/share/trac/conf/ with database = sqlite:db/trac.db but this also did not help How can I keep my environment and still get the upgrade working?

in reply to:  7 comment:8 by anonymous, 17 years ago

Replying to anonymous: Solved it!

My problem was, that I untared trac in the directory usr/lib/python/site-packages/trac so that the trac-admin was probably confused by having the source files .py next to the compiled .pyc No everything works fine for me!

comment:9 by osimons <simon-code@…>, 17 years ago

Keywords: needinfo removed
Resolution: invalid
Status: newclosed

As far as I can see, this was not a Trac issue - but instead a setup issue that has since been resolved.

Closing.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz 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.