Crashes on a missing syslog daemon

Bug #428843 reported by Hatedsoul
238
This bug affects 45 people
Affects Status Importance Assigned to Milestone
Aptdaemon
Fix Released
Undecided
Unassigned
aptdaemon (Ubuntu)
Fix Released
Critical
Unassigned
software-center (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: software-store

When I click to start the software store the starting notification flashes and then I get this messege.

ProblemType: Crash
Architecture: amd64
Date: Sun Sep 13 18:15:39 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/share/software-store/software-store
InterpreterPath: /usr/bin/python2.6
Package: software-store 0.3.2
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-store
ProcEnviron:
 LANG=en_IN
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-10.32-generic
PythonArgs: ['/usr/bin/software-store']
SourcePackage: software-store
Title: software-store crashed with DBusException in call_blocking()
Uname: Linux 2.6.31-10-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Hatedsoul (hatedsouls) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Revision history for this message
Bernhard (b.a.koenig) wrote :

Can confirm this, I was never able to open the "Software store" ever since it showed up in my Karmic menu.

Changed in software-store (Ubuntu):
status: New → Confirmed
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

What happens if you run (in a terminal window):
$ sudo /usr/sbin/aptd --debug

What is printed on the terminal window then?

Changed in software-store (Ubuntu):
importance: Undecided → High
Revision history for this message
Bernhard (b.a.koenig) wrote :

Still not working after today's update. I get

> sudo /usr/sbin/aptd --debug
Traceback (most recent call last):
  File "/usr/sbin/aptd", line 25, in <module>
    import aptdaemon.core
  File "/usr/lib/python2.6/dist-packages/aptdaemon/core.py", line 91, in <module>
    facility=logging.handlers.SysLogHandler.LOG_DAEMON)
  File "/usr/lib/python2.6/logging/handlers.py", line 710, in __init__
    self._connect_unixsocket(address)
  File "/usr/lib/python2.6/logging/handlers.py", line 725, in _connect_unixsocket
    self.socket.connect(address)
  File "<string>", line 1, in connect
socket.error: [Errno 2] No such file or directory

Michael Vogt (mvo)
Changed in aptdaemon (Ubuntu):
importance: Undecided → Critical
Revision history for this message
Mario Calabrese (mario-calabrese) wrote :

It also affects i686 architecture.

Revision history for this message
Sebastian Heinlein (glatzor) wrote :

Do you use an alternative syslog daemon?

Changed in aptdaemon (Ubuntu):
status: New → Incomplete
Revision history for this message
Mario Calabrese (mario-calabrese) wrote :

Searching in synaptic with keyword 'syslog' and 'daemon' the only package installed on my ubuntu box is libdaemon0. Referring to apt, I have the package aptdaemon.

Revision history for this message
Sebastian Heinlein (glatzor) wrote : Re: [Bug 428843] Re: software-store crashed with DBusException in call_blocking()

Please search for the rsyslog. It seems to me that your logging daemon
is not running.

Please look at the Processes tab in the System Monitor application (can be
found in System > Administration > System monitor. Choose View | All
Processes from the menu and check if rsyslog is listed.

Actually aptdaemon should not fail because of a not running logging
daemon.

Cheers,

Sebastian

Revision history for this message
Seth (seth-hollen) wrote : Re: software-store crashed with DBusException in call_blocking()

just following here because I have this issue as well.
I checked my system and I see NO logging daemon installed on mine. either.
synaptic shows syslog rsyslog not being installed but in bootchart it either loads or trys to load. I'm going to install rsyslog and see what happens

Revision history for this message
Mario Calabrese (mario-calabrese) wrote :

Wow! You are right, rsyslog was not installed. Now, once I've installed it, ubuntu software store is running correctly.

Thank you so much!

M.

Revision history for this message
Seth (seth-hollen) wrote : Re: [Bug 428843] Re: software-store crashed with DBusException in call_blocking()

same here!

Mario Calabrese wrote:
> Wow! You are right, rsyslog was not installed. Now, once I've installed
> it, ubuntu software store is running correctly.
>
> Thank you so much!
>
> M.
>
>

Revision history for this message
alain57 (alain57) wrote : Re: software-store crashed with DBusException in call_blocking()

same here

and same problem : rsyslog was not installed !

can you guys include it as dependance of software-store ?!?

Revision history for this message
antistress (antistress) wrote :

same here

with a clean install of karmic alpha 5 and updates, rsyslog is not installed on my PC and then software-store can't be launched

Changed in aptdaemon (Ubuntu):
status: Incomplete → Fix Committed
summary: - software-store crashed with DBusException in call_blocking()
+ Crashes on a missing syslog daemon
Michael Vogt (mvo)
Changed in software-store (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package aptdaemon - 0.10+bzr242-0ubuntu1

---------------
aptdaemon (0.10+bzr242-0ubuntu1) karmic; urgency=low

  * aptdaemon/core.py:
    - do not fail on a not running syslog daemon (LP: #428843)
  * Include dpkg errors in the error output
  * debian/rules:
    - move to simple-patchsys (for now) to make maintaining the
      patches simpler
  * debian/patches/disallow-unauthenticated-branch.diff:
    Patch generated from lp:~mvo/aptdaemon/allow-unauthenticated
    to support controlling if unauthenticated packages are allowed
    during a transaction. Default to "not allow unauthenticated"
    (LP: #435313)
  * debian/patches/mvo-branch.patch:
    Patch generated from lp:~mvo/aptdaemon/mvo that fixes:
    - aptdaemon/worker.py: check the apt download dir lock
      in _watch_lock to avoid possible race with apt-get LP: #437709
    - aptdaemon/progress.py: fix crash in error handling (LP: #436808)
    - aptdaemon/progress.py: fix crash in INSTALL_TIMEOUT handling
      (LP: #430860)
    - aptdaemon/gtkwidgets.py: make the dialog resizable and add bigger
      default size (LP: #434937)
    - aptdaemon/core.py: add _remove_from_connection_no_raise() that
      will discard errors if the object is not exported (LP: #422585)

 -- Michael Vogt <email address hidden> Mon, 28 Sep 2009 09:39:34 +0200

Changed in aptdaemon (Ubuntu):
status: Fix Committed → Fix Released
Michael Vogt (mvo)
Changed in software-center (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Bernhard (b.a.koenig) wrote :

@kganesan: You should probably file a new bug if you still have problems with the ubuntu software store. I actually see crashes of software store in current lucid live cd but this might not be related to the bug here, or is it?

Changed in aptdaemon:
status: New → Fix Released
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.