Edgewall Software
Modify

Ticket #7957 (closed defect: wontfix)

Opened 3 years ago

Last modified 3 years ago

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:
Release Notes:
API Changes:

Description (last modified by rblank) (diff)

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

Change History

comment:1 Changed 3 years ago by anonymous

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 Changed 3 years ago by rblank

  • Description modified (diff)

comment:3 Changed 3 years ago by anonymous

  • Component changed from general to admin/web
  • Milestone changed from 0.11.6 to 0.11.5
  • Priority changed from normal to high
  • Version changed from 0.11.2.1 to 0.11.4

I am still having this error as of 0.11.4

comment:4 Changed 3 years ago by cboos

  • Milestone 0.11.6 deleted
  • Resolution set to wontfix
  • Status changed from new to closed

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).

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from (none). Next status will be 'closed'
Author


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

 
Note: See TracTickets for help on using tickets.