Public bug reported:

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)

** Affects: quickly (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1025899

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/quickly/+bug/1025899/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to