[Bug 1152222] Re: pycurl fails with TypeError: string argument expected, got 'bytes'

Dmitrijs Ledkovs launchpad at surgut.co.uk
Wed Apr 3 10:07:33 UTC 2013


Hmm.... blocked by bug 1163609

-- 
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:
  pycurl fails with TypeError: string argument expected, got 'bytes'

Status in “pycurl” package in Ubuntu:
  Confirmed

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