GdkScreen with no is_composited

Bug #160651 reported by Shayne
2
Affects Status Importance Assigned to Milestone
Exaile
New
High
Johannes Sasongko

Bug Description

I get the following error on a fresh install on Debian etch:

Exaile 0.2.12devel
Traceback (most recent call last):
  File "/usr/local/lib/exaile/xl/gui/main.py", line 1398, in __on_volume_changed pop = xlmisc.get_osd(self, xlmisc.get_osd_settings(self.settings))
  File "/usr/local/lib/exaile/xl/xlmisc.py", line 1356, in get_osd
    POPUP = OSDWindow(exaile, settings)
  File "/usr/local/lib/exaile/xl/xlmisc.py", line 1201, in __init__
    if screen.is_composited():
AttributeError: 'gtk.gdk.ScreenX11' object has no attribute 'is_composited'
Introspect error: The name org.gnome.SettingsDaemon was not provided by any .service files

I'm running XFCE and I have gnome-control-center installed. The splash screen does show up but crashes quickly after.

Changed in exaile:
assignee: nobody → sjohannes
importance: Undecided → High
milestone: none → 0.2.12
status: New → Fix Committed
Revision history for this message
Shayne (shaynetonio) wrote :

The following error is still showing up:

Introspect error: The name org.gnome.SettingsDaemon was not provided by any .service files

Does this have to do with python-dbus? See bug #138930

I currently have python-dbus - 0.71-3 and gnome-control-center 2.14.2-7

Revision history for this message
Johannes Sasongko (sjohannes) wrote :

It might be related to dbus or gnomecc (if you're running XFCE, chances are the gnomecc settings daemon isn't even running), but it's not the problem that caused Exaile to not run.

I just realised that the fix I committed may have nothing to do with this, so if Exaile still doesn't run, please reopen and attach the complete console output.

Revision history for this message
Shayne (shaynetonio) wrote :

The only error I get is:

Introspect error: The name org.gnome.SettingsDaemon was not provided by any .service files

The no_composited issue is no longer showing up so I'm assuming that it's fixed. I'm suspicious that gnome-settings-daemon is even running but whether that is the problem is beyond me

Shayne

Changed in exaile:
status: Fix Committed → New
Revision history for this message
Johannes Sasongko (sjohannes) wrote :

The whole console output would be great to have, as right now I don't know what's wrong.

Changed in exaile:
milestone: 0.2.12 → none
Revision history for this message
Shayne (shaynetonio) wrote :

I don't really see a verbose option, so the output isn't much:

==
shayne@MILOU:~$ exaile
Exaile 0.2.12devel
Introspect error: The name org.gnome.SettingsDaemon was not provided by any .service files
shayne@MILOU:~$

Revision history for this message
Johannes Sasongko (sjohannes) wrote : [Bug 160651] Re: GdkScreen with no is_composited

Oh, so Exaile _is_ running? Then I assume everything works fine?

Revision history for this message
Shayne (shaynetonio) wrote :

Sadly only the splash screen shows up and then the error noted above appears. If you're unable to replicate this issue I'll do some debugging and figure out where it's really failing

Shayne

Revision history for this message
Shayne (shaynetonio) wrote :

okay so the only reference to org.gnome.SettingsDaemon that I could find was in xl/xlmisc.py -- i'm guessing there might be an issue with gnome-settings-daemon not running as xfce uses xfce-mcs-manager

so either it's failing at the dbus exception handling or maybe it's failing after the statement. I'll need to run some more tests

shayne

Revision history for this message
Johannes Sasongko (sjohannes) wrote :

Weird, it really shouldn't just die like that. Something that might aid
your debugging is running

python -m trace -t exaile.py

It might show you where it falls over.

Make sure you kill exaile before that, though.

Revision history for this message
Shayne (shaynetonio) wrote :

I think exaile is failing on the playlist code:

        self.playlists_nb.connect('switch-page', self.page_changed)
        self.playlists_nb.connect('page-added', self.sync_playlists_tabbar)
        self.playlists_nb.connect('page-removed', self.sync_playlists_tabbar)
        self.playlists_nb.remove_page(0)

commenting the lines above will load the UI

i'll need to run through the playlist code to see what you guys are doing but perhaps this isn't related to gnome-settings-daemon at all....

i'll let you know what i find

Revision history for this message
Johannes Sasongko (sjohannes) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Oh, I see... yeah, this is a known problem; Exaile needs GTK+ 2.10. I'm
planning to ease this requirement (to GTK+ 2.8) someday but it's not a
priority for me, so if you want to do it, feel free to take bug 159186.

 duplicate 159186
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFHM/XI970RYJKDvDoRAkKcAJ4pstSeuXtn38Uok1l09x6OT9MZmwCfWfAs
iX2y23t32ITt8TTSGxEUMBw=
=DwVr
-----END PGP SIGNATURE-----

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.