Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#3191 closed defect (duplicate)

exception when modifying issue type

Reported by: anonymous Owned by: Jonas Borgström
Priority: normal Milestone:
Component: ticket system Version: 0.9.5
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

I tried to edit an issue type of an already existing issue to a new issue_type and got an exception that claimed it was unable to open the database file. There was no actual problem with the database file as I was able to view existing tickets and even create new ones.

I was using Trac 0.9.5 with sqlite 3.3.5 running under Apache 2.054 and Python 2.3.5 using cgi on Win2K sp4


Trac detected an internal error: unable to open database file

Traceback (most recent call last):
  File "C:\Python23\Lib\site-packages\trac\web\cgi_frontend.py", line 130, in run
    dispatch_request(req.path_info, req, env)
  File "C:\Python23\Lib\site-packages\trac\web\main.py", line 139, in dispatch_request
    dispatcher.dispatch(req)
  File "C:\Python23\Lib\site-packages\trac\web\main.py", line 107, in dispatch
    resp = chosen_handler.process_request(req)
  File "C:\Python23\Lib\site-packages\trac\ticket\web_ui.py", line 189, in process_request
    self._do_save(req, db, ticket)
  File "C:\Python23\Lib\site-packages\trac\ticket\web_ui.py", line 347, in _do_save
    req.args.get('comment'), when=now, db=db)
  File "C:\Python23\Lib\site-packages\trac\ticket\model.py", line 226, in save_changes
    (self[name], self.id))
  File "C:\Python23\Lib\site-packages\sqlite\main.py", line 255, in execute
    self.rs = self.con.db.execute(SQL % parms)
DatabaseError: unable to open database file

Attachments (0)

Change History (3)

comment:1 by Christian Boos, 18 years ago

Description: modified (diff)

When you say "edited the issue type", did you do that using Trac or directly on the database, using sqlite3.exe?

comment:2 by anonymous, 18 years ago

Using Trac through the web UI, the traceback came directly after the attempt.

comment:3 by Christian Boos, 18 years ago

Resolution: duplicate
Status: newclosed

Looks like a duplicate of #4007.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.