Error while creating app on Oneiric

Bug #1024972 reported by Gabriele N. Tornetta
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fogger
Fix Released
Undecided
Unassigned

Bug Description

When I try to create an app with Fogger on Oneiric I get

Traceback (most recent call last):
  File "/home/gabriele/Programming/python/fogger/fogger/FoggerWindow.py", line 156, in create_app
    app = Gio.DesktopAppInfo.new_from_filename(app.desktop_file)
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 67, in constructor
    return info.invoke(cls, *args, **kwargs)
TypeError: constructor returned NULL

soon after clicking on the Create button.

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

Thanks!

It looks like you've checkout a copy of the code. Can you please install it system wide from the PPA and confirm the behavior.

Any chance you can try it out on Precise and confirm it's not specific to Oneiric?

Revision history for this message
Gabriele N. Tornetta (phoenix1987) wrote :

Installed on Precise from the PPA and the same error appears

Revision history for this message
Gabriele N. Tornetta (phoenix1987) wrote :

Traceback from Precise:

Traceback (most recent call last):
  File "/home/gabriele/Programming/python/fogger/fogger/FoggerWindow.py", line 156, in create_app
    app = Gio.DesktopAppInfo.new_from_filename(app.desktop_file)
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 67, in constructor
    return info.invoke(cls, *args, **kwargs)
TypeError: constructor returned NUL

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

Traceback please.

Changed in fogger:
status: Incomplete → Confirmed
Revision history for this message
Gabriele N. Tornetta (phoenix1987) wrote :

Sorry the actual traceback from Precise is

/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:391: Warning: g_object_set_property: construct property "type" for object `Window' can't be set after construction
  Gtk.Window.__init__(self, type=type, **kwds)
/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:391: Warning: g_object_set_property: construct property "type" for object `FoggerWindow' can't be set after construction
  Gtk.Window.__init__(self, type=type, **kwds)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/fogger/FoggerWindow.py", line 156, in create_app
    app = Gio.DesktopAppInfo.new_from_filename(app.desktop_file)
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 72, in constructor
    return info.invoke(cls, *args, **kwargs)
TypeError: constructor returned NULL

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

Caused due to wrongly packaged archive. Fixed!

Changed in fogger:
status: Confirmed → Fix Committed
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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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