Hello,

I'm looking for help interpreting an error.  The user was submitting a
change to close a ticket (946) and got "Oops... Trac detected an
internal error: IntegrityError: columns ticket, time, field are not
unique".
Searching for the time in 946 only finds the one ticket.

Thanks for any suggestions,
- jevans


>From the log:

2009-07-29 09:47:47,339 Trac[main] ERROR: Internal Server Error:
Traceback (most recent call last):
  File "c:\programs\python26\lib\site-packages\Trac-0.11.4-py2.6-
win32.egg\trac\web\main.py", line 435, in _dispatch_request
    dispatcher.dispatch(req)
  File "c:\programs\python26\lib\site-packages\Trac-0.11.4-py2.6-
win32.egg\trac\web\main.py", line 205, in dispatch
    resp = chosen_handler.process_request(req)
  File "c:\programs\python26\lib\site-packages\Trac-0.11.4-py2.6-
win32.egg\trac\ticket\web_ui.py", line 182, in process_request
    return self._process_ticket_request(req)
  File "c:\programs\python26\lib\site-packages\Trac-0.11.4-py2.6-
win32.egg\trac\ticket\web_ui.py", line 508, in _process_ticket_request
    self._do_save(req, ticket, action)
  File "c:\programs\python26\lib\site-packages\Trac-0.11.4-py2.6-
win32.egg\trac\ticket\web_ui.py", line 1014, in _do_save
    cnum=internal_cnum):
  File "c:\programs\python26\lib\site-packages\Trac-0.11.4-py2.6-
win32.egg\trac\ticket\model.py", line 278, in save_changes
    self[name]))
  File "c:\programs\python26\lib\site-packages\Trac-0.11.4-py2.6-
win32.egg\trac\db\util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "c:\programs\python26\lib\site-packages\Trac-0.11.4-py2.6-
win32.egg\trac\db\sqlite_backend.py", line 58, in execute
    args or [])
  File "c:\programs\python26\lib\site-packages\Trac-0.11.4-py2.6-
win32.egg\trac\db\sqlite_backend.py", line 50, in _rollback_on_error
    return function(self, *args, **kwargs)
IntegrityError: columns ticket, time, field are not unique
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to