subunit2junitxml fails to run on import error

Bug #1096979 reported by Ben Howard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subunit (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

subunit2junitxml fails on import:

root@ip-10-77-50-54:/tmp/tests/simple-user-data# subunit2junitxml
Traceback (most recent call last):
  File "/usr/bin/subunit2junitxml", line 21, in <module>
    from subunit.filters import run_filter_script
ImportError: No module named 'subunit'
root@ip-10-77-50-54:/tmp/tests/simple-user-data# dpkg -l | grep subunit
ii libsubunit-perl 0.0.8+bzr176-1ubuntu3 all perl parser and diff for Subunit streams
ii python-subunit 0.0.8+bzr176-1ubuntu3 all unit testing protocol - Python bindings to generate and consume streams
ii subunit 0.0.8+bzr176-1ubuntu3 all command line tools for processing Subunit streams

Related branches

affects: ubuntu → subunit (Ubuntu)
Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

The problem here is that some of the programs in the subunit packages require python2.7 while others require python3. The fix is to add python3-subunit as a dependency on the subunit package.

Revision history for this message
Iain Lane (laney) wrote :

Uploaded. Thank you!

Changed in subunit (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package subunit - 0.0.8+bzr176-1ubuntu4

---------------
subunit (0.0.8+bzr176-1ubuntu4) raring; urgency=low

  * Added python3-subunit as a dependency for subunit (LP: #1096979).
 -- Ben Howard <email address hidden> Mon, 07 Jan 2013 11:48:37 -0700

Changed in subunit (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.