Error launching gdevilspie

Bug #1131658 reported by Leonardo Corato
42
This bug affects 9 people
Affects Status Importance Assigned to Milestone
gdevilspie (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Traceback (most recent call last):
  File "/usr/bin/gdevilspie", line 893, in <module>
    MainWindow = RulesListWindow()
  File "/usr/bin/gdevilspie", line 374, in __init__
    self.UpdateAutostartStatus()
  File "/usr/bin/gdevilspie", line 545, in UpdateAutostartStatus
    if (os.path.exists(xdg.DesktopEntry.xdg_config_home + "/autostart/devilspie.desktop")):
AttributeError: 'module' object has no attribute 'xdg_config_home'

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: gdevilspie 1:0.5-3
ProcVersionSignature: Ubuntu 3.8.0-7.14-generic 3.8.0
Uname: Linux 3.8.0-7-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.8-0ubuntu4
Architecture: amd64
CheckboxSubmission: a1c955fd38d4502805ce6f6dc842fe78
CheckboxSystem: 2a6f54df59af338184485e85cbcf0d32
Date: Fri Feb 22 11:02:52 2013
InstallationDate: Installed on 2011-09-05 (535 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: gdevilspie
UpgradeStatus: Upgraded to raring on 2012-07-27 (209 days ago)

Revision history for this message
Leonardo Corato (leocor) wrote :
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for reporting this issue and help making Ubuntu better.

I get the same error message when I attempt to start gdevilspie 1:0.5-3 on Ubuntu Raring.

Changed in gdevilspie (Ubuntu):
status: New → Confirmed
Revision history for this message
Damien (humanisfood) wrote :

I also get this error. Thanks for creating the bug report.

Revision history for this message
Lee Donaghy (deadite66) wrote :

from another bug report if you comment out line 374 'self.UpdateAutostartStatus()' the program will run.

Revision history for this message
Justin (justin-acklin) wrote :

I also get this error (raring kubuntu). Commented line 374 and it starts, then when I just tried to start the daemon (which wasn't running) I got:

Traceback (most recent call last):
  File "/usr/bin/gdevilspie", line 558, in on_DaemonAutostart_toggled
    df = xdg.DesktopEntry.DesktopEntry(xdg.DesktopEntry.xdg_config_home + "/autostart/devilspie.desktop")
AttributeError: 'module' object has no attribute 'xdg_config_home'

Revision history for this message
Roland Baudin (roland651651) wrote :

This bug is a duplicate of bug #1161594, for which I posted a patch that solves the issue.
RB

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Roland: Indeed it is. :)

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.