Not sure it's related to this fix, but after trying to run the test case I'm getting Unicode errors: dpm@avenc:/tmp$ LC_ALL=C apt-cache policy quickly-ubuntu-template | grep Installed Installed: 12.04-0ubuntu3 dpm@avenc:/tmp$ quickly create ubuntu-application foo Creating project directory foo Creating bzr repository and committing Launching your newly created project! /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:391: Warning: g_object_set_property: construct property "type" for object `Window' can't be set after construction Gtk.Window.__init__(self, type=type, **kwds) /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:391: Warning: g_object_set_property: construct property "type" for object `FooWindow' can't be set after construction Gtk.Window.__init__(self, type=type, **kwds) Congrats, your new project is setup! cd /tmp/foo/ to start hacking. dpm@avenc:/tmp$ cd foo dpm@avenc:/tmp/foo$ quickly package --extras ... Command returned some WARNINGS: ---------------------------------- WARNING: syntax errors in foo/__init__.py: encoding declaration in Unicode string (__init__.py, line 0) WARNING: syntax errors in foo/AboutFooDialog.py: encoding declaration in Unicode string (AboutFooDialog.py, line 0) WARNING: syntax errors in foo_lib/__init__.py: encoding declaration in Unicode string (__init__.py, line 0) WARNING: syntax errors in foo_lib/Builder.py: encoding declaration in Unicode string (Builder.py, line 0) WARNING: syntax errors in foo_lib/AboutDialog.py: encoding declaration in Unicode string (AboutDialog.py, line 0) WARNING: syntax errors in foo_lib/Window.py: encoding declaration in Unicode string (Window.py, line 0) WARNING: syntax errors in foo_lib/fooconfig.py: encoding declaration in Unicode string (fooconfig.py, line 0) WARNING: syntax errors in bin/foo: encoding declaration in Unicode string (foo, line 0) WARNING: syntax errors in foo_lib/helpers.py: encoding declaration in Unicode string (helpers.py, line 0) WARNING: syntax errors in foo_lib/PreferencesDialog.py: encoding declaration in Unicode string (PreferencesDialog.py, line 0) WARNING: syntax errors in foo/PreferencesFooDialog.py: encoding declaration in Unicode string (PreferencesFooDialog.py, line 0) WARNING: syntax errors in foo/FooWindow.py: encoding declaration in Unicode string (FooWindow.py, line 0) ---------------------------------- Do you want to continue (this is not safe!)? y/[n]: y Traceback (most recent call last): File "/usr/share/quickly/templates/ubuntu-application/package.py", line 83, in if packaging.updatepackaging(no_changelog=True, installopt=for_extras) != 0: File "/usr/share/quickly/templates/ubuntu-application/internal/packaging.py", line 322, in updatepackaging update_rules() File "/usr/share/quickly/templates/ubuntu-application/internal/packaging.py", line 260, in update_rules " debhelper (>= 6), libglib2.0-bin,") File "/usr/lib/python2.7/dist-packages/quickly/templatetools.py", line 137, in update_file_content raise CantUpdateFile(_("%s was not found in the file %s.") % (start_marker, ftarget_file_name.name)) quickly.templatetools.CantUpdateFile: debhelper (>= 6), was not found in the file /tmp/foo/debian/control. ERROR: package command failed Aborting