Hi,
We are using TRAC on a windows system. For one project with 25 users
and around 100 new tickets a week, and we get quiet often the
following error:

Traceback (most recent call last):
  File "D:\Python25\lib\site-packages\trac\web\api.py", line 367, in send_error
    'text/html')
  File "D:\Python25\lib\site-packages\trac\web\chrome.py", line 688,
in render_template
    data = self.populate_data(req, data)
  File "D:\Python25\lib\site-packages\trac\web\chrome.py", line 596,
in populate_data
    d['chrome'].update(req.chrome)
  File "D:\Python25\lib\site-packages\trac\web\api.py", line 194, in __getattr__
    value = self.callbacks[name](self)
  File "D:\Python25\lib\site-packages\trac\web\chrome.py", line 464,
in prepare_request
    for category, name, text in contributor.get_navigation_items(req):
  File "D:\Python25\lib\site-packages\trac\ticket\web_ui.py", line
162, in get_navigation_items
    if 'TICKET_CREATE' in req.perm:
  File "D:\Python25\lib\site-packages\trac\perm.py", line 523, in has_permission
    return self._has_permission(action, resource)
  File "D:\Python25\lib\site-packages\trac\perm.py", line 537, in
_has_permission
    check_permission(action, perm.username, resource, perm)
  File "D:\Python25\lib\site-packages\trac\perm.py", line 424, in
check_permission
    perm)
  File "D:\Python25\lib\site-packages\trac\perm.py", line 282, in
check_permission
    get_user_permissions(username)
  File "D:\Python25\lib\site-packages\trac\perm.py", line 357, in
get_user_permissions
    for perm in self.store.get_user_permissions(username):
  File "D:\Python25\lib\site-packages\trac\perm.py", line 175, in
get_user_permissions
    cursor.execute("SELECT username,action FROM permission")
  File "D:\Python25\lib\site-packages\trac\db\util.py", line 51, in execute
    return self.cursor.execute(sql)
  File "D:\Python25\lib\site-packages\trac\db\sqlite_backend.py", line
58, in execute
    args or [])
  File "D:\Python25\lib\site-packages\trac\db\sqlite_backend.py", line
50, in _rollback_on_error
    return function(self, *args, **kwargs)
ProgrammingError: library routine called out of sequence

Trac used:
Trac: 0.11.2.1
Python:2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
setuptools:0.6c9
SQLite: 3.3.4
pysqlite:2.3.2
Genshi:0.5.1
mod_python: 3.3.1
Subversion: 1.6.6 (r40053)
RPC:1.1.0-r0
CustomFieldAdmin:0.2.2
jQuery:1.2.6

What could be the cause and how could we solve this?

Regards,

Patrick

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to