Opened 8 years ago

#316 new defect

OperationalError: unable to open database file

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

Description

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/main.py", line 497, in _dispatch_request
    dispatcher.dispatch(req)
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 214, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-x86_64/egg/trac/wiki/web_ui.py", line 178, in process_request
    return self._render_view(req, versioned_page)
  File "build/bdist.linux-x86_64/egg/trac/wiki/web_ui.py", line 688, in _render_view
    'attachments': AttachmentModule(self.env).attachment_data(context),
  File "build/bdist.linux-x86_64/egg/trac/attachment.py", line 554, in attachment_data
    attachments = self.viewable_attachments(context)
  File "build/bdist.linux-x86_64/egg/trac/attachment.py", line 545, in viewable_attachments
    for attachment in Attachment.select(self.env, parent.realm, parent.id):
  File "build/bdist.linux-x86_64/egg/trac/attachment.py", line 349, in select
    """, (parent_realm, unicode(parent_id))):
  File "build/bdist.linux-x86_64/egg/trac/db/api.py", line 122, in execute
    return db.execute(query, params)
  File "build/bdist.linux-x86_64/egg/trac/db/util.py", line 121, in execute
    cursor.execute(query, params)
  File "build/bdist.linux-x86_64/egg/trac/db/util.py", line 65, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "build/bdist.linux-x86_64/egg/trac/db/sqlite_backend.py", line 78, in execute
    result = PyFormatCursor.execute(self, *args)
  File "build/bdist.linux-x86_64/egg/trac/db/sqlite_backend.py", line 56, in execute
    args or [])
  File "build/bdist.linux-x86_64/egg/trac/db/sqlite_backend.py", 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.