File "/usr/share/gufw/gufw.py", line 42, in <module>

Bug #398945 reported by Fernando Miguel
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gui-ufw (Ubuntu)
Fix Released
Undecided
costales

Bug Description

$ sudo gufw
[sudo] password for bugabundo:
Traceback (most recent call last):
  File "/usr/share/gufw/gufw.py", line 42, in <module>
    app = view.guiGufw.Guigufw(variable, firewall)
  File "/usr/share/gufw/view/guiGufw.py", line 42, in __init__
    self.set_initial_values()
  File "/usr/share/gufw/view/guiGufw.py", line 125, in set_initial_values
    self.get_old_size_window()
  File "/usr/share/gufw/view/guiGufw.py", line 342, in get_old_size_window
    win_width,win_height = self.firewall.get_old_size_window()
  File "/usr/share/gufw/model/Firewall.py", line 173, in get_old_size_window
    width,height = self.frontend.get_old_size_window()
  File "/usr/share/gufw/model/FrontEnd.py", line 283, in get_old_size_window
    height = width_height_split[1].replace("height=","")
IndexError: list index out of range

ProblemType: Bug
Architecture: amd64
Date: Mon Jul 13 19:37:32 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: gufw 9.10.0~bzr23-0ubuntu1 [modified: var/log/gufw_log.txt]
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-2.17-generic
SourcePackage: gui-ufw
Uname: Linux 2.6.31-2-generic x86_64

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :
Revision history for this message
costales (costales) wrote :

Yes, I can confirm this bug only in Jaunty.
Can you try with this package, please? and tell me.
http://acurti.es/Wca
Thanks!

Changed in gui-ufw (Ubuntu):
assignee: nobody → Marcos (marcos.alvarez.costales)
Revision history for this message
Fernando Miguel (fernandomiguel) wrote : Re: [Bug 398945] Re: File "/usr/share/gufw/gufw.py", line 42, in <module>

On Monday 13 July 2009 19:54:55 Marcos wrote:
> Yes, I can confirm this bug only in Jaunty.

I didnt have this prob in jaunty, or even karmic up until a few days ago

> Can you try with this package, please? and tell me. http://acurti.es/Wca

Unless you post a full url an a trusty source, no I wont.
I'm sorry but I wont install untrusted packages on may machine

--
Hi, I'm BUGabundo, and I am Ubuntu (whyubuntu.com)
(``-_-´´) http://LinuxNoDEI.BUGabundo.net && Ubuntu LoCoTeam Portugal http://ubuntu-pt.org
Linux user #443786 GPG key 1024D/A1784EBB

Revision history for this message
Vadim Peretokin (vperetokin) wrote : Re: [Gufw-developers] [Bug 398945] Re: File "/usr/share/gufw/gufw.py", line 42, in <module>

It's a link shortener service that redirects to launchpad.net...

Revision history for this message
costales (costales) wrote :

Hi!
I can't know the problem...
I was trying in Ubuntu 9.10 alpha 3 in LiveCD mode, Gufw crash.
I was trying in Ubuntu 9.10 alpha 3 in installed mode, Gufw works fine.
Can anybody confirm this, please?
When Gufw crash (in what actions?)?
Thanks!

Revision history for this message
costales (costales) wrote :

Hi!
I added a check for this situation.
Please, check the version 9.10.1 (it will be in the ubuntu repository in some days) and confirm if this bug is fixed.
Thanks very much!

Changed in gui-ufw (Ubuntu):
status: New → Fix Committed
Revision history for this message
Fernando Miguel (fernandomiguel) wrote :
Download full text (7.3 KiB)

with current version:

$ apt-cache policy gufw
gufw:
  Installed: 9.10.0~bzr23-0ubuntu1
  Candidate: 9.10.0~bzr23-0ubuntu1
  Version table:
 *** 9.10.0~bzr23-0ubuntu1 0
        500 http://darkstar.ist.utl.pt karmic/universe Packages
        500 http://archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status

