Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pycdio & libcdio issues #238

Closed
TJFOE opened this issue Feb 25, 2018 · 20 comments
Closed

pycdio & libcdio issues #238

TJFOE opened this issue Feb 25, 2018 · 20 comments
Labels
Support Questions that needs answering with no code changes needed or that only require a one time change
Milestone

Comments

@TJFOE
Copy link

TJFOE commented Feb 25, 2018

Hi,

I installed whipper by hand on Kubuntu 17.10 from git. After "whipper drive analyze"

I get:
File "/usr/local/lib/python2.7/dist-packages/whipper-0.6.0-py2.7.egg/whipper/command/cd.py", line 22, in
import cdio
ImportError: No module named cdio

Any idea, what I can do? Installed is:
libcdio-cdda1
libcdio-paranoia1
libcdio-utils
libcdio-dev
libcdio-cdda-dev
libcdio-paranoia-dev
libcdio13

Regards
Thomas

@ghost
Copy link

ghost commented Feb 25, 2018

Do you have pycdio installed?

@TJFOE
Copy link
Author

TJFOE commented Feb 25, 2018

I did this - like described on the website:

apt-get install python-dev
apt-get install libcdio-dev
apt-get install libiso9660-dev
apt-get install swig pkg-config

@ghost
Copy link

ghost commented Feb 25, 2018

That installs the dependencies of pycdio, I think. You need to install pycdio itself as well.

@TJFOE
Copy link
Author

TJFOE commented Feb 25, 2018

I found the file "pycdio-2.0.0.tar.gz" and did "make". I got this:

File "./setup.py", line 66, in run
assert ge_2 == 0, "Need at least libcdio 2.0.0 to use this"
AssertionError: Need at least libcdio 2.0.0 to use this

@ghost
Copy link

ghost commented Feb 25, 2018

I don't know what version of cdio is the default on ubuntu 17.10 but you need pycdio version 0.20 AFAIK. Try the tar you can find here.

@TJFOE
Copy link
Author

TJFOE commented Feb 25, 2018

Yes. That is what I did.

@ghost
Copy link

ghost commented Feb 25, 2018

The version is different from what I can tell. (2.0.0 and 0.20)

@TJFOE
Copy link
Author

TJFOE commented Feb 25, 2018

I downloaded this meanwhile and I am running in new errors:
http://git.savannah.gnu.org/cgit/libcdio.git

Error in makefile, line 427:
Makefile:427: die Regel für Ziel „libcdio.info“ scheiterte
make[2]: *** [libcdio.info] Fehler 127

line 427 means:
sharedstatedir = ${prefix}/com

whatever that means...

@TJFOE
Copy link
Author

TJFOE commented Feb 25, 2018

This solved the error:

sudo apt-get update
Install texinfo deb package:
sudo apt-get install texinfo

Now it seems good ... but a new error:
make[2]: *** Keine Regel vorhanden, um das Ziel „cd-drive.1“,
benötigt von „all-am“, zu erstellen. Schluss.

or:
remake[2]: *** No rule to make target 'cd-drive.1', needed by 'all-am'. Stop.

@TJFOE
Copy link
Author

TJFOE commented Feb 27, 2018

No one an idea how to come out of this new error?

Ah sorry: I have pycdio 0.20. But in Kubuntu I don't come over the error above with libcdio: "No rule to make target 'cd-drive.1', needed by 'all-am'. "

@TJFOE
Copy link
Author

TJFOE commented Feb 28, 2018

Kubuntu 17.10 has libcdio version 0.83 installed = max. version in sources

Even this *.deb could not be installed because of its dependencies:
https://ubuntu.pkgs.org/18.04/ubuntu-main-i386/libcdio-cdda2_10.2+0.94+2-2build1_i386.deb.html

@TJFOE
Copy link
Author

TJFOE commented Feb 28, 2018

I have solved this problem for me this way: I downgraded to pycdio version 17 and using libcdio version 0.83 (I tried several other things which did not work):

