xrandr-tool depends on py3, not py2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xdiagnose (Ubuntu) |
Fix Released
|
High
|
Canonical Desktop Team |
Bug Description
Using Ubuntu 13.04, type "xrandr-tool outputs" and watch it crash with the following message:
Traceback (most recent call last):
File "./xrandr-tool", line 82, in <module>
for line in str(xrandr_stdout, encoding=
TypeError: str() takes at most 1 argument (2 given)
in /usr/bin/
Side question: why not port it to Python3 ASAP?
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: xdiagnose 3.5.1
ProcVersionSign
Uname: Linux 3.8.0-26-generic x86_64
NonfreeKernelMo
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: amd64
Date: Mon Jul 29 11:20:04 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-06-30 (28 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
PackageArchitec
SourcePackage: xdiagnose
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in xdiagnose (Ubuntu): | |
importance: | Undecided → High |
tags: | added: trusty |
Changed in xdiagnose (Ubuntu): | |
assignee: | nobody → Canonical Desktop Team (canonical-desktop-team) |
Just for testing purposes: removing the ", encoding='utf-8'" part makes it work.