Edgewall Software
Modify

Ticket #5575 (closed defect: duplicate)

Opened 5 years ago

Last modified 5 years 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:
Release Notes:
API 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

Change History

comment:1 Changed 5 years ago by ecarter

  • Owner changed from jonas to ecarter
  • Status changed from new to assigned

comment:2 Changed 5 years 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?

comment:3 Changed 5 years ago by ecarter

  • Keywords upgrade postgresql added

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

comment:4 Changed 5 years 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.

comment:5 Changed 5 years 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.

comment:6 Changed 5 years ago by cboos

  • Resolution set to duplicate
  • Status changed from assigned to closed

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.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from ecarter. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.