wxclient barfs when trying to create a user with a username containing i18nal characters

Bug #79779 reported by Gintautas Miliauskas
6
Affects Status Importance Assigned to Milestone
SchoolTool
Fix Released
Medium
Unassigned

Bug Description

wxclient raises this exception when trying to create a user with i18nal
characters in the username:

Traceback (most recent call last):
  File "/usr/lib/schooltool-clients/schooltool/clients/wxclient.py", line 1039,
in OnOk
    self.client.createPerson(name, username, password)
  File "/usr/lib/schooltool-clients/schooltool/clients/guiclient.py", line 488,
in createPerson
    response = self.put(path, body)
  File "/usr/lib/schooltool-clients/schooltool/clients/guiclient.py", line 181,
in put
    return self._request('PUT', path, body, headers=headers)
  File "/usr/lib/schooltool-clients/schooltool/clients/guiclient.py", line 215,
in _request
    conn.request(method, path, body, hdrs)
  File "/usr/lib/python2.3/httplib.py", line 718, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python2.3/httplib.py", line 739, in _send_request
    self.endheaders()
  File "/usr/lib/python2.3/httplib.py", line 712, in endheaders
    self._send_output()
  File "/usr/lib/python2.3/httplib.py", line 597, in _send_output
    self.send(msg)
  File "/usr/lib/python2.3/httplib.py", line 576, in send
    self.sock.sendall(str)
  File "<string>", line 1, in sendall
UnicodeEncodeError: 'ascii' codec can't encode characters in position 13-15:
ordinal not in range(128)

Revision history for this message
Gintautas Miliauskas (gintas) wrote :

wxclient has been deprecated; there is no need to fix its bugs.
(should the status be set to 'resolved'?)

Revision history for this message
Gintautas Miliauskas (gintas) wrote :

The wxWidgets client is not supported any more.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.