Comment 0 for bug 1021969

Revision history for this message
Andrea De Gaetano (dega1999) wrote :

Yesterday, my quickly worked with the libglib2.0-bin bug.. the workaround was easy, editing debian/control file...

Some hours ago I saw an update for the package, that fixed this problem... but after updating quickly I got a new bug:

-Created a new project

crazycoder@VBox:~$ quickly create ubuntu-application testme
Creating project directory testme
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 `TestmeWindow' can't be set after construction
  Gtk.Window.__init__(self, type=type, **kwds)
Congrats, your new project is setup! cd /home/crazycoder/testme/ to start hacking.
crazycoder@VBox:~$ cd testme/
crazycoder@VBox:~/testme$ ls
AUTHORS bin data help setup.py testme testme.desktop.in testme_lib tests
crazycoder@VBox:~/testme$ quickly package --extras
...
Command returned some WARNINGS:
----------------------------------
WARNING: syntax errors in bin/testme: encoding declaration in Unicode string (testme, line 0)
WARNING: syntax errors in testme/__init__.py: encoding declaration in Unicode string (__init__.py, line 0)
WARNING: syntax errors in testme_lib/Builder.py: encoding declaration in Unicode string (Builder.py, line 0)
WARNING: syntax errors in testme_lib/testmeconfig.py: encoding declaration in Unicode string (testmeconfig.py, line 0)
WARNING: syntax errors in testme_lib/helpers.py: encoding declaration in Unicode string (helpers.py, line 0)
WARNING: syntax errors in testme_lib/Window.py: encoding declaration in Unicode string (Window.py, line 0)
WARNING: syntax errors in testme/PreferencesTestmeDialog.py: encoding declaration in Unicode string (PreferencesTestmeDialog.py, line 0)
WARNING: syntax errors in testme/AboutTestmeDialog.py: encoding declaration in Unicode string (AboutTestmeDialog.py, line 0)
WARNING: syntax errors in testme_lib/AboutDialog.py: encoding declaration in Unicode string (AboutDialog.py, line 0)
WARNING: syntax errors in testme_lib/__init__.py: encoding declaration in Unicode string (__init__.py, line 0)
WARNING: syntax errors in testme_lib/PreferencesDialog.py: encoding declaration in Unicode string (PreferencesDialog.py, line 0)
WARNING: syntax errors in testme/TestmeWindow.py: encoding declaration in Unicode string (TestmeWindow.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 /home/crazycoder/testme/debian/control.
ERROR: package command failed
Aborting

except for the encoding problem.... it looks like there is a problem in packaging.py file.
quickly submitubuntu
seems to produce the same problem.

this is my quickly version..

crazycoder@VBox:~/testme$ quickly --version
Quickly 12.04
  Python interpreter: /usr/bin/python 2.7.3
  Python standard library: /usr/lib/python2.7

  Quickly used library: /usr/lib/python2.7/dist-packages/quickly
  Quickly data path: /usr/share/quickly
  Quickly detected template directories:
          /usr/share/quickly/templates/

Copyright 2009 Rick Spencer
Copyright 2009-2011 Didier Roche
Copyright 2010-2011 Canonical Ltd
https://launchpad.net/quickly

quickly comes with ABSOLUTELY NO WARRANTY. quickly is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 3 or later.