Modify

Opened 7 years ago

Closed 6 years ago

#2802 closed defect (worksforme)

Cant save Announcer preferences on Postgres backend db

Reported by: anonymous Owned by: doki_pen
Priority: normal Component: AnnouncerPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

This is what happens:

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/web/main.py", line 398, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/web/main.py", line 220, in dispatch
    req.session.save()
  File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/web/session.py", line 184, in save
    "VALUES(%s,%s,%s,%s)", attrs)
  File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/db/util.py", line 57, in executemany
    return self.cursor.executemany(sql_escape_percent(sql), args)
  File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/db/util.py", line 57, in executemany
    return self.cursor.executemany(sql_escape_percent(sql), args)
ProgrammingError: column "value" is of type text but expression is of type boolean
LINE 1: ...RT INTO session_attribute (sid,authenticated,name,value) VAL...
                                                             ^
HINT:  You will need to rewrite or cast the expression.


Attachments (0)

Change History (3)

comment:2 Changed 6 years ago by doki_pen

  • Owner changed from ixokai to doki_pen
  • Status changed from new to assigned

comment:3 Changed 6 years ago by doki_pen

  • Resolution set to worksforme
  • Status changed from assigned to closed

maybe the trac code has been fixed?

Add Comment

Modify Ticket

Action
as closed The owner will remain doki_pen.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.