quickly refuses to run newly created application
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Quickly |
New
|
Undecided
|
Unassigned |
Bug Description
Hi! On a recently updated Natty installation, I run "quickly create ubuntu-application myproject" and I get this:
Creating project directory myproject
Creating bzr repository and committing
Launching your newly created project!le 0/1
Traceback (most recent call last):
File "./myproject", line 35, in <module>
from myproject import (BaseMyprojectW
File "/home/
from myproject import (
File "/home/
from myproject.helpers import get_builder
File "/home/
from myproject.Builder import Builder
File "/home/
from gi.repository import GObject # pylint: disable=E0611
File "/usr/lib/
from ._gi import _API, Repository
ImportError: /usr/lib/
Congrats, your new project is setup! cd /home/tonyjw/
The directory is created on the filesystem, and it looks like a Quickly app should look. However, running the app through quickly gives a similar result:
$ cd myproject/
$ quickly run
Traceback (most recent call last):
File "bin/myproject", line 35, in <module>
from myproject import (BaseMyprojectW
File "/home/
from myproject import (
File "/home/
from myproject.helpers import get_builder
File "/home/
from myproject.Builder import Builder
File "/home/
from gi.repository import GObject # pylint: disable=E0611
File "/usr/lib/
from ._gi import _API, Repository
ImportError: /usr/lib/
Quickly Version:
Quickly 11.03.1
Python interpreter: /usr/bin/python 2.7.1
Python standard library: /usr/lib/python2.7
Quickly used library: /usr/lib/
Quickly data path: /usr/share/quickly
Quickly detected template directories:
I've met this before running a quickly app outside ubuntu. What worked for me was to replace
from gi.repository import GObject # pylint: disable=E0611
with
try:
from gi.repository import GObject # pylint: disable=E0611
except ImportError:
import gobject as GObject
I don't have Natty so cannot test this in your environment. Can you try this and give us some feedback. patch attached