Edgewall Software
Modify

Ticket #4007 (closed defect: wontfix)

Opened 5 years ago

Last modified 16 months ago

trac 0.10 unable to open DB

Reported by: anonymous Owned by: jonas
Priority: high Milestone:
Component: general Version: 0.10
Severity: normal Keywords: python24 windows
Cc:
Release Notes:
API Changes:

Description

After complete installation, following the instructions on the TracOnWindows page,
only the following output appears.
trac.ini and httpd.conf file seem to be correct

Traceback (most recent call last):
  File "C:\Python24\Lib\site-packages\trac\web\main.py", line 356, in dispatch_request
    dispatcher.dispatch(req)
  File "C:\Python24\Lib\site-packages\trac\web\main.py", line 224, in dispatch
    resp = chosen_handler.process_request(req)
  File "C:\Python24\Lib\site-packages\trac\wiki\web_ui.py", line 134, in process_request
    self._render_view(req, db, page)
  File "C:\Python24\Lib\site-packages\trac\wiki\web_ui.py", line 446, in _render_view
    req.hdf['wiki'] = {
  File "C:\Python24\Lib\site-packages\trac\wiki\formatter.py", line 999, in wiki_to_html
    Formatter(env, req, absurls, db).format(wikitext, out, escape_newlines)
  File "C:\Python24\Lib\site-packages\trac\wiki\formatter.py", line 822, in format
    result = re.sub(self.wiki.rules, self.replace, line)
  File "C:\Python24\lib\sre.py", line 142, in sub
    return _compile(pattern, 0).sub(repl, string, count)
  File "C:\Python24\Lib\site-packages\trac\wiki\formatter.py", line 768, in replace
    replacement = self.handle_match(fullmatch)
  File "C:\Python24\Lib\site-packages\trac\wiki\formatter.py", line 761, in handle_match
    return external_handler(self, match, fullmatch)
  File "C:\Python24\Lib\site-packages\trac\wiki\api.py", line 253, in wikipagename_link
    self.ignore_missing_pages)
  File "C:\Python24\Lib\site-packages\trac\wiki\api.py", line 280, in _format_link
    if not self.has_page(page):
  File "C:\Python24\Lib\site-packages\trac\wiki\api.py", line 164, in has_page
    self._update_index()
  File "C:\Python24\Lib\site-packages\trac\wiki\api.py", line 141, in _update_index
    cursor.execute("SELECT DISTINCT name FROM wiki")
  File "C:\Python24\Lib\site-packages\trac\db\util.py", line 48, in execute
    return self.cursor.execute(sql)
  File "C:\Python24\Lib\site-packages\sqlite\main.py", line 244, in execute
    self.rs = self.con.db.execute(SQL)
DatabaseError: unable to open database file

Attachments

Change History

comment:1 Changed 5 years ago by anonymous

This should be asked on the MailingList first to try and get help. If you still can't resolve the issue, then it is a good time to open a ticket.

Lots of possibilities. Here is one answer that may help: http://lists.edgewall.com/archive/trac/2005-May/002990.html

comment:2 Changed 5 years ago by cboos

  • Resolution set to wontfix
  • Status changed from new to closed

This was most probably due to the problem mentioned in the above comment.

comment:3 Changed 16 months ago by rblank

  • Keywords python2.4 removed
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 jonas. 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.