sudo apt-get install python-pip
sudo apt-get install python-dev libcdio-dev libiso9660-dev swig pkg-config
sudo pip install pycdio==0.17

@TJFOE TJFOE closed this as completed Feb 28, 2018
@TJFOE TJFOE reopened this Feb 28, 2018
@TJFOE
Copy link
Author

TJFOE commented Feb 28, 2018

I reopen this issue. Because whipper starts but doesn't work correctly at all. I don't know, if it is a totally different problem. The problems:

  • I have two devices and can only start with /dev/sr0 (what is the unused device). I cannot adress /dev/sr1

  • If I use /dev/sr0 with "whipper offset find -o 6" (+6 is the correct offset for LG Electronics - BD-RE BH16NS40) and if I use any of the reference CDs, I get always:

Checking device /dev/sr0
Trying read offset 6 ...
WARNING:whipper.program.cdparanoia:file size 0 did not match expected size 121250348
WARNING:whipper.program.cdparanoia:non-integral amount of frames difference
WARNING: cannot rip with offset 6...
No matching offset found.
Consider trying again with a different disc.

@GitHubGeek
Copy link

GitHubGeek commented Mar 4, 2018

A related issue. pycdio==0.17 doesn't work at all. Upgrade to ==0.20 would make the traceback go away:

$ whipper -h
Traceback (most recent call last):
  File "/home/ghg1988/.local/share/virtualenvs/pipenv-whipper-QlXKNnGk/bin/whipper", line 11, in <module>
    load_entry_point('whipper==0.6.0', 'console_scripts', 'whipper')()
  File "/home/ghg1988/.local/share/virtualenvs/pipenv-whipper-QlXKNnGk/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 572, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/home/ghg1988/.local/share/virtualenvs/pipenv-whipper-QlXKNnGk/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2752, in load_entry_point
    return ep.load()
  File "/home/ghg1988/.local/share/virtualenvs/pipenv-whipper-QlXKNnGk/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2405, in load
    return self.resolve()
  File "/home/ghg1988/.local/share/virtualenvs/pipenv-whipper-QlXKNnGk/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2411, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/home/ghg1988/.local/share/virtualenvs/pipenv-whipper-QlXKNnGk/local/lib/python2.7/site-packages/whipper-0.6.0-py2.7.egg/whipper/command/main.py", line 11, in <module>
    from whipper.command import cd, offset, drive, image, accurip, debug
  File "/home/ghg1988/.local/share/virtualenvs/pipenv-whipper-QlXKNnGk/local/lib/python2.7/site-packages/whipper-0.6.0-py2.7.egg/whipper/command/cd.py", line 22, in <module>
    import cdio
  File "/home/ghg1988/.local/share/virtualenvs/pipenv-whipper-QlXKNnGk/local/lib/python2.7/site-packages/cdio.py", line 20, in <module>
    import pycdio
  File "/home/ghg1988/.local/share/virtualenvs/pipenv-whipper-QlXKNnGk/local/lib/python2.7/site-packages/pycdio.py", line 76, in <module>
    CDIO_READ_MODE_AUDIO = _pycdio.CDIO_READ_MODE_AUDIO
AttributeError: 'module' object has no attribute 'CDIO_READ_MODE_AUDIO'

Running Ubuntu 16.04 LTS

$ dpkg -l | grep cdio
ii  libcdio-cdda-dev:amd64          0.83-4.2ubuntu1  amd64        library to read and control digital audio CDs (development files)
ii  libcdio-cdda1:amd64             0.83-4.2ubuntu1  amd64        library to read and control digital audio CDs
ii  libcdio-dev:amd64               0.83-4.2ubuntu1  amd64        library to read and control CD-ROM (development files)
ii  libcdio-paranoia1:amd64         0.83-4.2ubuntu1  amd64        library to read digital audio CDs with error correction
ii  libcdio-utils                   0.83-4.2ubuntu1  amd64        sample applications based on the CDIO libraries
ii  libcdio13:amd64                 0.83-4.2ubuntu1  amd64        library to read and control CD-ROM

Update: pycdio==0.20 doesn't seem to work with libcdio 0.83 - Stuck at Matching releases when running whipper cd rip

@JoeLametta JoeLametta added the Bug Generic bug: can be used together with more specific labels label Mar 8, 2018
@JoeLametta JoeLametta changed the title ImportError: No module named cdio pycdio & libcdio issues Apr 6, 2018
@JoeLametta JoeLametta added this to the 1.0 milestone Apr 6, 2018
@walterav1984
Copy link

walterav1984 commented Apr 19, 2018

On Ubuntu 18.04 whipper cd rip will also error the same as topic starter, although the install doesn't show any errors.

Traceback (most recent call last):
  File "/usr/local/bin/whipper", line 11, in <module>
    load_entry_point('whipper==0.7.0', 'console_scripts', 'whipper')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 480, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2693, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2324, in load
    return self.resolve()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2330, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/local/lib/python2.7/dist-packages/whipper-0.7.0-py2.7.egg/whipper/command/main.py", line 11, in <module>
    from whipper.command import cd, offset, drive, image, accurip, mblookup
  File "/usr/local/lib/python2.7/dist-packages/whipper-0.7.0-py2.7.egg/whipper/command/cd.py", line 22, in <module>
    import cdio
ImportError: No module named cdio

This probably comes becomes it is impossible to install pycdio==0.21 nor 0.20 nor higher/lower, because it will error about ‘DRIVER_BSDI’ undeclared (first use in this function);.

pip install pycdio==0.21 --user
#sudo pip install pycdio==0.21
Collecting pycdio==0.21
  Using cached https://files.pythonhosted.org/packages/0f/1f/ae4c2d6b249073f623511c2857f3f82410de71c3159b6cc2937d1dd4d813/pycdio-0.21.tar.gz
Building wheels for collected packages: pycdio
  Running setup.py bdist_wheel for pycdio ... error
  Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-BXl5Po/pycdio/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmp3HDAkdpip-wheel- --python-tag cp27:
  running bdist_wheel
  running build
  libcdio version > 0.83
  running build_ext
  building '_pycdio' extension
  swigging swig/pycdio.i to swig/pycdio_wrap.c
  swig -python -outdir /tmp/pip-build-BXl5Po/pycdio -o swig/pycdio_wrap.c swig/pycdio.i
  creating build
  creating build/temp.linux-x86_64-2.7
  creating build/temp.linux-x86_64-2.7/swig
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-nbjU53/python2.7-2.7.15~rc1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c swig/pycdio_wrap.c -o build/temp.linux-x86_64-2.7/swig/pycdio_wrap.o
  swig/pycdio_wrap.c: In function ‘init_pycdio’:
  swig/pycdio_wrap.c:8032:66: error: ‘DRIVER_BSDI’ undeclared (first use in this function); did you mean ‘DRIVER_OSX’?
     SWIG_Python_SetConstant(d, "DRIVER_BSDI",SWIG_From_long((long)(DRIVER_BSDI)));
                                                                    ^~~~~~~~~~~
                                                                    DRIVER_OSX
  swig/pycdio_wrap.c:8032:66: note: each undeclared identifier is reported only once for each function it appears in
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  
  ----------------------------------------
  Failed building wheel for pycdio
  Running setup.py clean for pycdio
