Edgewall Software

Ticket #5575 (closed defect: duplicate)

Opened 15 months ago

Last modified 15 months ago

After the update to svn 5734 database cannot be upgraded

Reported by: anonymous Owned by: ecarter
Priority: normal Milestone:
Component: general Version: devel
Severity: normal Keywords: NoneType iterable upgrade postgresql
Cc:

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

Change History

Changed 15 months ago by ecarter

  • owner changed from jonas to ecarter
  • status changed from new to assigned

Changed 15 months ago by ecarter

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?

Changed 15 months ago by ecarter

  • keywords upgrade postgresql added

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

Changed 15 months ago by Dave Abrahams <dave@…>

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.

Changed 15 months ago by nulleke76@…

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.

Changed 15 months ago by cboos

  • status changed from assigned to closed
  • resolution set to duplicate

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.

Add/Change #5575 (After the update to svn 5734 database cannot be upgraded)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.