Package PyGTK app with Quickly fails

Bug #914140 reported by Sasa Stamenkovic
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Quickly
Incomplete
Undecided
Unassigned

Bug Description

Here is the output:

quickly package
...An error has occurred when creating debian packaging
ERROR: can't create or update ubuntu package
ERROR: package command failed
Aborting

I saw this bug https://bugs.launchpad.net/ubuntu/+source/quickly/+bug/818338, it is marked as duplicate of bugs.launchpad.net/python-distutils-extra/+bug/746565 which in description mentions slightly different output then mine. Also, it says that it is fixed in python-distutils-extra - 2.26-2ubuntu0.2 , I have python-distutils-extra 2.29-1ubuntu1 installed.

Before filling a bug report I asked on http://askubuntu.com/questions/94168/package-pygtk-app-with-quickly-fails but they suggested to fill new bug.

I would like to provide some additional information but I'm not sure what do you need. Feel free to request any information you need to reproduce this bug.

Application source code can be found on https://github.com/umpirsky/revision-monitor

description: updated
affects: python-distutils-extra → quickly
Revision history for this message
Michael Terry (mterry) wrote :

Bummer, just got around to looking at this, and the source code link is now a 404.

Any chance you still have the code that caused this problem? Also, what version of quickly are you using?

Changed in quickly:
status: New → Incomplete
Revision history for this message
Sasa Stamenkovic (umpirsky) wrote :

Ah, sorry, code is migrated to http://bazaar.launchpad.net/~umpirsky/+junk/revision-monitor/files

But somehow quickly package works now. Maybe we should close this bug, since I'm not able to reproduce it any more.

Thanks.

Revision history for this message
Richard Eric Collins (richard-collins) wrote :

I just hit this bug whilst following the "Getting started with Quickly and PyGTK" video. I'm on 11.04 with a load of other dev tools for Android and C/C++ coding, don't know if my random messing about with my system has caused this.

Is there anything I can do to help to find the issue?

Revision history for this message
Michael Terry (mterry) wrote :

Richard, can you post the output of "quickly package --verbose"?

Revision history for this message
Peter Levi (peterlevi) wrote :

I'm writing an app for Ubuntu App Showdown and I also used to get this. At least in my case it turned out I had some small python snippets (for testing various stuff) in a directory under the project that were the problem ( i.e. variety/snippets/) - after I removed them, all ran fine.
Here's with --verbose:

peter@plpc:~/dev/variety$ quickly package --verbose
/usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
  import gobject._gobject
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: specified class size for type `PyGtkGenericCellRenderer' is smaller than the parent type's `GtkCellRenderer' class size
  from gtk import _gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_type_get_qdata: assertion `node != NULL' failed
  from gtk import _gtk
setup.py install_egg_info failed
An error has occurred when creating debian packaging
ERROR: can't create or update ubuntu package
ERROR: package command failed
Aborting

I can attach the zipped project as it used to fail, if you request it.

Revision history for this message
JNH (jordannh) wrote :

Something similar is reproducible (at least for me) with Trusty 32-bit.
1. Download an ISO of Ubuntu Trusty (from http://cdimage.ubuntu.com/)
2. Install VirtualBox
3. Install Ubuntu Trusty
    $ sudo apt-get install quickly
    $ quickly create dumbrowser
    $ cd dumbrowser/
    $ quickly run # runs just fine
    $ quickly package
................
----------------------------------
Command returned some ERRORS:
----------------------------------
ERROR: Python module helpers not found
ERROR: Python module dumbrowserconfig not found
ERROR: Python module Builder not found
ERROR: Python module Window not found
----------------------------------
Do you want to continue (this is not safe!)? y/[n]: y
Ubuntu packaging created in debian/
...................................................................................
----------------------------------
Command returned some ERRORS:
----------------------------------
ERROR: Python module helpers not found
ERROR: Python module dumbrowserconfig not found
ERROR: Python module Builder not found
ERROR: Python module Window not found
----------------------------------
An error has occurred during package building
ERROR: package command failed
Aborting

This makes me wonder if this is a problem with DistUtilsExtra. It's as if DistUtilsExtra gets confused about the path of the project.

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.