Failed to build pycdio
Installing collected packages: pycdio
  Running setup.py install for pycdio ... error
    Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-BXl5Po/pycdio/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-FsGzjc-record/install-record.txt --single-version-externally-managed --compile --user --prefix=:
    running install
    running build
    libcdio version > 0.83
    running build_ext
    building '_pycdio' extension
    swigging swig/pycdio.i to swig/pycdio_wrap.c
    swig -python -outdir /tmp/pip-build-BXl5Po/pycdio -o swig/pycdio_wrap.c swig/pycdio.i
    creating build
    creating build/temp.linux-x86_64-2.7
    creating build/temp.linux-x86_64-2.7/swig
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-nbjU53/python2.7-2.7.15~rc1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c swig/pycdio_wrap.c -o build/temp.linux-x86_64-2.7/swig/pycdio_wrap.o
    swig/pycdio_wrap.c: In function ‘init_pycdio’:
    swig/pycdio_wrap.c:8032:66: error: ‘DRIVER_BSDI’ undeclared (first use in this function); did you mean ‘DRIVER_OSX’?
       SWIG_Python_SetConstant(d, "DRIVER_BSDI",SWIG_From_long((long)(DRIVER_BSDI)));
                                                                      ^~~~~~~~~~~
                                                                      DRIVER_OSX
    swig/pycdio_wrap.c:8032:66: note: each undeclared identifier is reported only once for each function it appears in
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    
    ----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-BXl5Po/pycdio/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-FsGzjc-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-BXl5Po/pycdio/

More info:

git show
#commit db8050d8c47a3371caecfc1947f70861279c9304 (HEAD -> master, tag: v0.7.0, origin/master, #origin/HEAD)
#Author: JoeLametta <[email protected]>
#Date:   Mon Apr 9 08:05:00 2018 +0000

dpkg -l | grep cdio
ii  libcdio-cdda-dev:amd64                     10.2+0.94+2-2build1                    amd64        library to read and control digital audio CDs (development files)
ii  libcdio-cdda2:amd64                        10.2+0.94+2-2build1                    amd64        library to read and control digital audio CDs
ii  libcdio-dev:amd64                          1.0.0-2ubuntu2                         amd64        library to read and control CD-ROM (development files)
ii  libcdio-paranoia-dev:amd64                 10.2+0.94+2-2build1                    amd64        library to read digital audio CDs with error correction (development files)
ii  libcdio-paranoia2:amd64                    10.2+0.94+2-2build1                    amd64        library to read digital audio CDs with error correction
ii  libcdio-utils                              1.0.0-2ubuntu2                         amd64        sample applications based on the CDIO libraries
ii  libcdio17:amd64                            1.0.0-2ubuntu2                         amd64        library to read and control CD-ROM

dpkg -l | grep paranoi
ii  cdparanoia                                 3.10.2+debian-13                       amd64        audio extraction tool for sampling CDs
ii  libcdio-paranoia-dev:amd64                 10.2+0.94+2-2build1                    amd64        library to read digital audio CDs with error correction (development files)
ii  libcdio-paranoia2:amd64                    10.2+0.94+2-2build1                    amd64        library to read digital audio CDs with error correction
ii  libcdparanoia0:amd64                       3.10.2+debian-13                       amd64        audio extraction tool for sampling CDs (library)

I guess @thomas-mc-work might has the same issue when making a docker container for this Ubuntu release?

@thomas-mc-work
Copy link
Contributor

thomas-mc-work commented May 7, 2018

@walterav1984 Yes, I encounter it already when installing pycdio==0.21 on Debian 10 (buster).

The current situation is very unsatisfying to me. I'm unable to get the latest version of whipper running on any Debian based distribution. This also prevents me from finalizing a working Dockerfile (#237) 😞

@JoeLametta + other developers: Which OS are you using? Maybe to switch to pycdio >= 0.20 was too quick for everything else.

@walterav1984
Copy link

walterav1984 commented May 12, 2018

I'm not sure if its distro/packaging related since most use ubuntu, debian or similar, but both for ubuntu and debian I haven't found any relevant/related bugs in their bugtrackers.

However when looking at the mailinglist and bugtracker on gnu libcdio I found 4 commits on date (2018/01/25) for pycdio 0.21 in which is applicable to libcdio2.00 although we use 0.94 see Libcdio-devel.

It seems to get around the error: 'DRIVER_BSDI' undeclared (first use in this function); did you mean 'DRIVER_OSX'?

@thomas-mc-work @JoeLametta is this applicable to 0.94?

