Edgewall Software

Ticket #3494 (closed defect: invalid)

Opened 2 years ago

Last modified 2 years ago

Error when trying to submit bug report

Reported by: smorel@… Owned by: jonas
Priority: highest Milestone:
Component: general Version: 0.9.6
Severity: blocker Keywords:
Cc:

Description (last modified by mgood) (diff)

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

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

Change History

Changed 2 years ago by smorel@…

Print of Error Screen when submitting bug report

Changed 2 years ago by mgood

  • status changed from new to closed
  • resolution set to invalid
  • description modified (diff)

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.

Add/Change #3494 (Error when trying to submit bug report)

Author



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