[Jaunty 9.04 alpha5] "System Testing" won't start (checkbox-gtk)

Bug #335773 reported by Falk
106
This bug affects 4 people
Affects Status Importance Assigned to Milestone
checkbox (Ubuntu)
Fix Released
Medium
David Murphy

Bug Description

Binary package hint: checkbox-gtk

When trying to start "System Testing" from System -> Administration menu

/usr/bin/checkbox-gtk
<string>:19: DeprecationWarning: the md5 module is deprecated; use hashlib instead.

A default installed 9.04

--
apt-cache policy checkbox-gtk
checkbox-gtk:
  Installed: 0.5
  Candidate: 0.5
  Version table:
 *** 0.5 0
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status
--

Revision history for this message
Silviu Grijincu (silviu.grijincu) wrote :

I can confirm this bug.
The problem appears after upgrading to jaunty alpha-5.

Changed in checkbox:
status: New → Confirmed
Revision history for this message
sfn (safin-poczta) wrote :

$ gksu /usr/bin/checkbox-gtk
  File "/usr/share/checkbox/run", line 40, in <module>
    main()
  File "/usr/share/checkbox/run", line 35, in main
    application = manager.create_application(sys.argv)
  File "/usr/lib/python2.6/dist-packages/checkbox/application.py", line 153, in create_application
    return self.application_factory(config)
  File "/usr/lib/python2.6/dist-packages/checkbox/application.py", line 70, in __init__
    self.reactor, self.registry)
  File "/usr/lib/python2.6/dist-packages/checkbox/plugin.py", line 45, in __init__
    section = self.load_section(section_name)
  File "/usr/lib/python2.6/dist-packages/checkbox/component.py", line 183, in load_section
    return self._section_factory(config, name)
  File "/usr/lib/python2.6/dist-packages/checkbox/component.py", line 51, in __init__
    self.modules = config.modules
  File "/usr/lib/python2.6/dist-packages/checkbox/lib/config.py", line 73, in __getattr__
    raise AttributeError, name
AttributeError: modules
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/apport_python_hook.py", line 85, in apport_excepthook
    os.O_WRONLY|os.O_CREAT|os.O_EXCL), 'w')
OSError: [Errno 17] File exists: '/var/crash/_usr_share_checkbox_run.0.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/share/checkbox/run", line 40, in <module>
    main()
  File "/usr/share/checkbox/run", line 35, in main
    application = manager.create_application(sys.argv)
  File "/usr/lib/python2.6/dist-packages/checkbox/application.py", line 153, in create_application
    return self.application_factory(config)
  File "/usr/lib/python2.6/dist-packages/checkbox/application.py", line 70, in __init__
    self.reactor, self.registry)
  File "/usr/lib/python2.6/dist-packages/checkbox/plugin.py", line 45, in __init__
    section = self.load_section(section_name)
  File "/usr/lib/python2.6/dist-packages/checkbox/component.py", line 183, in load_section
    return self._section_factory(config, name)
  File "/usr/lib/python2.6/dist-packages/checkbox/component.py", line 51, in __init__
    self.modules = config.modules
  File "/usr/lib/python2.6/dist-packages/checkbox/lib/config.py", line 73, in __getattr__
    raise AttributeError, name
AttributeError: modules

Revision history for this message
Graeme Glass (graemeglass) wrote :

I can confirm this bug.

Also if you try to run it with python2.5:

$ python2.5 /usr/bin/checkbox-gtk
  File "/usr/bin/checkbox-gtk", line 3
    export CHECKBOX_DATA=${CHECKBOX_DATA:-/var/lib/checkbox}
                       ^
SyntaxError: invalid syntax

Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

Graeme, /usr/bin/checkbox-gtk is a shell script calling the python programm, so it can't be run with python. Running the command that the shellscript runs with python 2.5 give the following:

~$ python2.5 /usr/share/checkbox/run /usr/share/checkbox/configs/checkbox-gtk.ini
Traceback (most recent call last):
  File "/usr/share/checkbox/run", line 30, in <module>
    from checkbox.application import ApplicationManager
ImportError: No module named checkbox.application

Changed in checkbox:
importance: Undecided → Low
Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

I am marking as "triaged", since it has all the information needed to work on it.

Changed in checkbox:
status: Confirmed → Triaged
Revision history for this message
David Murphy (schwuk) wrote :

Checkbox in Jaunty has been upgraded to 0.7 which addresses several issues with Python 2.6. Please can you all retest with the latest package to see if the problem has been resolved?

Changed in checkbox (Ubuntu):
assignee: nobody → schwuk
importance: Low → Medium
milestone: none → ubuntu-9.04-beta
status: Triaged → Incomplete
Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

It now works on Jaunty as it should. There I am closing the bug.

Changed in checkbox:
status: Incomplete → Fix Released
Revision history for this message
Graeme Glass (graemeglass) wrote : Re: [Bug 335773] Re: [Jaunty 9.04 alpha5] "System Testing" won't start (checkbox-gtk)

On Sat, Mar 21, 2009 at 12:13 PM, Martin Mai <email address hidden> wrote:
> It now works on Jaunty as it should. There I am closing the bug.
>
> ** Changed in: checkbox (Ubuntu)
>       Status: Incomplete => Fix Released
>
> --
> [Jaunty 9.04 alpha5] "System Testing" won't start (checkbox-gtk)
> https://bugs.launchpad.net/bugs/335773
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Sorry for the long delay, I have been away.
Just finished updating the system and this works fine now.
Thanks for the fix.

Kind Regards,
Graeme

Revision history for this message
Graeme Glass (graemeglass) wrote :

As commented on the mail for this bug, this is working now. Thanks for the bug fix.

Revision history for this message
Magne MK (magnemagnemagne) wrote :

I am using the beta with all upgrades and I get a similar error. (Should I file a new bug?)

magne@magnepc:~/Desktop$ /usr/bin/checkbox-gtk
Traceback (most recent call last):
  File "/usr/share/checkbox/run", line 40, in <module>
    main()
  File "/usr/share/checkbox/run", line 35, in main
    application = manager.create_application(sys.argv)
  File "/usr/lib/python2.6/dist-packages/checkbox/application.py", line 153, in create_application
    return self.application_factory(config)
  File "/usr/lib/python2.6/dist-packages/checkbox/application.py", line 70, in __init__
    self.reactor, self.registry)
  File "/usr/lib/python2.6/dist-packages/checkbox/plugin.py", line 41, in __init__
    module.register(self)
  File "/usr/share/checkbox/plugins/backend_manager.py", line 65, in register
    self.dbus_name = dbus.service.BusName(self.DBUS_BUS_NAME, self.bus)
  File "/var/lib/python-support/python2.6/dbus/service.py", line 129, in __new__
    retval = bus.request_name(name, name_flags)
  File "/var/lib/python-support/python2.6/dbus/bus.py", line 306, in request_name
    'su', (name, flags))
  File "/var/lib/python-support/python2.6/dbus/connection.py", line 622, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.202" is not allowed to own the service "com.ubuntu.checkbox" due to security policies in the configuration file

Revision history for this message
Lamech (lanavelino+ubuntu) wrote :
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.