[Bug 1152222] Re: thin-client-config-agent fails in pycurl with TypeError: string argument expected, got 'bytes'

Launchpad Bug Tracker 1152222 at bugs.launchpad.net
Wed Apr 3 16:23:21 UTC 2013


** Branch linked: lp:thin-client-config-agent

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pycurl in Ubuntu.
https://bugs.launchpad.net/bugs/1152222

Title:
  thin-client-config-agent fails in pycurl with TypeError: string
  argument expected, got 'bytes'

Status in “pycurl” package in Ubuntu:
  Invalid
Status in “thin-client-config-agent” package in Ubuntu:
  Fix Committed

Bug description:
  When using thin-client-config-agent, the recent release of the pycurl
  package breaks the Remote Login feature.

  The following test shows the error:

  echo -n "test" | /usr/bin/thin-client-config-agent test at example.com
  TypeError: string argument expected, got 'bytes'
  Exception: <class 'pycurl.error'>
  (23, 'Failed writing header')
  { "Error": "Contact your administrator" }

  This is the regression as of version 7.19.0-5ubuntu6 of the package.

  Previously, on quantal and up to raring 7.19.0-5ubuntu3 the expected result was:
  Invalid username or password
  { "Error": "Invalid username or password" }

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pycurl/+bug/1152222/+subscriptions




More information about the foundations-bugs mailing list