Modify ↓
Opened 18 years ago
Closed 18 years ago
#4010 closed defect (worksforme)
Upgrading trac from 0.9 to 0.10 results in OperationalError
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.10 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
After running trac-admin upgrade I got this error when trying to create ticket:
Traceback (most recent call last): File "/var/lib/python-support/python2.3/trac/web/main.py", line 356, in dispatch_request dispatcher.dispatch(req) File "/var/lib/python-support/python2.3/trac/web/main.py", line 224, in dispatch resp = chosen_handler.process_request(req) File "/var/lib/python-support/python2.3/trac/ticket/web_ui.py", line 129, in process_request ticket = Ticket(self.env, db=db) File "/var/lib/python-support/python2.3/trac/ticket/model.py", line 37, in __init__ self.fields = TicketSystem(self.env).get_ticket_fields() File "/var/lib/python-support/python2.3/trac/ticket/api.py", line 123, in get_ticket_fields options = [val.name for val in cls.select(self.env, db=db)] File "/var/lib/python-support/python2.3/trac/ticket/model.py", line 419, in select (cls.type,)) File "/var/lib/python-support/python2.3/trac/db/util.py", line 47, in execute return self.cursor.execute(sql_escape_percent(sql), args) File "/var/lib/python-support/python2.3/trac/db/util.py", line 47, in execute return self.cursor.execute(sql_escape_percent(sql), args) File "/usr/lib/python2.3/site-packages/pyPgSQL/PgSQL.py", line 3091, in execute self.res = self.conn.conn.query('FETCH 1 FROM "%s"' % self.name) OperationalError: ERROR: invalid input syntax for integer: "6.0"
Trac 0.10 is from Debian unstable. My Trac database is stored in PostgreSQL, trying to browse roadmap produces similar error.
Attachments (0)
Change History (3)
comment:1 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 18 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
(for changing resolution type)
comment:3 by , 18 years ago
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
(we used fixed for something that requires a change to the code base)
Note:
See TracTickets
for help on using tickets.
Solved using this query on Trac database: