Need launchpad integration in non-installed packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Quickly |
In Progress
|
Undecided
|
Unassigned |
Bug Description
Attempting to click any of the launchpad integration menu items results in the following error being displayed in the running terminal:
Creating project directory test-project
Creating bzr repository and commiting
Launching your newly created project!le 0/1
Traceback (most recent call last):
File "<string>", line 5, in <module>
File "/usr/share/
pkginfo = PackageInfo.
File "/usr/share/
'"%s"' % package)
launchpadintegr
This problem only occurs during development, and vanishes once the package is installed (obviously)
Related branches
- Didier Roche-Tolomelli: Needs Information
-
Diff: 55 lines (+13/-3)3 files modifiedbin/quickly (+2/-1)
data/templates/ubuntu-application/project_root/bin/project_name (+3/-1)
data/templates/ubuntu-application/run.py (+8/-1)
Copied from Bug #534947:
The problem seems quite deeply rooted in how launchpad- integration works. Currently, lpi supports:
* fromProcessID( options. pid, logger) options. filename, logger) (options. package, logger) options. xid, logger)
* fromFilename(
* fromPackageName
* fromXID(
It uses these options to look up the relevant information from a package. Basically, another option needs to be added somehow to allow overriding the lookup functionality to use a hardcoded control file for a particular package.
I've raised a bug upstream for this and will spend some time addressing that. That is the required functionality to address both this issue, and the associated crash as seen when attempting to launch the report a bug feature prior to installing the package under development.