Modify

Opened 10 years ago

Closed 10 years ago

#1539 closed defect (duplicate)

Internal Error When Moving Trac Ticket

Reported by: anonymous Owned by: Noah Kantrowitz
Priority: normal Component: DatamoverPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.10

Description (last modified by Alec Thomas)

Attempting to copy a ticket from one trac to another. In source trac instance navigate to Admin > (Data Mover) Tickets. Entered the ticket number, clicked copy.

Traceback (most recent call last):
  File "C:\Program Files\Python24\lib\site-packages\trac\web\main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "C:\Program Files\Python24\lib\site-packages\trac\web\main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "build\bdist.win32\egg\webadmin\web_ui.py", line 109, in process_request
  File "build\bdist.win32\egg\datamover\ticket.py", line 69, in process_admin_request
  File "build\bdist.win32\egg\datamover\util.py", line 60, in copy_ticket
  File "C:\Program Files\Python24\lib\site-packages\trac\db\util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "C:\Program Files\Python24\lib\site-packages\trac\db\sqlite_backend.py", line 56, in execute
    args or [])
  File "C:\Program Files\Python24\lib\site-packages\trac\db\sqlite_backend.py", line 48, in _rollback_on_error
    return function(self, *args, **kwargs)
OperationalError: table ticket_custom has no column named author

Attachments (0)

Change History (5)

comment:1 Changed 10 years ago by Alec Thomas

Description: modified (diff)

comment:2 Changed 10 years ago by anonymous

Same here: NOTE: Stripped out sensitive path information, and replaced with ....

Traceback (most recent call last):

File "....\Python24\Lib\site-packages\trac\web\main.py", line 387, in dispatch_request

dispatcher.dispatch(req)

File "....\Python24\Lib\site-packages\trac\web\main.py", line 237, in dispatch

resp = chosen_handler.process_request(req)

File "....\python24\lib\site-packages\TracWebAdmin-0.1.2dev_r4240-py2.4.egg\webadmin\web_ui.py", line 109, in process_request

path_info)

File "build\bdist.win32\egg\datamover\ticket.py", line 69, in process_admin_request File "build\bdist.win32\egg\datamover\util.py", line 60, in copy_ticket File "....\Python24\Lib\site-packages\trac\db\util.py", line 50, in execute

return self.cursor.execute(sql_escape_percent(sql), args)

File "....\Python24\Lib\site-packages\trac\db\sqlite_backend.py", line 56, in execute

args or [])

File "....\Python24\Lib\site-packages\trac\db\sqlite_backend.py", line 48, in _rollback_on_error

return function(self, *args, kwargs)

OperationalError: table ticket_custom has no column named author

comment:3 Changed 10 years ago by dmitry_ch@…

Cc: dmitry_ch@… added; anonymous removed

I've got the same error. It seems that there is a problem with CustomFieldPlugin that really has no such a field in its table...

comment:4 Changed 10 years ago by anonymous

Cc: anonymous added; dmitry_ch@… removed

#907 - has a solution.

comment:5 Changed 10 years ago by anonymous

Resolution: duplicate
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.