definition of env varible in run command wrongly depends on existence of glib2 schema path file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Quickly |
Fix Released
|
Undecided
|
Unassigned | ||
quickly (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm testing the qtquick-application template with the Precise Quickly. Creating a new the project with this template doesn't works anymore providing this error:
Traceback (most recent call last):
File "/usr/share/
subprocess.
NameError: name 'env' is not defined
Inspecting the code in ubuntu-
schemapath = os.path.
if os.path.
subprocess.
env = os.environ.copy()
datadir = os.path.
if 'XDG_DATA_DIRS' in env:
else:
So if a template derivated from quickly-application doesn't uses glib and doesn't provide the data/glib-
The problem is that few lines after in the code we have the env variable used in the subprocess.call
subprocess.
This would be fixed just putting the env = os.environ.copy() before the if clause.
I'll provide a patch later, thanks in advance
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: quickly 11.12-0ubuntu1
ProcVersionSign
Uname: Linux 3.2.0-17-
ApportVersion: 1.91-0ubuntu1
Architecture: i386
Date: Sun Feb 19 18:21:16 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20120201.1)
PackageArchitec
ProcEnviron:
PATH=(custom, no user)
LANG=it_IT.UTF-8
SHELL=/bin/bash
QuicklyDataPath: /usr/share/quickly
QuicklyTemplate
/home/
/usr/share/
SourcePackage: quickly
UpgradeStatus: Upgraded to precise on 2012-02-19 (0 days ago)
Changed in quickly (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in quickly: | |
status: | New → Fix Committed |
Changed in quickly: | |
milestone: | none → 12.03 |
Changed in quickly: | |
status: | Fix Committed → Fix Released |
I just find that Dider fixed it in trunk few days ago:
http:// bazaar. launchpad. net/~quickly- committers/ quickly/ trunk/revision/ 652
You can't beat that guy :)