Modify ↓
#4007 closed defect (wontfix)
trac 0.10 unable to open DB
| Reported by: | anonymous | Owned by: | Jonas Borgström |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | general | Version: | 0.10 |
| Severity: | normal | Keywords: | python24 windows |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal 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 (0)
Change History (3)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
This was most probably due to the problem mentioned in the above comment.
comment:3 by , 15 years ago
| Keywords: | python2.4 removed |
|---|
Note:
See TracTickets
for help on using tickets.



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