git clone https://git.savannah.gnu.org/git/libcdio/pycdio.git

cd pycdio

git log
commit d48be101df87fa057adb72b7298c91977cdbcc54
Author: rocky <[email protected]>
Date:   Thu Jan 25 06:14:37 2018 -0500

    More admnistrivia

commit 63eaf4f71d1114fc0baa8bfa18c29f6ff658294d
Author: rocky <[email protected]>
Date:   Thu Jan 25 05:57:48 2018 -0500

    Address merge conflicts

commit 6c12523eac799d7750ebe04f023be0070a0e28e7
Merge: b75c8dd 7df5fcf
Author: rocky <[email protected]>
Date:   Thu Jan 25 05:57:26 2018 -0500

    Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/libcdio/pycdio

commit b75c8dd871cd3970fd18054d037fb11bafa9db97
Author: rocky <[email protected]>
Date:   Thu Jan 25 05:44:07 2018 -0500

    Ready for Release 2.0.0
    
    * Update API to 2.0.0. Assume version 2.0.0 or greater of libcdio.
    * remove old compatibilty code.
    * Update usual Python administrivia and package info.

git diff 7df5fcf d48be10

@walterav1984
Copy link

walterav1984 commented May 20, 2018

Manually building and installing pycdio 7df5fcf brought me to the next error complaining about cd-paranoia. Installing both libcdio & cd-paranoia from the following instructions still produced some errors with the latest whipper release(sorry didn't log them).

However whipper 0.5.1(patched with skip tracks and run without install 1247c94 + 88c7abc + 1e907e2 + aa21395 ) has successfully ripped a music CD on ubuntu 18.04 for me tonight :-). Also cac64f0 + 88c7abc + 1e907e2 + aa21395 worked for me.

Additional instructions for installing whipper 0.5.1 on Ubuntu Mate 18.04 amd64:

sudo apt-get install cdrdao python-cairo python-dev libcdio-dev libiso9660-dev swig pkg-config python-pip build-essential libsndfile1-dev libsndfile1 python-gobject python-requests flac sox libcdio-utils libcdio17 libcdparanoia0 libcdio-paranoia-dev cdparanoia

mkdir gitfolder
cd gitfolder

git clone https://github.com/JoeLametta/whipper.git
cd whipper
git reset --hard cac64f0
#add commit 88c7abc to run/test whipper without install

cd src
make
sudo make install #install accuraterip-checksum
cd..
cd..

Continue with following pycdio instructions:

cd gitfolder
git clone https://git.savannah.gnu.org/git/libcdio/pycdio.git
cd pycdio
git reset --hard 7df5fcf

Patch with cherry-picked git diff from d48be10

diff --git a/VERSION.py b/VERSION.py
new file mode 100644
index 0000000..e365a51
--- /dev/null
+++ b/VERSION.py
@@ -0,0 +1,7 @@
+# This file is needs to be multi-lingual in both Python and POSIX
+# shell which "execfile" or "source" it respectively.
+
+# This file should define a variable VERSION which we use as the
+# debugger version number.
+
+VERSION='0.94'
diff --git a/__pkginfo__.py b/__pkginfo__.py
index df00a3c..6546916 100644
--- a/__pkginfo__.py
+++ b/__pkginfo__.py
@@ -16,7 +16,14 @@
 
 modname = 'pycdio'
 
-version = '0.20'
+version = '0.21'
+
+
+# VERSION.py sets variable VERSION.
+import os.path
+exec(compile(open(os.path.join(os.path.dirname(__file__),
+                               'VERSION.py')).read(),
+             os.path.join(os.path.dirname(__file__), 'VERSION.py'), 'exec'))
 
 license   = 'GPL'
 copyright = '''Copyright (C) 2006, 2008, 2009, 2010, 2013 Rocky Bernstein <[email protected]>.'''
