brlapi.OperationError.__str__ return bytes

Bug #1082679 reported by Marcus Habermehl on 2012-11-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
brltty (Ubuntu)
Undecided
Unassigned

Bug Description

brlapi seems to be not fully python3 compatible.

If brlapi raises a brlapi.OperationError and I want to print this error I get an TypeError, because the __str__ method returns the message as bytes, not as string.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: python3-brlapi 4.4-5ubuntu3
ProcVersionSignature: Ubuntu 3.5.0-19.30-generic 3.5.7
Uname: Linux 3.5.0-19-generic i686
ApportVersion: 2.6.1-0ubuntu6
Architecture: i386
Date: Sat Nov 24 15:51:20 2012
InstallationDate: Installed on 2011-05-13 (560 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
MarkForUpload: True
SourcePackage: brltty
UpgradeStatus: Upgraded to quantal on 2012-10-19 (36 days ago)

Marcus Habermehl (bmh1980de) wrote :

This should get fixed by the next brltty version, 4.5, to be released very soon.

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

Other bug subscribers