Christian Boos wrote:
> I'm not sure which problem you're talking about here.  Using for example 
> "cboos" as a sid?
> Well, fortunately that doesn't seem work, but I'm not sure it's by 
> design or by accident ;-)

In the meantime I have tried reproducing the issue, and indeed it
doesn't seem to work. However, instead of reporting the error, I get a
traceback:

Traceback (most recent call last):
  File "/home/joe/src/trac/0.12-stable/trac/web/main.py", line 511, in
_dispatch_request
    dispatcher.dispatch(req)
  File "/home/joe/src/trac/0.12-stable/trac/web/main.py", line 237, in
dispatch
    resp = chosen_handler.process_request(req)
  File "/home/joe/src/trac/0.12-stable/trac/prefs/web_ui.py", line 77,
in process_request
    template, data = chosen_provider.render_preference_panel(req, panel_id)
  File "/home/joe/src/trac/0.12-stable/trac/prefs/web_ui.py", line 99,
in render_preference_panel
    self._do_save(req)
  File "/home/joe/src/trac/0.12-stable/trac/prefs/web_ui.py", line 135,
in _do_save
    req.session.change_sid(val)
  File "/home/joe/src/trac/0.12-stable/trac/web/session.py", line 197,
in change_sid
    @self.env.with_transaction()
  File "/home/joe/src/trac/0.12-stable/trac/db/api.py", line 77, in
transaction_wrapper
    fn(ldb)
  File "/home/joe/src/trac/0.12-stable/trac/web/session.py", line 205,
in update_session_id
    id=new_sid), _("Error renaming session")))
TypeError: decoding Unicode is not supported

It looks like a parenthesis is placed at the wrong location...

-- Remy

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to