3

I'm having some trouble packaging my Quickly (Python/GTK) app. Creating and packaging a new app (created using quickly create test and cd test; quickly package) works just fine, but the actual app that I've developed fails to get packaged. Here's the log:

...........
----------------------------------
Command returned some ERRORS:
----------------------------------
ERROR: Python module helpers not found
ERROR: Python module ubermessageconfig not found
ERROR: Python module Builder not found
ERROR: Python module Window not found
----------------------------------

However, these modules do exist in app/app_lib. What's causing the errors, then?

Help appreciated.

2
  • Is 'app' the actual name of your application?
    – mhall119
    Jun 18, 2012 at 21:09
  • Not really. Doesn't clash with an already-installed package if that's what you're asking about.
    – aviraldg
    Jun 18, 2012 at 22:05

2 Answers 2

2

I figured out the reason:

Turns out, Quickly scans your python code to generate a list of dependencies. If you have half-written modules with syntax errors, quickly package will fail (even if you haven't imported the offending modules anywhere.)

1

Ah, you probably should be using relative imports like "from . helpers import XXX" (note the dot)

That prevents quickly from being confused when it tries to find the package that the import belongs to (it knows to ignore explicitly relative imports).

1
  • I am, and it still doesn't work.
    – aviraldg
    Jun 18, 2012 at 20:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .