Just for testing purposes: removing the ", encoding='utf-8'" part makes
it work.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xdiagnose in Ubuntu.
https://bugs.launchpad.net/bugs/1206060

Title:
  xrandr-tool crashes when providing one argument

Status in “xdiagnose” package in Ubuntu:
  New

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='utf8').split("\n"):
   TypeError: str() takes at most 1 argument (2 given)

  in /usr/bin/xrandr-tool, line 82, the str() builtin does not accept a second 
argument. So, this  is wrong.
  Side question: why not port it to Python3 ASAP?

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: xdiagnose 3.5.1
  ProcVersionSignature: Ubuntu 3.8.0-26.38-generic 3.8.13.2
  Uname: Linux 3.8.0-26-generic x86_64
  NonfreeKernelModules: wl
  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
  PackageArchitecture: all
  SourcePackage: xdiagnose
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to