Ubuntu

pyrocket crashed with ImportError in /usr/lib/pymodules/python2.7/rocket_webcam.py: No module named opencv

Reported by Logan Rosen on 2012-09-24
50
This bug affects 10 people
Affects Status Importance Assigned to Milestone
pyrocket
Unknown
Unknown
pyrocket (Ubuntu)
Medium
Unassigned

Bug Description

This occurs upon starting pyrocket.

ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: pyrocket 0.6-0ubuntu3
ProcVersionSignature: Ubuntu 3.5.0-15.22-generic 3.5.4
Uname: Linux 3.5.0-15-generic x86_64
ApportVersion: 2.5.2-0ubuntu4
Architecture: amd64
Date: Mon Sep 24 16:55:37 2012
ExecutablePath: /usr/bin/pyrocket
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120821)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/pyrocket
ProcEnviron:
 TERM=xterm
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_US.UTF-8
PythonArgs: ['/usr/bin/pyrocket']
SourcePackage: pyrocket
Title: pyrocket crashed with ImportError in /usr/lib/pymodules/python2.7/rocket_webcam.py: No module named opencv
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Logan Rosen (logan) wrote :
tags: removed: need-duplicate-check
Changed in pyrocket (Ubuntu):
importance: Undecided → Medium
Logan Rosen (logan) on 2012-09-24
visibility: private → public
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pyrocket (Ubuntu):
status: New → Confirmed
Alex Wauck (awauck) wrote :

Bug #1055761 (marked as a duplicate of this one, despite having been reported first) has a patch that will prevent the crash from occurring by crudely hacking out all video functionality. It should be sufficient to keep this package limping along until somebody does a proper update of pyrocket. I might take a crack at it, but I'm not entirely sure what pyrocket does with OpenCV.

Logan Rosen (logan) wrote :

Hey, sorry - marked that as a dupe of this one, as this includes the appropriate priority and stacktrace because of apport. Could you please attach the patch to this bug instead?

Logan Rosen (logan) wrote :

Note that, as you can see from the bug watch, a patch was also suggested upstream - I haven't gotten a chance to compare the two yet.

Alex Wauck (awauck) wrote :

Yeah, I saw the "upstream" patch, too. I took a look at the diff and got scared off by the multitude of Subversion files being removed. I'll see if a checkout of that code produces a sane diff against the upstream codebase. If it does, then it would probably be a better candidate than my patch.

Alex Wauck (awauck) wrote :

I have attached a patch that should apply against the latest upstream code (which is probably the same as what's in the package, given the lack of upstream activity) that contains the changes that Stadler guy made. As it turns out, the necessary changes weren't too bad; somebody familiar with the new OpenCV Python interface could have done it in about 15 minutes (if even that).

If we need somebody to properly package these changes, I can do that.

The attachment "stadler-clean.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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