Edgewall Software
Modify

Opened 12 years ago

Closed 11 years ago

#7957 closed defect (wontfix)

web-based rename milestone or component causes OperationalError: unable to open database file

Reported by: anonymous Owned by:
Priority: high Milestone:
Component: admin/web Version: 0.11.4
Severity: normal Keywords: operaationalerror rename
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Remy Blank)

using account with admin permissions -

web-based rename milestone or component causes OperationalError: unable to open database file

command-line rename works fine. browser based addition of milestones and components works fine.

File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/web/main.py", line 432, in _dispatch_request
  dispatcher.dispatch(req)
File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/web/main.py", line 204, in dispatch
  resp = chosen_handler.process_request(req)
File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/admin/web_ui.py", line 113, in process_request
  path_info)
File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/ticket/admin.py", line 43, in render_admin_panel
  return self._render_admin_panel(req, cat, page, version)
File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/ticket/admin.py", line 160, in _render_admin_panel
  mil.update()
File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/ticket/model.py", line 715, in update
  self._old_name))
File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/db/util.py", line 50, in execute
  return self.cursor.execute(sql_escape_percent(sql), args)
File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/db/sqlite_backend.py", line 58, in execute
  args or [])
File "/usr/lib/python2.5/site-packages/Trac-0.11.2.1-py2.5.egg/trac/db/sqlite_backend.py", line 50, in _rollback_on_error
  return function(self, *args, **kwargs)

Attachments (0)

Change History (4)

comment:1 by anonymous, 12 years ago

here are the software versions

0.11.2.1 Python: 2.5.2 (r252:60911, Oct 5 2008, 19:42:18) [GCC 4.3.2] setuptools: 0.6c9 SQLite: 3.5.9 pysqlite: 2.4.1 Genshi: 0.5.1 mod_python: 3.3.1 Subversion: 1.5.1 (r32289) jQuery: 1.2.6

comment:2 by Remy Blank, 12 years ago

Description: modified (diff)

comment:3 by anonymous, 12 years ago

Component: generaladmin/web
Milestone: 0.11.60.11.5
Priority: normalhigh
Version: 0.11.2.10.11.4

I am still having this error as of 0.11.4

comment:4 by Christian Boos, 11 years ago

Milestone: 0.11.6
Resolution: wontfix
Status: newclosed

I suppose it's an InstallationIssue.

Also try to upgrade SQLite and PySqlite, as SQLite 3.5.9 was reported to be defective in some environments (see here).

Please reopen if you can reproduce with recent versions of everything (incl. Trac 0.11.5).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) 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.