Opened 9 years ago

Closed 9 years ago

#2078 closed defect (invalid)

IntegrityError: columns ticket, time, field are not unique

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

Description (last modified by athomas)

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 9 years ago by athomas

  • Component changed from TracHacks to BugReporterPlugin
  • Description modified (diff)
  • Resolution set to invalid
  • Status changed from new to closed

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

Add Comment

Modify Ticket

as closed The owner will remain athomas.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.