create.py crashed with NameError in __main__: name 'env' is not defined

Bug #949811 reported by David Planella
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
quickly (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I got this error when trying to create a test project

$ quickly create ubuntu-application testdoc
Creating project directory testdoc
Creating bzr repository and committing
Launching your newly created project!
Traceback (most recent call last):
  File "/usr/share/quickly/templates/ubuntu-application/create.py", line 125, in <module>
    subprocess.call(['./' + project_name], cwd='bin/', env=env)
NameError: name 'env' is not defined
ERROR: create command failed
Aborting

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: quickly-ubuntu-template 11.12-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.94.1-0ubuntu1
Architecture: amd64
Date: Thu Mar 8 11:03:28 2012
EcryptfsInUse: Yes
ExecutablePath: /usr/share/quickly/templates/ubuntu-application/create.py
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110319)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/share/quickly/templates/ubuntu-application/create.py testdoc
PythonArgs: ['/usr/share/quickly/templates/ubuntu-application/create.py', 'testdoc']
QuicklyDataPath: /usr/share/quickly
QuicklyTemplates:
 /usr/share/quickly/templates/ubuntu-application
 /usr/share/quickly/templates/ubuntu-flash-game
 /usr/share/quickly/templates/ubuntu-pygame
 /usr/share/quickly/templates/ubuntu-cli
QuicklyTemplatesDirectories: /usr/share/quickly/templates/
SourcePackage: quickly
Title: create.py crashed with NameError in __main__: name 'env' is not defined
Traceback:
 Traceback (most recent call last):
   File "/usr/share/quickly/templates/ubuntu-application/create.py", line 125, in <module>
     subprocess.call(['./' + project_name], cwd='bin/', env=env)
 NameError: name 'env' is not defined
UpgradeStatus: Upgraded to precise on 2012-02-16 (20 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
David Planella (dpm) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in quickly (Ubuntu):
status: New → Confirmed
Revision history for this message
Zacon Ion (promix) wrote :

Ubuntu 12.04

zacon@zacon-VirtualBox:~$ quickly create ubuntu-application myapp2
Creating project directory myapp2
Creating bzr repository and committing
Launching your newly created project!
Traceback (most recent call last):
  File "/usr/share/quickly/templates/ubuntu-application/create.py", line 125, in <module>
    subprocess.call(['./' + project_name], cwd='bin/', env=env)
NameError: name 'env' is not defined
ERROR: create command failed
Aborting

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.