Opened 11 years ago

Closed 11 years ago

#2078 closed defect (invalid)

IntegrityError: columns ticket, time, field are not unique

Reported by: yifan.liu@… Owned by: Alec Thomas
Priority: highest Component: BugReporterPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.10

Description (last modified by Alec Thomas)

7. Import bugs and bug activity...
Traceback (most recent call last):
  File "G:\Documents and Settings\Administrator\Desktop\", line 895, in ?
  File "G:\Documents and Settings\Administrator\Desktop\", line 892, in main
  File "G:\Documents and Settings\Administrator\Desktop\", line 672, in convert
    value = desc['thetext'])
  File "G:\Documents and Settings\Administrator\Desktop\", line 365, in addTicketComment
    (ticket, time.strftime('%s'), author, 'comment', '', comment))
  File "G:\Python24\Lib\site-packages\trac\db\", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "G:\Python24\Lib\site-packages\trac\db\", line 56, in execute
    args or [])
  File "G:\Python24\Lib\site-packages\trac\db\", line 48, in _rollback_on_error
    return function(self, *args, **kwargs)
IntegrityError: columns ticket, time, field are not unique

When I transfered the data from bugzilla to the trac, I got this error all the times. Who can explain the reason? :)

Attachments (0)

Change History (1)

comment:1 Changed 11 years ago by Alec Thomas

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

Please don't raise support requests as tickets,. Send them to the t:MailingList or t:IrcChannel.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Alec Thomas.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.