Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#3494 closed defect (invalid)

Error when trying to submit bug report

Reported by: smorel@… Owned by: Jonas Borgström
Priority: highest Milestone:
Component: general Version: 0.9.6
Severity: blocker Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Matthew Good)

I hit the following problem when I tried to report a suggestion to thomas@… regarding SortableList Demo at script.aculo.us: Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 314, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 199, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.4/site-packages/trac/ticket/web_ui.py", line 109, in process_request
    self._do_create(req, db)
  File "/usr/local/lib/python2.4/site-packages/trac/ticket/web_ui.py", line 170, in _do_create
    ticket.insert(db=db)
  File "/usr/local/lib/python2.4/site-packages/trac/ticket/model.py", line 162, in insert
    [self[name] for name in std_fields] +
  File "/usr/local/lib/python2.4/site-packages/trac/db/util.py", line 47, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/usr/local/lib/python2.4/site-packages/trac/db/util.py", line 47, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/usr/local/lib/python2.4/site-packages/pyPgSQL/PgSQL.py", line 3111, in execute
    raise OperationalError, msg
OperationalError: ERROR:  null value in column "id" violates not-null constraint

Attachments (1)

Error.pdf (153.4 KB ) - added by smorel@… 18 years ago.
Print of Error Screen when submitting bug report

Download all attachments as: .zip

Change History (2)

by smorel@…, 18 years ago

Attachment: Error.pdf added

Print of Error Screen when submitting bug report

comment:1 by Matthew Good, 18 years ago

Description: modified (diff)
Resolution: invalid
Status: newclosed

It looks like RoR has broken their Trac database. The "id" column on the ticket table should be declared "SERIAL" in order to automatically increment. This is done when Trac creates its tables, but the RoR appears to have made changes to the database structure which were incorrect. Please report the issue to their administrators and ask them to fix it. The are welcome to ask for help on the Trac MailingList in fixing the problem.

Also, please attach screenshots as PNG or JPG images. PDF files are inconvenient when they just contain a single image.

Modify Ticket

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