gco / rubyripper

Automatically exported from code.google.com/p/rubyripper
0 stars 0 forks source link

No space left on device make rubyripper to get repeating cycle #343

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Left space on a target device about ~ 1-1.2 GB
2. Rip the cd to single file
3.

What is the expected output? What do you see instead?
expect: To get single encoded file
see: repeating cycle 

When have more space on drive, there is no problem with rip. 

1) What version of rubyripper are you using? On what operating system?
->  Latset git version ((I don't know how to determne the exact value for
this version :( )

2) Are you using the gtk2 or the commandline interface?
-> gtk

3) Is the problem gone with the default settings? If so, please attach your
settings file ($HOME/.rubyripper/settings).
->

4) Does the problem only happen on a specific disc? If so, please attach
the output of cdparanoia -Q. Also the freedb output would be nice if it may
be related to it.
-> 

Please provide any additional information below.
Would be good, when this happened the ripper stop riping with warning
message and deleting the temp wavs. I think deleting the wavs is important
becase, when the home directory is full, may have serious problems (some
aplication get crazy :), my Evolution mail recieve all 3650 mails again :D,
if logout, can't login again and ... other stuff like that :()

Before rip 

/dev/hdc3              16G   14G  807M  95% /store/2

during the cycle 

/dev/hdc3              16G   15G  348M  98% /store/2

Output:
WARNING: Threads are not supported on ruby gtk2-bindings
that are older than 0.18.0. Setting them to zero.
Please upgrade your bindings if you want threads.
/store/2/MyDownloads/Underworld/Underworld-[2002]-A Hundred Days
Off-mp3/mp3/Underworld (2002) A Hundred Days Off
Underworld - A Hundred Days Off.mp3
status = true
Ripping track image
Expected filesize for image     is 655377788 bytes.
Free disk space is 1059352 MB
cdparanoia [.0]- -d /dev/cdrom -O 48
"/store/2/MyDownloads/Underworld/Underworld-[2002]-A Hundred Days
Off-mp3/mp3/temp_hdd/image_1.wav"
cdparanoia III release 10.2 (September 11, 2008)

Ripping from sector       0 (track  1 [0:00.00])
      to sector  278646 (track 10 [7:00.66])

outputting to /store/2/MyDownloads/Underworld/Underworld-[2002]-A Hundred
Days Off-mp3/mp3/temp_hdd/image_1.wav

 (== PROGRESS == [                              | 278646 00 ] == :^D * ==)   

Done.

Expected size matches exactly
cdparanoia [.0]- -d /dev/cdrom -O 48
"/store/2/MyDownloads/Underworld/Underworld-[2002]-A Hundred Days
Off-mp3/mp3/temp_hdd/image_2.wav"
cdparanoia III release 10.2 (September 11, 2008)

Ripping from sector       0 (track  1 [0:00.00])
      to sector  278646 (track 10 [7:00.66])

outputting to /store/2/MyDownloads/Underworld/Underworld-[2002]-A Hundred
Days Off-mp3/mp3/temp_hdd/image_2.wav

 (== PROGRESS == [       +           >          | 181964 00 ] == :-) 0 ==)
  write (in buffering_write, full buffer): No space left on device
Error writing output: No space left on device
Some sectors are missing for track image : 226981244 sector(s)
Filesize should be : 655377788
cdparanoia [.0]- -d /dev/cdrom -O 48
"/store/2/MyDownloads/Underworld/Underworld-[2002]-A Hundred Days
Off-mp3/mp3/temp_hdd/image_2.wav"
cdparanoia III release 10.2 (September 11, 2008)

Ripping from sector       0 (track  1 [0:00.00])
      to sector  278646 (track 10 [7:00.66])

outputting to /store/2/MyDownloads/Underworld/Underworld-[2002]-A Hundred
Days Off-mp3/mp3/temp_hdd/image_2.wav

 (== PROGRESS == [                   >          | 182012 00 ] == :-) o ==)
  write (in buffering_write, full buffer): No space left on device
Error writing output: No space left on device
Some sectors are missing for track image : 226981244 sector(s)
Filesize should be : 655377788
cdparanoia [.0]- -d /dev/cdrom -O 48
"/store/2/MyDownloads/Underworld/Underworld-[2002]-A Hundred Days
Off-mp3/mp3/temp_hdd/image_2.wav"
cdparanoia III release 10.2 (September 11, 2008)

Ripping from sector       0 (track  1 [0:00.00])
      to sector  278646 (track 10 [7:00.66])

