-
Notifications
You must be signed in to change notification settings - Fork 119
Finding offset fails for one drive "file size 0 did not match expected size" #234
Copy link
Copy link
Open
Labels
AcceptedAccepted issue on our roadmapAccepted issue on our roadmapBugGeneric bug: can be used together with more specific labelsGeneric bug: can be used together with more specific labelsNeeded: discussionMore discussion needed before anything can be done (or still no agreement has been reached)More discussion needed before anything can be done (or still no agreement has been reached)Needed: patchA pull request is requiredA pull request is requiredPriority: criticalCritical priorityCritical priorityUpstream BugThe issue is a result of an upstream bugThe issue is a result of an upstream bug
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
AcceptedAccepted issue on our roadmapAccepted issue on our roadmapBugGeneric bug: can be used together with more specific labelsGeneric bug: can be used together with more specific labelsNeeded: discussionMore discussion needed before anything can be done (or still no agreement has been reached)More discussion needed before anything can be done (or still no agreement has been reached)Needed: patchA pull request is requiredA pull request is requiredPriority: criticalCritical priorityCritical priorityUpstream BugThe issue is a result of an upstream bugThe issue is a result of an upstream bug
I have been setting up Whipper on all the machines I use. All Fedora 27, and 2 of the 3 machines everything works fine. On one machine with a drive:
HL-DT-ST Model: DVD+-RW GHA2N Rev: A103
Finding the offsets fails with:
% whipper offset find -o 667
/usr/lib/python2.7/site-packages/urllib3/contrib/pyopenssl.py:46: DeprecationWarning: OpenSSL.rand is deprecated - you should use os.urandom instead
import OpenSSL.SSL
Checking device /dev/sr0
Trying read offset 667 ...
WARNING:whipper.program.cdparanoia:file size 0 did not match expected size 52209740
WARNING:whipper.program.cdparanoia:non-integral amount of frames difference
WARNING: cannot rip with offset 667...
No matching offset found.
Consider trying again with a different disc.
I know the offset is 667 for this drive from the database and strangely Morituri can correctly pickup the offset:
% rip offset find -o 667
Checking device /dev/cdrom
Trying read offset 667 ...
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
Offset of device is likely 667, confirming ...
Read offset of device is: 667.
Adding read offset to configuration file.
If I set this as an offset in the config file ripping fails with this error too.