policyui.py crashed with TypeError in setVirtual()

Bug #263682 reported by Typhoe
6
Affects Status Importance Assigned to Milestone
screen-resolution-extra (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: screen-resolution-extra

Hi,

trying to set up the dual display on my notebook (main LCD 15.4 1680x1050 + External VGA LCD 24" 1920x1200), I got this crash.
The system asked me to set automatically the virtual display, then crash.

My system has just been rebooted afer the dist-upgrade (09/01/2008).

I'm using the Ubuntu intrepid development branch.

Regards,
Typhoe

screen-resolution-extra:
  Installé : 0.1
  Candidat : 0.1
 Table de version :
 *** 0.1 0
        500 http://fr.archive.ubuntu.com intrepid/universe Packages
        500 http://archive.ubuntu.com intrepid/universe Packages
        100 /var/lib/dpkg/status

ProblemType: Crash
Architecture: amd64
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/share/screen-resolution-extra/policyui.py
InterpreterPath: /usr/bin/python2.5
NonfreeKernelModules: nvidia
Package: screen-resolution-extra 0.1
PackageArchitecture: all
ProcAttrCurrent: unconfined
ProcCmdline: python /usr/share/screen-resolution-extra/policyui.py -1,-1:-1x-1 1680,0:1920x1200 0,0:1680x1050
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/share/screen-resolution-extra/policyui.py', '-1,-1:-1x-1', '1680,0:1920x1200', '0,0:1680x1050']
SourcePackage: screen-resolution-extra
Title: policyui.py crashed with TypeError in setVirtual()
Uname: Linux 2.6.27-2-generic x86_64
UserGroups: adm admin cdrom dialout fuse lpadmin plugdev sambashare vboxusers

Tags: apport-crash
Revision history for this message
Typhoe (spamistrash) wrote :
Revision history for this message
Typhoe (spamistrash) wrote :

I tried to invoke the command using the command line.
Here is the ouput I got:
python /usr/share/screen-resolution-extra/policyui.py -1,-1:-1x-1 1680,0:1920x1200 0,0:1680x1050
Traceback (most recent call last):
  File "/usr/share/screen-resolution-extra/policyui.py", line 190, in on_button1_clicked
    status = self.conf.setVirtual(self.resolution)
  File "/var/lib/python-support/python2.5/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/var/lib/python-support/python2.5/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 607, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/dbus/service.py", line 696, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/share/screen-resolution-extra/screenresolution-mechanism.py", line 259, in setVirtual
    backup = source + time.time()
TypeError: cannot concatenate 'str' and 'float' objects

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.