Discussion:
[Urwid] buggy search on the website
Goffi
2014-01-28 11:47:05 UTC
Permalink
G'day,

just for the record, the quick search in urwid doc is buggy. If I do a search
e.g. on http://excess.org/urwid/docs/reference/index.html#urwid-reference, i
have the traceback below.

Cheers
Goffi

Traceback (most recent call last):
File "/usr/local/lib/python2.5/site-packages/Trac-0.11.3-
py2.5.egg/trac/web/api.py", line 367, in send_error
'text/html')
File "/usr/local/lib/python2.5/site-packages/Trac-0.11.3-
py2.5.egg/trac/web/chrome.py", line 708, in render_template
data = self.populate_data(req, data)
File "/usr/local/lib/python2.5/site-packages/Trac-0.11.3-
py2.5.egg/trac/web/chrome.py", line 618, in populate_data
d['chrome'].update(req.chrome)
File "/usr/local/lib/python2.5/site-packages/Trac-0.11.3-
py2.5.egg/trac/web/api.py", line 194, in __getattr__
value = self.callbacks[name](self)
File "/usr/local/lib/python2.5/site-packages/Trac-0.11.3-
py2.5.egg/trac/web/chrome.py", line 476, in prepare_request
for category, name, text in contributor.get_navigation_items(req):
File "/usr/local/lib/python2.5/site-packages/Trac-0.11.3-
py2.5.egg/trac/ticket/web_ui.py", line 163, in get_navigation_items
if 'TICKET_CREATE' in req.perm:
File "/usr/local/lib/python2.5/site-packages/Trac-0.11.3-
py2.5.egg/trac/perm.py", line 524, in has_permission
return self._has_permission(action, resource)
File "/usr/local/lib/python2.5/site-packages/Trac-0.11.3-
py2.5.egg/trac/perm.py", line 538, in _has_permission
check_permission(action, perm.username, resource, perm)
File "/usr/local/lib/python2.5/site-packages/Trac-0.11.3-
py2.5.egg/trac/perm.py", line 425, in check_permission
perm)
File "/usr/local/lib/python2.5/site-packages/Trac-0.11.3-
py2.5.egg/trac/perm.py", line 282, in check_permission
get_user_permissions(username)
File "/usr/local/lib/python2.5/site-packages/Trac-0.11.3-
py2.5.egg/trac/perm.py", line 357, in get_user_permissions
for perm in self.store.get_user_permissions(username):
File "/usr/local/lib/python2.5/site-packages/Trac-0.11.3-
py2.5.egg/trac/perm.py", line 173, in get_user_permissions
db = self.env.get_db_cnx()
File "/usr/local/lib/python2.5/site-packages/Trac-0.11.3-
py2.5.egg/trac/env.py", line 273, in get_db_cnx
return DatabaseManager(self).get_connection()
File "/usr/local/lib/python2.5/site-packages/Trac-0.11.3-
py2.5.egg/trac/db/api.py", line 76, in get_connection
return self._cnx_pool.get_cnx(self.timeout or None)
File "/usr/local/lib/python2.5/site-packages/Trac-0.11.3-
py2.5.egg/trac/db/pool.py", line 174, in get_cnx
return _backend.get_cnx(self._connector, self._kwargs, timeout)
File "/usr/local/lib/python2.5/site-packages/Trac-0.11.3-
py2.5.egg/trac/db/pool.py", line 107, in get_cnx
cnx = connector.get_connection(**kwargs)
File "/usr/local/lib/python2.5/site-packages/Trac-0.11.3-
py2.5.egg/trac/db/sqlite_backend.py", line 126, in get_connection
return SQLiteConnection(path, params)
File "/usr/local/lib/python2.5/site-packages/Trac-0.11.3-
py2.5.egg/trac/db/sqlite_backend.py", line 168, in __init__
% (getuser(), path))
TracError: The user www-data requires read _and_ write permission to the
database file /var/local/trac/urwid/db/trac.db and the directory it is located
in.
Ian Ward
2014-01-28 12:04:50 UTC
Permalink
Post by Goffi
G'day,
just for the record, the quick search in urwid doc is buggy. If I do a search
e.g. on http://excess.org/urwid/docs/reference/index.html#urwid-reference, i
have the traceback below.
Thanks. I've fixed that traceback on the old urwid trac site. I don't
see any issues with searching on the new reference:
http://urwid.org/reference/index.html

Ian
Goffi
2014-01-28 12:28:31 UTC
Permalink
Oh I didn't noticed the new website. Indeed it seems to work there, thanks.
Post by Ian Ward
Post by Goffi
G'day,
just for the record, the quick search in urwid doc is buggy. If I do a
search e.g. on
http://excess.org/urwid/docs/reference/index.html#urwid-reference, i have
the traceback below.
Thanks. I've fixed that traceback on the old urwid trac site. I don't
http://urwid.org/reference/index.html
Ian
_______________________________________________
Urwid mailing list
Urwid at lists.excess.org
http://lists.excess.org/mailman/listinfo/urwid
Continue reading on narkive:
Loading...