It is possible to create a new Quickly project with failing tests

Bug #1025899 reported by Stuart Langridge on 2012-07-17
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Low
Unassigned
Quickly
Undecided
Unassigned
quickly (Ubuntu)
Low
Unassigned

Bug Description

A newly created ubuntu-application quickly project fails its example tests before any user editing is done. This specific bug has likely been fixed, but perhaps as part of integration testing quickly should create projects with each template and then run those projects' tests to stop this happening again?

aquarius@faith:~$ cd /tmp
aquarius@faith:/tmp$ quickly create ubuntu-application bugexample
Creating project directory bugexample
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 `BugexampleWindow' can't be set after construction
  Gtk.Window.__init__(self, type=type, **kwds)
Congrats, your new project is setup! cd /tmp/bugexample/ to start hacking.
aquarius@faith:/tmp$ cd bugexample/
aquarius@faith:/tmp/bugexample$ nosetests
FE
======================================================================
ERROR: run pylint in error only mode
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/bugexample/tests/test_lint.py", line 16, in test_project_errors_only
    return_code = subprocess.call(["pylint", '-E', 'bugexample'])
  File "/usr/lib/python2.7/subprocess.py", line 493, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

======================================================================
FAIL: test_AboutBugexampleDialog_members (test_example.TestExample)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/bugexample/tests/test_example.py", line 23, in test_AboutBugexampleDialog_members
    self.assertEqual(self.AboutBugexampleDialog_members, public_members)
AssertionError: Lists differ: ['AboutDialog', 'AboutBugexamp... != ['AboutBugexampleDialog', 'Abo...

First differing element 0:
AboutDialog
AboutBugexampleDialog

- ['AboutDialog', 'AboutBugexampleDialog', 'gettext', 'logger', 'logging']
? ---------------

+ ['AboutBugexampleDialog', 'AboutDialog', 'gettext', 'logger', 'logging']
? +++++++++++++++

----------------------------------------------------------------------
Ran 2 tests in 0.141s

FAILED (errors=1, failures=1)
aquarius@faith:/tmp/bugexample$

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: quickly 12.04-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
Uname: Linux 3.2.0-26-generic x86_64
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
CheckboxSubmission: 4d186c1dd89d3ba4cb89f5ee55713686
CheckboxSystem: bb422ca46d02494cdbc459927a98bc2f
Date: Tue Jul 17 22:25:07 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111211)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
QuicklyDataPath: /usr/share/quickly
QuicklyTemplates:
 /home/aquarius/quickly-templates/ubuntu-application-qtquick
 /usr/share/quickly/templates/ubuntu-application
 /usr/share/quickly/templates/ubuntu-flash-game
 /usr/share/quickly/templates/ubuntu-cli
QuicklyTemplatesDirectories:
 /home/aquarius/quickly-templates
 /usr/share/quickly/templates/
SourcePackage: quickly
UpgradeStatus: No upgrade log present (probably fresh install)

Stuart Langridge (sil) wrote :
Hans Joachim Desserud (hjd) wrote :

Thanks for reporting. I was able to reproduce this issue with quickly 12.05-0ubuntu1 on Ubuntu Quantal by following the instructions above.

Changed in quickly (Ubuntu):
status: New → Confirmed
Hans Joachim Desserud (hjd) wrote :

Still reproducible with quickly 12.08.1-0ubuntu2 on Ubuntu Utopic.

tags: added: trusty utopic
Changed in quickly (Ubuntu):
importance: Undecided → Low
Changed in hundredpapercuts:
importance: Undecided → Low
status: New → Confirmed
Changed in quickly:
status: New → Confirmed
dino99 (9d9) wrote :

quickly is no more maintained, and other tools are used nowadays instaed

Changed in quickly (Ubuntu):
status: Confirmed → Invalid
Changed in quickly:
status: Confirmed → Invalid
Changed in hundredpapercuts:
status: Confirmed → Invalid
Hans Joachim Desserud (hjd) wrote :

I found bug 1494345 which mentions the Ubuntu SDK (and Make) as the replacement tools, in case others were curious too.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers