gufw.py crashed with OSError in set_autostart()

Bug #270510 reported by Glen Svensson
22
Affects Status Importance Assigned to Milestone
Gufw
Fix Released
High
costales
gui-ufw (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Gufw crashed when attempting to enable 'autostart with session'

ProblemType: Crash
Architecture: i386
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/share/gufw/gufw.py
InterpreterPath: /usr/bin/python2.5
Package: gufw 0.20.0-0ubuntu2 [modified: usr/share/gufw/cfg_files/gufw_log.txt usr/share/gufw/cfg_files/user.rules_compare usr/share/gufw/cfg_files/gufw.cfg]
PackageArchitecture: all
ProcAttrCurrent: unconfined
ProcCmdline: python /usr/share/gufw/gufw.py
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/share/gufw/gufw.py']
SourcePackage: gui-ufw
Title: gufw.py crashed with OSError in set_autostart()
Uname: Linux 2.6.27-3-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy plugdev sambashare scanner

Tags: apport-crash

Related branches

Revision history for this message
Glen Svensson (glensvensson) wrote :
Revision history for this message
Hew (hew) wrote :

Confirming, I was able to reproduce this issue.

Changed in gui-ufw:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Hew (hew) wrote :

Still an issue with gufw 0.20.1_beta2.

Changed in gui-ufw:
status: Confirmed → Triaged
Revision history for this message
costales (costales) wrote :

How is run Gufw?
With this? ProcCmdline: python /usr/share/gufw/gufw.py
Gufw need preserve the user environment with:
gksudo --preserve-env /usr/share/gufw/gufw.py
Can be this the problem?
Thanks!

Revision history for this message
Hew (hew) wrote :

sudo /usr/share/gufw/gufw.py
The crash does not occur.

gksudo /usr/share/gufw/gufw.py
The autostart box is greyed out.

gksudo --preserve-env /usr/share/gufw/gufw.py
The crash occurs.

gksudo --preserve-env --description /usr/share/applications/gufw.desktop /usr/share/gufw/gufw.py
This is the command executed in the gufw.desktop file in which the crash occurs.

Revision history for this message
costales (costales) wrote :

Hi!
Which version is it?
Package: gufw 0.20.0-0ubuntu2?? The repository, isn't it?
Can you check it with the .deb 0.20.1 beta 2 reproduce the bug?
https://code.launchpad.net/gui-ufw/main/0.20.0
Thanks a lot!

Revision history for this message
Hew (hew) wrote :

I currently have gufw 0.20.1_beta2 installed (which I did the testing on in my previous comment). When I previously had gufw 0.20.0-0ubuntu2 installed, I also got the crash via the menu.

costales (costales)
Changed in gui-ufw:
assignee: nobody → marcos.alvarez.costales
importance: Undecided → High
status: New → In Progress
Revision history for this message
costales (costales) wrote :

Hi!
Can you repeat for the version 0.20.1 ;)
Thanks a lot!
https://launchpad.net/gui-ufw/main/0.20.0

Changed in gui-ufw:
status: In Progress → Fix Committed
Revision history for this message
Hew (hew) wrote :

Bug is fixed with gufw 0.20.1, thanks for your great work. Milestoning for Intrepid beta so the upload isn't forgotten.

I notice that my preferences had been reset, but that's not a big deal.

Changed in gui-ufw:
milestone: none → ubuntu-8.10-beta
status: Triaged → Fix Committed
Revision history for this message
costales (costales) wrote :

Hi!
Yes, the preferences is overwrite :$ Sorry, I don't know how preserve it :$
Thanks to all for the testing!!! ;D
Best regards!
Marcos.

costales (costales)
Changed in gui-ufw:
status: Fix Committed → Fix Released
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gui-ufw - 0.20.2~bzr158-0ubuntu1

---------------
gui-ufw (0.20.2~bzr158-0ubuntu1) intrepid; urgency=low

  * New upstream bzr revision 158, LP: #273105.
  * Add gufw/changelog to debian/docs.
  * This upstream revision also fixes: LP: #267604, #270510, #272109.

 -- Devid Antonio Filoni <email address hidden> Mon, 22 Sep 2008 23:20:01 +0200

Changed in gui-ufw:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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