$ gufw
*** glibc detected *** gksudo: corrupted double-linked list: 0x00000000026f24d0 ***
======= Backtrace: =========
/lib/libc.so.6[0x7fc5ea9fa1d8]
/lib/libc.so.6[0x7fc5ea9fc4fe]
/lib/libc.so.6(cfree+0x76)[0x7fc5ea9fc746]
/usr/lib/libglib-2.0.so.0[0x7fc5eaf303b3]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x2f0)[0x7fc5eaf30b50]
/usr/lib/libglib-2.0.so.0[0x7fc5eaf34458]
/usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x80)[0x7fc5eaf34580]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main_iteration+0x21)[0x7fc5ed142fa1]
/usr/lib/libgksu2.so.0[0x7fc5edca77c5]
/usr/lib/libgksu2.so.0(gksu_sudo_fuller+0x671)[0x7fc5edca84b1]
gksudo[0x404715]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7fc5ea9a1606]
gksudo[0x403019]
======= Memory map: ========
00400000-00406000 r-xp 00000000 08:02 1471 /usr/bin/gksu
00605000-00606000 r--p 00005000 08:02 1471 /usr/bin/gksu
00606000-00607000 rw-p 00006000 08:02 1471 /usr/bin/gksu
02208000-027b1000 rw-p 00000000 00:00 0 [heap]
7fc5dc000000-7fc5dc021000 rw-p 00000000 00:00 0
7fc5dc021000-7fc5e0000000 ---p 00000000 00:00 0
7fc5e1b4f000-7fc5e1b53000 r-xp 00000000 08:02 2360231 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
7fc5e1b53000-7fc5e1d53000 ---p 00004000 08:02 2360231 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
7fc5e1d53000-7fc5e1d54000 r--p 00004000 08:02 2360231 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
7fc5e1d54000-7fc5e1d55000 rw-p 00005000 08:02 2360231 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
7fc5e1d55000-7fc5e1d60000 r-xp 00000000 08:02 670 /lib/libudev.so.0.4.2
7fc5e1d60000-7fc5e1f60000 ---p 0000b000 08:02 670 /lib/libudev.so.0.4.2
7fc5e1f60000-7fc5e1f61000 r--p 0000b000 08:02 670 /lib/libudev.so.0.4.2
7fc5e1f61000-7fc5e1f62000 rw-p 0000c000 08:02 670 /lib/libudev.so.0.4.2
7fc5e1f62000-7fc5e1f8b000 r-xp 00000000 08:02 2362940 /usr/lib/gio/modules/libgvfsdbus.so
7fc5e1f8b000-7fc5e218a000 ---p 00029000 08:02 2362940 /usr/lib/gio/modules/libgvfsdbus.so
7fc5e218a000-7fc5e218b000 r--p 00028000 08:02 2362940 /usr/lib/gio/modules/libgvfsdbus.so
7fc5e218b000-7fc5e218c000 rw-p 00029000 08:02 2362940 /usr/lib/gio/modules/libgvfsdbus.so
7fc5e2227000-7fc5e2287000 rw-s 00000000 00:09 8454188 /SYSV00000000 (deleted)
7fc5e2303000-7fc5e238f000 r--p 00000000 08:02 2362972 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
7fc5e238f000-7fc5e23a6000 r-xp 00000000 08:02 1967824 /usr/lib/libgvfscommon.so.0.0.0
7fc5e23a6000-7fc5e25a5000...

Read more...

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

$ sudo dpkg -i gufw_9.10.1-0ubuntu1_all.deb
[sudo] password for bugabundo:
(Reading database ... 213120 files and directories currently installed.)
Preparing to replace gufw 9.10.0~bzr23-0ubuntu1 (using gufw_9.10.1-0ubuntu1_all.deb) ...
Unpacking replacement gufw ...
Setting up gufw (9.10.1-0ubuntu1) ...
Installing new version of config file /etc/gufw/gufw.cfg ...

Configuration file `/etc/gufw/size_window.cfg'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ? Your options are:
    Y or I : install the package maintainer's version
    N or O : keep your currently-installed version
      D : show the differences between the versions
      Z : background this process to examine the situation
 The default action is to keep your current version.
*** size_window.cfg (Y/I/N/O/D/Z) [default=N] ? y
Installing new version of config file /etc/gufw/size_window.cfg ...

Processing triggers for desktop-file-utils ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...
Processing triggers for menu ...

$ apt-cache policy gufw
gufw:
  Installed: 9.10.1-0ubuntu1
  Candidate: 9.10.1-0ubuntu1
  Version table:
 *** 9.10.1-0ubuntu1 0
        100 /var/lib/dpkg/status
     9.10.0~bzr23-0ubuntu1 0
        500 http://darkstar.ist.utl.pt karmic/universe Packages
        500 http://archive.ubuntu.com karmic/universe Packages

$ gufw

Works for me.

Revision history for this message
costales (costales) wrote :

Hi BUGabundo!
Can you confirm me if Gufw save the POSITION & SIZE window now?
Thanks very much!

Revision history for this message
costales (costales) wrote :

Hi BUGabundo!
Can you confirm me if Gufw save the SIZE window now?
Thanks very much!

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

It does seem to save size but not Position.
I'm using compiz, btw, which my affect its placement.

Revision history for this message
costales (costales) wrote :

Yes, It must save the size window (not the position) :)
Thanks for your help BUGabundo!! :)
Cheers!

Changed in gui-ufw (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Anakin Starkiller (sunrider) wrote :

That's weird, I have this bug with Karmic (64 bits) with ppa mainline kernel 2.6.32rc5 but I can't see why it's related to a specific kernel version...

Revision history for this message
Fernando Miguel (fernandomiguel) wrote : Re: [Bug 398945] Re: File "/usr/share/gufw/gufw.py", line 42, in <module>

Olá Anakin e a todos.

On Sunday 01 November 2009 17:27:42 Anakin Starkiller wrote:
> That's weird, I have this bug with Karmic (64 bits) with ppa mainline
> kernel 2.6.32rc5 but I can't see why it's related to a specific kernel version...

This has been fixed for me for a while now.

--
Hi, I'm BUGabundo, and I am Ubuntu (whyubuntu.com)
(``-_-´´) http://LinuxNoDEI.BUGabundo.net && Ubuntu LoCoTeam Portugal http://ubuntu-pt.org
Linux user #443786 GPG key 1024D/A1784EBB

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.