Modify

Opened 7 years ago

Closed 7 years ago

#1539 closed defect (duplicate)

Internal Error When Moving Trac Ticket

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

Description (last modified by athomas)

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

  • Description modified (diff)

comment:2 Changed 7 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 7 years ago by dmitry_ch@…

  • Cc dmitry_ch@… added

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 7 years ago by anonymous

  • Cc dmitry_ch@… removed

#907 - has a solution.

comment:5 Changed 7 years ago by anonymous

  • Resolution set to duplicate
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.