@@ -34,4 +41,15 @@ classifiers =  ['Development Status :: 4 - Beta',
                 'Intended Audience :: Developers',
                 'License :: OSI Approved :: GNU General Public License (GPL)',
                 'Programming Language :: Python',
+                'Programming Language :: Python :: 2.4',
+                'Programming Language :: Python :: 2.5',
+                'Programming Language :: Python :: 2.6',
+                'Programming Language :: Python :: 2.7',
+                'Programming Language :: Python :: 3',
+                'Programming Language :: Python :: 3.2',
+                'Programming Language :: Python :: 3.3',
+                'Programming Language :: Python :: 3.4',
+                'Programming Language :: Python :: 3.5',
+                'Programming Language :: Python :: 3.6',
+                'Programming Language :: Python :: 3.7',
                 ]
diff --git a/cdio.py b/cdio.py
index 675407e..c0d5cbe 100644
--- a/cdio.py
+++ b/cdio.py
@@ -47,7 +47,6 @@ pycdio.CDTEXT_FIELD_ISRC      = _pycdio.CDTEXT_PERFORMER
 drivers = {
     'Unknown'  : pycdio.DRIVER_UNKNOWN,
     'AIX'      : pycdio.DRIVER_AIX,
-    'BSDI'     : pycdio.DRIVER_BSDI,
     'FreeBSD'  : pycdio.DRIVER_FREEBSD,
     'GNU/Linux': pycdio.DRIVER_LINUX,
     'linux'    : pycdio.DRIVER_LINUX,
diff --git a/swig/device_const.swg b/swig/device_const.swg
index f7d369b..27b2d28 100644
--- a/swig/device_const.swg
+++ b/swig/device_const.swg
@@ -83,7 +83,6 @@
 /* driver_id_t enums. */
 %constant long int DRIVER_UNKNOWN = DRIVER_UNKNOWN;
 %constant long int DRIVER_AIX     = DRIVER_AIX;
-%constant long int DRIVER_BSDI    = DRIVER_BSDI;
 %constant long int DRIVER_FREEBSD = DRIVER_FREEBSD;
 %constant long int DRIVER_LINUX   = DRIVER_LINUX;
 %constant long int DRIVER_SOLARIS = DRIVER_SOLARIS;

Now build patched pycdio 7df5fcf and install it see "admin-tools/how-to-make-a-release.md" if build fails!

make clean
make build

#install pycdio manually as user when running/testing whipper as not installed
pip install -e /home/user/gitfolder/pycdio --user

#test whipper
cd gitfolder
cd whipper
python2 -m whipper cd rip

#install pycdio when whipper was installed using "sudo python2 setup.py install"
sudo pip install -e /home/user/gitfolder/pycdio

#install/test whipper
cd gitfolder
cd whipper
sudo python2 setup.py install
whipper cd rip

Now you should be able to run Whipper 0.5.1, newer versions of whipper will run (haven't tested the recent pyhton3 cleanup) if additional debs will be installed suggested by @frankongithub18 posted below.

@frankongithub18
Copy link

I found a solution for Ubuntu 18.04 to get Whipper running.

First at all install the missing cd-paranoia dependency, i follow the official instruction from launchpad here https://bugs.launchpad.net/ubuntu/+source/libcdio/+bug/1750264.

After this i checked all dependencies for pycdio to build, keep an eye on libiso9660-dev.
This library why ever was missing after upgrade from 16.04.
Then i manually build the sources from tar package and install it.

After this everything works as with whipper version 0.5.1.
Have fun ;-)

@walterav1984
Copy link

walterav1984 commented May 24, 2018

@frankongithub18
I can confirm that by installing the cd-paranoia&libcdio packages from deb-multimedia the latest whipper git pull is also working for me on Ubuntu 18.04 amd64. (besides having manually installed patched pycdio 0.21, see earlier post)

@JoeLametta JoeLametta added Support Questions that needs answering with no code changes needed or that only require a one time change and removed Bug Generic bug: can be used together with more specific labels labels Feb 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support Questions that needs answering with no code changes needed or that only require a one time change
Projects
None yet
Development

No branches or pull requests

6 participants