Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

Last modified 10 years ago

#5575 closed defect (duplicate)

After the update to svn 5734 database cannot be upgraded

Reported by: anonymous Owned by: Eli Carter
Priority: normal Milestone:
Component: general Version: devel
Severity: normal Keywords: NoneType, iterable, upgrade, postgresql
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

After the update of trac 0.11 revision 5734 (0.11dev-r5732), when I run trac-admin /location upgrade —no-backup this command returns: Command failed: 'NoneType' object is not iterable

I use a postgres database backend.

Attachments (0)

Change History (7)

comment:1 by Eli Carter, 17 years ago

Owner: changed from Jonas Borgström to Eli Carter
Status: newassigned

comment:2 by Eli Carter, 17 years ago

Thank you for the report!

If you could provide a bit more detail, it'll help me solve this quicker:

  • Can you provide a backtrace?
  • What OS/distribution are you using?
  • What version of python are you using?

comment:3 by Eli Carter, 17 years ago

Keywords: upgrade postgresql added

Guesses of where this might be (but no way to check yet):

comment:4 by Dave Abrahams <dave@…>, 17 years ago

retracile asked me to try reproducing this by creating a DB in 0.10.4 and upgrading it to 0.11dev. As I expected, the report was:

Database is up to date, no upgrade necessary.

comment:5 by nulleke76@…, 17 years ago

I checked the db21 update that came with this svn revision. I noticed that it tries to update reports that have been changed by me already. I manually did an update of the database version number. Now everything works as expected.

comment:6 by Christian Boos, 17 years ago

Resolution: duplicate
Status: assignedclosed

Same as #5593.

Given

list(None)

Python 2.5 now errors with: TypeError: 'NoneType' object is not iterable instead of: TypeError: iteration over non-sequence as it did with 2.3 and 2.4.

comment:7 by Ryan J Ollos, 10 years ago

Keywords: NoneType iterable upgrade postgresql → NoneType, iterable, upgrade, postgresql

Modify Ticket

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