Opened 8 years ago

#316 new defect

OperationalError: unable to open database file

Reported by: juaco Owned by:
Priority: major Milestone:
Component: TracMeteo Keywords:


How to Reproduce

While doing a GET operation on /wiki, Trac issued an internal error.

(please provide additional details here)

Request parameters:


User agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:26.0) Gecko/20100101 Firefox/26.0

System Information

System information not available

Enabled Plugins

Plugin information not available

Python Traceback

Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/trac/web/", line 497, in _dispatch_request
  File "build/bdist.linux-x86_64/egg/trac/web/", line 214, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-x86_64/egg/trac/wiki/", line 178, in process_request
    return self._render_view(req, versioned_page)
  File "build/bdist.linux-x86_64/egg/trac/wiki/", line 688, in _render_view
    'attachments': AttachmentModule(self.env).attachment_data(context),
  File "build/bdist.linux-x86_64/egg/trac/", line 554, in attachment_data
    attachments = self.viewable_attachments(context)
  File "build/bdist.linux-x86_64/egg/trac/", line 545, in viewable_attachments
    for attachment in, parent.realm,
  File "build/bdist.linux-x86_64/egg/trac/", line 349, in select
    """, (parent_realm, unicode(parent_id))):
  File "build/bdist.linux-x86_64/egg/trac/db/", line 122, in execute
    return db.execute(query, params)
  File "build/bdist.linux-x86_64/egg/trac/db/", line 121, in execute
    cursor.execute(query, params)
  File "build/bdist.linux-x86_64/egg/trac/db/", line 65, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "build/bdist.linux-x86_64/egg/trac/db/", line 78, in execute
    result = PyFormatCursor.execute(self, *args)
  File "build/bdist.linux-x86_64/egg/trac/db/", line 56, in execute
    args or [])
  File "build/bdist.linux-x86_64/egg/trac/db/", line 48, in _rollback_on_error
    return function(self, *args, **kwargs)
OperationalError: unable to open database file

Change History (0)

Note: See TracTickets for help on using tickets.