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 <module>
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
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 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 __init_ _(self, type=type, **kwds) 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 __init_ _(self, type=type, **kwds) ------- ------- ------- ------ log.py: encoding declaration in Unicode string (AboutFooDialog.py, line 0) __init_ _.py: encoding declaration in Unicode string (__init__.py, line 0) AboutDialog. py: encoding declaration in Unicode string (AboutDialog.py, line 0) fooconfig. py: encoding declaration in Unicode string (fooconfig.py, line 0) PreferencesDial og.py: encoding declaration in Unicode string (PreferencesDia log.py, line 0) FooDialog. py: encoding declaration in Unicode string (PreferencesFoo Dialog. py, line 0) ------- ------- ------- ------ quickly/ templates/ ubuntu- application/ package. py", line 83, in <module> updatepackaging (no_changelog= True, installopt= for_extras) != 0: quickly/ templates/ ubuntu- application/ internal/ packaging. py", line 322, in updatepackaging quickly/ templates/ ubuntu- application/ internal/ packaging. py", line 260, in update_rules python2. 7/dist- packages/ quickly/ templatetools. py", line 137, in update_file_content _("%s was not found in the file %s.") % (start_marker, ftarget_ file_name. name)) templatetools. CantUpdateFile: debhelper (>= 6), was not found in the file /tmp/foo/ debian/ control.
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/
Gtk.Window.
/usr/lib/
Gtk.Window.
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/AboutFooDia
WARNING: syntax errors in foo_lib/
WARNING: syntax errors in foo_lib/Builder.py: encoding declaration in Unicode string (Builder.py, line 0)
WARNING: syntax errors in foo_lib/
WARNING: syntax errors in foo_lib/Window.py: encoding declaration in Unicode string (Window.py, line 0)
WARNING: syntax errors in foo_lib/
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/
WARNING: syntax errors in foo/Preferences
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/
if packaging.
File "/usr/share/
update_rules()
File "/usr/share/
" debhelper (>= 6), libglib2.0-bin,")
File "/usr/lib/
raise CantUpdateFile(
quickly.
ERROR: package command failed
Aborting