outputting to /store/2/MyDownloads/Underworld/Underworld-[2002]-A Hundred
Days Off-mp3/mp3/temp_hdd/image_2.wav

 (== PROGRESS == [                   >          | 182012 00 ] == :-) 0 ==)
  write (in buffering_write, full buffer): No space left on device
Error writing output: No space left on device
Some sectors are missing for track image : 226981244 sector(s)
Filesize should be : 655377788
cdparanoia [.0]- -d /dev/cdrom -O 48
"/store/2/MyDownloads/Underworld/Underworld-[2002]-A Hundred Days
Off-mp3/mp3/temp_hdd/image_2.wav"
cdparanoia III release 10.2 (September 11, 2008)

Ripping from sector       0 (track  1 [0:00.00])
      to sector  278646 (track 10 [7:00.66])

outputting to /store/2/MyDownloads/Underworld/Underworld-[2002]-A Hundred
Days Off-mp3/mp3/temp_hdd/image_2.wav

 (== PROGRESS == [                   >          | 182012 00 ] == :-) 0 ==)
  write (in buffering_write, full buffer): No space left on device
Error writing output: No space left on device
Some sectors are missing for track image : 226997628 sector(s)
Filesize should be : 655377788
cdparanoia [.0]- -d /dev/cdrom -O 48
"/store/2/MyDownloads/Underworld/Underworld-[2002]-A Hundred Days
Off-mp3/mp3/temp_hdd/image_2.wav"
cdparanoia III release 10.2 (September 11, 2008)

Ripping from sector       0 (track  1 [0:00.00])
      to sector  278646 (track 10 [7:00.66])

outputting to /store/2/MyDownloads/Underworld/Underworld-[2002]-A Hundred
Days Off-mp3/mp3/temp_hdd/image_2.wav

=========================================================================

This log is created by Rubyripper, version 0.5.7
Website: http://code.google.com/p/rubyripper

Cdrom player used to rip:
Optiarc DVD RW AD-7173A 1-03
Cdrom offset used: 48

Ripper used: cdparanoia 
Matches required for all chunks: 2
Matches required for erroneous chunks: 2

Codec(s) used:
-mp3    -> -V 2 --vbr-old -q 0 --tc "Rubyripper Secure Rip"
(LAME 32bits version 3.98.2 (http://www.mp3dev.org/)

CDDB INFO

Artist  = Underworld
Album   = A Hundred Days Off
Year    = 2002
Genre   = Industrial
Tracks  = 10

01 - Mo Move
02 - Two Months Off
03 - Twist
04 - Sola Sistim
05 - Little Speaker
06 - Trim
07 - Ess Gee
08 - Dinosaur Adventure 3D
09 - Ballet Lane
10 - Luetin 7.00

ADVANCED TOC ANALYSIS (with cdrdao)
...please be patient, this may take a while

Pregap detected for track 2 : 47 sectors
Pregap detected for track 3 : 79 sectors
Pregap detected for track 5 : 71 sectors
Pregap detected for track 6 : 177 sectors
Pregap detected for track 7 : 74 sectors
Pregap detected for track 8 : 136 sectors
Pregap detected for track 9 : 44 sectors
Pregap detected for track 10 : 29 sectors

STATUS

Starting to rip CD image, trial #1
Starting to rip CD image, trial #2
Filesize is not correct! Trying another time
Starting to rip CD image, trial #2
Filesize is not correct! Trying another time
Starting to rip CD image, trial #2
Filesize is not correct! Trying another time
Starting to rip CD image, trial #2
Filesize is not correct! Trying another time
Starting to rip CD image, trial #2

Original issue reported on code.google.com by tolos...@gmail.com on 13 Aug 2009 at 9:09

GoogleCodeExporter commented 9 years ago
What I propose is that I do a check for filesize after the filesize is not 
correct message is shown. A check 
before ripping is nicer, but then I can't check what other applications are 
adding to the disk. You might as well 
be downloading some big file.

This at least stops the endless loop.

Original comment by rubyripp...@gmail.com on 14 Aug 2009 at 3:47

GoogleCodeExporter commented 9 years ago
Sounds good, stoping the loop is most important part. If rubyripper can catch 
part of
this output 

write (in buffering_write, full buffer): No space left on device

to stop riping is solution (just an idea, I'm not programmer :) )

Original comment by tolos...@gmail.com on 17 Aug 2009 at 12:23

GoogleCodeExporter commented 9 years ago
Fixed with commit:
http://github.com/rubyripperdev/rubyripper/commit/af3f2944a1eb00967151cf0b40f31e
355cbd
9078

Original comment by boukewou...@gmail.com on 24 Apr 2010 at 2:24