The following Perl modules are needed for the cluster mode: Event

Bug #521907 reported by Mossroy
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dvd::rip
Fix Released
Undecided
auto-joern
dvdrip (Ubuntu)
Fix Released
Medium
Alessio Treglia

Bug Description

Binary package hint: dvdrip

I'm using Ubuntu 10.04 alpha 2 (with all the current updates).
I used dvd::rip to convert a DVD. It is version 0.98.10 (the one from the standard repositories of ubuntu).

I wanted to use the clustering option (to use the multiple cores of my CPU), but I could not.
Ripping without clustering worked correctly

The following error occured when I clicked on "add to cluster" in the "Encoder" tab :

Can't locate Event/RPC.pm in @INC (@INC contains: lib /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/perl5/Video/DVDRip/GUI/Cluster/Control.pm line 17.
BEGIN failed--compilation aborted at /usr/share/perl5/Video/DVDRip/GUI/Cluster/Control.pm line 17.
Compilation failed in require at /usr/share/perl5/Video/DVDRip/GUI/Main.pm line 836.

If I click again on this same button, I have the following error :

Attempt to reload Video/DVDRip/GUI/Cluster/Control.pm aborted.
Compilation failed in require at /usr/share/perl5/Video/DVDRip/GUI/Main.pm line 836.

If I open the menu "Cluster -> Control panel", the program crashes (it's closed without notice)

Maybe there is a missing package dependency regarding perl in the dvd::rip package? I checked in my /usr/share/perl5/ directory : there is no "Event" directory

Here are the dvd::rip dependencies used on my system, given by the menu Debug->Check dependencies :

  Program Version
  -------------------------------
  dvd::rip 0.98.10
  transcode 1.1.5
  ImageMagick 6.5.7
  ffmpeg SVN-r19352-4:0.5+svn20090706-5ubuntu1,
  xvid4conf non installé
  subtitle2pgm 0.3
  lsdvd 0.16
  rar non installé
  mplayer 4.4.3
  ogmtools 1.5
  dvdxchap 1.5
  mjpegtools 1.9.0
  xine 0.99.6
  fping 2.4
  hal 0.5.14
  -------------------------------

Related branches

Revision history for this message
Mossroy (mossroy) wrote :

I would not be surprised that this is related to https://bugs.launchpad.net/ubuntu/+source/dvdrip/+bug/527462

Revision history for this message
Mossroy (mossroy) wrote :

dvdrip has been updated today to version 1:0.98.10-0.2ubuntu7 (that corrects https://bugs.launchpad.net/ubuntu/+source/dvdrip/+bug/527462)
With this version, the behavior is slightly different : when I click on "add to cluster", a window opens (the "cluster control panel"), but with a popup saying that dvdrip-master did not start correctly.

If I start dvdrip-master manually, it fails with the following error message :
$ dvdrip-master

The following Perl modules are needed for the cluster mode:

    Event

Please read the documentation at:

    http://www.exit1.org/dvdrip/doc/install.cipp#cluster
    http://www.exit1.org/dvdrip/doc/cluster.cipp

$ ls -al /usr/share/perl5/Event/
total 28
drwxr-xr-x 4 root root 4096 2010-03-02 07:40 .
drwxr-xr-x 56 root root 4096 2010-02-24 08:12 ..
drwxr-xr-x 5 root root 4096 2010-02-14 18:49 ExecFlow
-rw-r--r-- 1 root root 3798 2009-12-19 12:46 ExecFlow.pm
drwxr-xr-x 3 root root 4096 2010-03-02 07:40 RPC
-rw-r--r-- 1 root root 5260 2008-10-25 10:35 RPC.pm

It looks like the Event Perl module dependency has been added to dvdrip package, but is not found by dvdrip-master
I tried to reinstall packages libevent-rpc-perl and libevent-execflow-perl, but it did not change the behavior

Changed in dvdrip (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Jörn Reder (joern-reder) wrote :

As far as I can see this bug seems to be fixed in #527462. But since I am not using Ubuntu 10.04 alpha I can't confirm it. The reporter should verify and then close this bug.

Revision history for this message
Mossroy (mossroy) wrote :

I still can not use the clustering capability of dvdrip.
I checked the behavior in a virtual machine with a newly installed 10.04 alpha 3 : the problem is the same, so it's reproductible.

In fact, I had two different error messages :
- "Compilation failed in require at /usr/share/perl5/Video/DVDRip/GUI/Main.pm line 836. Can't locate Event/RPC.pm in @INC" has disappeared once #527462 fix has been released
- Now, I have another message when dvdrip-master launches : "The following Perl modules are needed for the cluster mode: Event"

Both messages seem related to the "Event" Perl package. That's why I did not create another bug in launchpad.
I think we have two options :
- keep this launchpad bug and rename it to something generic like "Clustering feature does not work because of missing Event Perl package"
- mark this bug as fixed (and/ord as duplicate of #527462) and create another one, with the second error message

Tell me which one is preferred.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dvdrip - 1:0.98.11-0ubuntu1

---------------
dvdrip (1:0.98.11-0ubuntu1) lucid; urgency=low

  * New upstream bugfix release, definitely closes:
    - LP: #527462
    - LP: #521907
  * debian/control: Bump libgtk2-ex-formfactory-perl, libevent-rpc-perl
    dependencies.
 -- Alessio Treglia <email address hidden> Mon, 08 Mar 2010 13:15:07 +0100

Changed in dvdrip (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Mossroy (mossroy) wrote :

I'm sorry but even with version 1:0.98.11-0ubuntu1 , I still have the second error message.
It can easily be reproduced this way :
- install the dvdrip package
- run dvdrip-master in a terminal
It prevents from using the clustering feature.

Should I open another bug?

Revision history for this message
Mossroy (mossroy) wrote :

I opened another bug for the error message of dvdrip-master : https://bugs.launchpad.net/ubuntu/+source/dvdrip/+bug/538475

Changed in dvdrip (Ubuntu):
status: Fix Released → Confirmed
Changed in dvdrip:
status: New → Confirmed
summary: - Error on "add to cluster" : "Compilation failed in require at
- /usr/share/perl5/Video/DVDRip/GUI/Main.pm line 836"
+ The following Perl modules are needed for the cluster mode: Event
Changed in dvdrip (Ubuntu):
assignee: nobody → Alessio Treglia (quadrispro)
status: Confirmed → In Progress
Changed in dvdrip:
status: Confirmed → Fix Released
Changed in dvdrip (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dvdrip - 1:0.98.11-0ubuntu2

---------------
dvdrip (1:0.98.11-0ubuntu2) lucid; urgency=low

  * Depends on libevent-perl (finally closes LP: #521907).
 -- Alessio Treglia <email address hidden> Mon, 15 Mar 2010 00:28:57 +0100

Changed in dvdrip (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
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.