Fogger crashes when opening a fogapp (Unhandled tag: 'packing')

Bug #1025332 reported by Marco Trevisan (Treviño)
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fogger
Fix Released
Undecided
Marco Trevisan (Treviño)

Bug Description

This is the traceback I get when I run any Fogapp I have addded

(fogger:22181): Gtk-CRITICAL **: _gtk_tree_view_column_autosize: assertion `GTK_IS_TREE_VIEW (tree_view)' failed
Traceback (most recent call last):
  File "/opt/extras.ubuntu.com/fogger/bin/fogger", line 46, in <module>
    fogger.main()
  File "/opt/extras.ubuntu.com/fogger/fogger/__init__.py", line 112, in main
    app.run()
  File "/opt/extras.ubuntu.com/fogger/fogger_lib/FogApp.py", line 188, in run
    self.window = AppWindow.AppWindow()
  File "/opt/extras.ubuntu.com/fogger/fogger_lib/AppWindow.py", line 40, in __new__
    builder = get_builder('FoggerAppWindow')
  File "/opt/extras.ubuntu.com/fogger/fogger_lib/helpers.py", line 44, in get_builder
    builder.add_from_file(ui_filename)
  File "/opt/extras.ubuntu.com/fogger/fogger_lib/Builder.py", line 78, in add_from_file
    Gtk.Builder.add_from_file(self, filename)
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 43, in function
    return info.invoke(*args, **kwargs)
gi._glib.GError: Unhandled tag: 'packing'
---
ApportVersion: 2.0.1-0ubuntu9
Architecture: amd64
DistroRelease: Ubuntu 12.04
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
Package: fogger 0.2.3 [origin: LP-PPA-loneowais-fogger]
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18
Tags: third-party-packages precise
Uname: Linux 3.2.0-25-generic x86_64
UnreportableReason: Questo non è un pacchetto ufficiale di Ubuntu. Rimuovere tutti i pacchetti di terze parti, quindi riprovare.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin audio cdrom debian-tor dialout dip fuse lp lpadmin netdev plugdev sambashare sbuild vboxusers video

Related branches

Revision history for this message
Owais Lone (loneowais) wrote :

Which ubuntu release are you using and which glib version?

Changed in fogger:
status: New → Incomplete
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote : Dependencies.txt

apport information

tags: added: apport-collected precise third-party-packages
description: updated
Revision history for this message
Owais Lone (loneowais) wrote :

I can't reproduce this. Anything specific that can help me reproduce and fix?

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Owais, using 12.04.
See the attached file for my packages version.

Tested in two different environments running Precise (one much customized, the other basically "vanilla").
Got the same issue.

Revision history for this message
Owais Lone (loneowais) wrote :

Thanks Marco!

Changed in fogger:
status: Incomplete → New
Revision history for this message
Owais Lone (loneowais) wrote :

I'm going to mark this as confirmed as someone else had the same issue on Oneiric.

Changed in fogger:
status: New → Confirmed
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

I'm wondering if this has something to do with the locale, even it may be even odder...

Revision history for this message
Owais Lone (loneowais) wrote :

I don't think so. My best guess is that it's a bug in glade. Only way to find out is to uncomment the <packing> tags in FoggerAppWindow.ui :( but I still won't be able to figure that out as I'm unable to reproduce it.

Someone else also reported this on IRC the other day but he was running Oneiric so I suspect it might be because of an older version of libglade or a related package as it seems that you've upgraded from 10.04 :)

Could you please check if you have any pending updates for libglade or it's friends and confirm if this is still reproducible with the latest version of libglade?

Revision history for this message
Owais Lone (loneowais) wrote :

... but is libglade even required at runtime?

Revision history for this message
Owais Lone (loneowais) wrote :

I just removed glade and it's libs completely and it's still working fine. You can still try upgrading rest of the packages and confirm.

Thanks!

Revision history for this message
Owais Lone (loneowais) wrote :

https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/998208

^ Seems to be the same issue. I'll package a version for you to test without the GtkInforBar. Let's see.

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

My glade/gtk packages are updated...

Removing the packing tags fixes the crash, but then there are layout issues of course...

Revision history for this message
Owais Lone (loneowais) wrote :

Great! Removing the package tags from InfoBar widget solves it specifically?

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Ok, there was some invalid <packing> tags around...

Removing them, fixes the crash.
I'm wondering why glade added them there...

See lp:~3v1n0/fogger/fix-crash-1025332

Revision history for this message
Owais Lone (loneowais) wrote :

Awesome! Glade seems to add the packing tags back on every save. It'll be a pain to remove them manually each time I work with the UI. I'll just replace the infobar with some other widget and see if that works.

Thanks!

Owais Lone (loneowais)
Changed in fogger:
status: Confirmed → Fix Committed
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Thanks, the changes fixed it.

Changed in fogger:
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Revision history for this message
Owais Lone (loneowais) wrote :

BTW I've newer packages installed. Just minor version but they are newer :)

My Gtk is at 3.4.2-0ubuntu0.4 from proposed. May be it got fixed there somehow.

Owais Lone (loneowais)
Changed in fogger:
status: Fix Committed → 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.