Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] grip, asund and ripperx woes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1471
Location: /uk/sheffield

PostPosted: Thu Jun 11, 2015 9:09 am    Post subject: [SOLVED] grip, asund and ripperx woes Reply with quote

Hi,

I've been re-ripping my CDs to FLAC using Grip but noticed yesterday some very strange behaviour. The files are 'disappearing'. By way of example I ripped a CD yesterday...

Code:

$ date
Wed 10 Jun 08:57:32 BST 2015
$ ls -lha two\ lone\ swordsmen/stay\ down/*.flac
-rw-r--r-- 1 neil neil 16M Jun 10 08:04 two lone swordsmen/stay down/01 hope we never surface.flac
-rw-r--r-- 1 neil neil 20M Jun 10 08:06 two lone swordsmen/stay down/02 ink cloud.flac
-rw-r--r-- 1 neil neil 18M Jun 10 08:08 two lone swordsmen/stay down/03 the big clapper.flac
-rw-r--r-- 1 neil neil 18M Jun 10 08:09 two lone swordsmen/stay down/04 ivy and lead.flac
-rw-r--r-- 1 neil neil 25M Jun 10 08:10 two lone swordsmen/stay down/05 we change the frequency.flac
-rw-r--r-- 1 neil neil 37M Jun 10 08:13 two lone swordsmen/stay down/06 no red stopping.flac
-rw-r--r-- 1 neil neil 26M Jun 10 08:14 two lone swordsmen/stay down/07 spine bubbles.flac
-rw-r--r-- 1 neil neil 22M Jun 10 08:15 two lone swordsmen/stay down/08 mr pariss monsters.flac
-rw-r--r-- 1 neil neil 20M Jun 10 08:17 two lone swordsmen/stay down/09 light the last flare.flac
-rw-r--r-- 1 neil neil 12M Jun 10 08:17 two lone swordsmen/stay down/10 we discordians must stick apart.flac
-rw-r--r-- 1 neil neil 23M Jun 10 08:18 two lone swordsmen/stay down/11 alpha school.flac
-rw-r--r-- 1 neil neil 39M Jun 10 08:20 two lone swordsmen/stay down/12 as worldly pleasures wave goodbye.flac


I share my music directory with others who have an account on my computer and to ensure they have permissions did a 'chown -R neil:users *' and hibernated my computer overnight. Today the file sizes have shrunk drastically...

Code:

$ date
Thu 11 Jun 10:05:23 BST 2015
$ ls -lha two\ lone\ swordsmen/stay\ down/*.flac
-rw-r--r-- 1 neil users 10368 Jun 10 18:21 stay down/01 hope we never surface.flac
-rw-r--r-- 1 neil users  2176 Jun 10 18:21 stay down/02 ink cloud.flac
-rw-r--r-- 1 neil users  2176 Jun 10 18:21 stay down/03 the big clapper.flac
-rw-r--r-- 1 neil users  2176 Jun 10 18:21 stay down/04 ivy and lead.flac
-rw-r--r-- 1 neil users  2176 Jun 10 18:21 stay down/05 we change the frequency.flac
-rw-r--r-- 1 neil users  2176 Jun 10 18:21 stay down/06 no red stopping.flac
-rw-r--r-- 1 neil users  2176 Jun 10 18:21 stay down/07 spine bubbles.flac
-rw-r--r-- 1 neil users  2176 Jun 10 18:21 stay down/08 mr pariss monsters.flac
-rw-r--r-- 1 neil users  2176 Jun 10 18:22 stay down/09 light the last flare.flac
-rw-r--r-- 1 neil users  2176 Jun 10 18:22 stay down/10 we discordians must stick apart.flac
-rw-r--r-- 1 neil users  2176 Jun 10 18:22 stay down/11 alpha school.flac
-rw-r--r-- 1 neil users  2176 Jun 10 18:22 stay down/12 as worldly pleasures wave goodbye.flac


I started looking at alternatives to Grip (its seen no development/changes in ages anyway and home pages no longer have documentation) and came across media-sound/asunder and have given it a whirl. However, despite setting in preferences to rip music to ~/music/albums/ the directory and files are not there after ripping has completed, in fact I can't find them anywhere on my system. Tried turning on logging, by ticking the selection for logging to /var/log/asunder.log but thats not created (possibly a permissions problem due to running as non-root user perhaps?). Similarly with ripperX files are not created where I specify them to be.

If I didn't have this strange problem with Grip I wouldn't be looking at alternatives. Any ideas on how to fix Grip or configure asunder to do what it purports to be doing would be appreciated.

Cheers,

slackline
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth


Last edited by slackline on Fri Jul 10, 2015 8:12 am; edited 1 time in total
Back to top
View user's profile Send private message
Akkara
Bodhisattva
Bodhisattva


Joined: 28 Mar 2006
Posts: 6702
Location: &akkara

PostPosted: Thu Jun 11, 2015 9:24 am    Post subject: Reply with quote

When you first rip with Grip, are the files OK? Do they play for you? And are you letting Grip finish the encoding before moving them elsewhere (if you move them elsewhere)?

And then after hibernate they shrink, is that right?

It might not be related to Grip at all. Two possibilities I can think of is, file system corruption possibly triggered by a buggy hibernating kernel; and inadvertent file changes by player apps trying to be "helpful".

To eliminate the possibility of any apps altering my music behind my back (whether accidentally by a mis-click, or due to bugs), I use a separate user, music, which owns the music files. And set them readable but not writeable to everyone else (including the directories).

As far as kernels, I recall seeing blurbs hinting at some issues with ext4 corruption on version 4.0.{1..4}, when used with RAID (and maybe also SSD), but I cannot vouch personally about this.
_________________
Many think that Dilbert is a comic. Unfortunately it is a documentary.
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1471
Location: /uk/sheffield

PostPosted: Thu Jun 11, 2015 11:58 am    Post subject: Reply with quote

Hi,

Thanks for taking the time to reply.

Akkara wrote:
When you first rip with Grip, are the files OK? Do they play for you? And are you letting Grip finish the encoding before moving them elsewhere (if you move them elsewhere)?


Beyond checking the filesize I've done nothing else to the files, not moved them, nor tried playing them, but I do wait until Grip has finished before checking the sizes.

Akkara wrote:
And then after hibernate they shrink, is that right?


It was actually bought to my attention first without hibernation coming into the equation, but so far on attempts to replicate it I've only seen it happening after hibernations, but I'm not sure its definitely a factor.


Akkara wrote:
It might not be related to Grip at all. Two possibilities I can think of is, file system corruption possibly triggered by a buggy hibernating kernel; and inadvertent file changes by player apps trying to be "helpful".

To eliminate the possibility of any apps altering my music behind my back (whether accidentally by a mis-click, or due to bugs), I use a separate user, music, which owns the music files. And set them readable but not writeable to everyone else (including the directories).


Great, I'll look into that as an option and see if it makes a difference. The only music player I use on the system is mpd, although recently I've started exporting the directory and mounting over NFS on a dedicated Raspberry Pi which then acts as a streaming device allowing me to play all my music from my PC on the system in my living room. This might be causing problems, although its been fine for a month or so and this problem only started occurring in the last few days, but thanks for the suggestion I'll look into it and see if thats messing anything up.


Akkara wrote:
As far as kernels, I recall seeing blurbs hinting at some issues with ext4 corruption on version 4.0.{1..4}, when used with RAID (and maybe also SSD), but I cannot vouch personally about this.


I do have the partition as ext4 on RAID1 SATA, but am still on 3.14.* as I've not had the time to upgrade to 4.* (first kernel compilation broke some other stuff and too busy to sit down and fix it all yet).

Thanks for your suggetions and pointers, it gives me something to start looking into as I was stumped.
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1471
Location: /uk/sheffield

PostPosted: Fri Jun 12, 2015 8:50 am    Post subject: Reply with quote

Minor update, but I think I've narrowed down the cause of this problem and its completely stumped me.

It appears to be something with Grip itself since after ripping a CD the files are listed fine....

Code:

$ ls -lha
total 302M
drwxrwxr-x 2 neil users 4.0K Jun 12 09:43 .
drwxrwxr-x 9 neil users 4.0K Nov 17  2011 ..
-rw-r--r-- 1 neil neil  8.2K Jun 12 09:43 01 il pirata.flac
-rw-r--r-- 1 neil users  27M Jun 12 09:26 02 manhattan sapphire.flac
-rw-r--r-- 1 neil users  31M Jun 12 09:28 03 makina fifth.flac
-rw-r--r-- 1 neil users  34M Jun 12 09:30 04 cowboy desperado.flac
-rw-r--r-- 1 neil users  27M Jun 12 09:32 05 nightingale.flac
-rw-r--r-- 1 neil users  28M Jun 12 09:33 06 bad dreams come true.flac
-rw-r--r-- 1 neil users  20M Jun 12 09:34 07 binary code.flac
-rw-r--r-- 1 neil users  24M Jun 12 09:35 08 the beauty never lasts.flac
-rw-r--r-- 1 neil users  34M Jun 12 09:37 09 monochromatic world.flac
-rw-r--r-- 1 neil users  26M Jun 12 09:38 10 shadows and doubts.flac
-rw-r--r-- 1 neil users  28M Jun 12 09:39 11 battle 22.flac
-rw-r--r-- 1 neil users  29M Jun 12 09:41 12 rainy transylvanian day.flac


But I wanted to swap discs, so I tried ejecting it using the button on the front on the drive, but it wouldn't eject, so I tried the Grip 'Eject' button instead and it obligingly ejected the disc, but it took a little thinking and because of this problem I had a terminal open and 'ls -l' the directory as it ejected and to my amazement I saw the file sizes shrink. Note the first one caught the first flac being resized with an unusual extension to the filename...

Code:

$ ls -lha
total 275M
drwxrwxr-x 2 neil users 4.0K Jun 12 09:43 .
drwxrwxr-x 9 neil users 4.0K Nov 17  2011 ..
-rw-r--r-- 1 neil neil  8.2K Jun 12 09:43 01 il pirata.flac
-rw------- 1 neil neil  9.9K Jun 12 09:43 01 il pirata.flac.qP2RrJ
-rw-r--r-- 1 neil users  31M Jun 12 09:28 03 makina fifth.flac
-rw-r--r-- 1 neil users  34M Jun 12 09:30 04 cowboy desperado.flac
-rw-r--r-- 1 neil users  27M Jun 12 09:32 05 nightingale.flac
-rw-r--r-- 1 neil users  28M Jun 12 09:33 06 bad dreams come true.flac
-rw-r--r-- 1 neil users  20M Jun 12 09:34 07 binary code.flac
-rw-r--r-- 1 neil users  24M Jun 12 09:35 08 the beauty never lasts.flac
-rw-r--r-- 1 neil users  34M Jun 12 09:37 09 monochromatic world.flac
-rw-r--r-- 1 neil users  26M Jun 12 09:38 10 shadows and doubts.flac
-rw-r--r-- 1 neil users  28M Jun 12 09:39 11 battle 22.flac
-rw-r--r-- 1 neil users  29M Jun 12 09:41 12 rainy transylvanian day.flac
$ ls -lha
total 245M
drwxrwxr-x 2 neil users 4.0K Jun 12 09:43 .
drwxrwxr-x 9 neil users 4.0K Nov 17  2011 ..
-rw-r--r-- 1 neil neil   11K Jun 12 09:43 01 il pirata.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 02 manhattan sapphire.flac
-rw-r--r-- 1 neil users  34M Jun 12 09:30 04 cowboy desperado.flac
-rw-r--r-- 1 neil users  27M Jun 12 09:32 05 nightingale.flac
-rw-r--r-- 1 neil users  28M Jun 12 09:33 06 bad dreams come true.flac
-rw-r--r-- 1 neil users  20M Jun 12 09:34 07 binary code.flac
-rw-r--r-- 1 neil users  24M Jun 12 09:35 08 the beauty never lasts.flac
-rw-r--r-- 1 neil users  34M Jun 12 09:37 09 monochromatic world.flac
-rw-r--r-- 1 neil users  26M Jun 12 09:38 10 shadows and doubts.flac
-rw-r--r-- 1 neil users  28M Jun 12 09:39 11 battle 22.flac
-rw-r--r-- 1 neil users  29M Jun 12 09:41 12 rainy transylvanian day.flac
neil@kimura /mnt/music/albums/ugress/cinematronics $ ls -lha
total 158M
drwxrwxr-x 2 neil users 4.0K Jun 12 09:43 .
drwxrwxr-x 9 neil users 4.0K Nov 17  2011 ..
-rw-r--r-- 1 neil neil   11K Jun 12 09:43 01 il pirata.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 02 manhattan sapphire.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 03 makina fifth.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 04 cowboy desperado.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 05 nightingale.flac
-rw-r--r-- 1 neil users  20M Jun 12 09:34 07 binary code.flac
-rw-r--r-- 1 neil users  24M Jun 12 09:35 08 the beauty never lasts.flac
-rw-r--r-- 1 neil users  34M Jun 12 09:37 09 monochromatic world.flac
-rw-r--r-- 1 neil users  26M Jun 12 09:38 10 shadows and doubts.flac
-rw-r--r-- 1 neil users  28M Jun 12 09:39 11 battle 22.flac
-rw-r--r-- 1 neil users  29M Jun 12 09:41 12 rainy transylvanian day.flac
neil@kimura /mnt/music/albums/ugress/cinematronics $ ls -lha
total 158M
drwxrwxr-x 2 neil users 4.0K Jun 12 09:43 .
drwxrwxr-x 9 neil users 4.0K Nov 17  2011 ..
-rw-r--r-- 1 neil neil   11K Jun 12 09:43 01 il pirata.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 02 manhattan sapphire.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 03 makina fifth.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 04 cowboy desperado.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 05 nightingale.flac
-rw-r--r-- 1 neil users  20M Jun 12 09:34 07 binary code.flac
-rw-r--r-- 1 neil users  24M Jun 12 09:35 08 the beauty never lasts.flac
-rw-r--r-- 1 neil users  34M Jun 12 09:37 09 monochromatic world.flac
-rw-r--r-- 1 neil users  26M Jun 12 09:38 10 shadows and doubts.flac
-rw-r--r-- 1 neil users  28M Jun 12 09:39 11 battle 22.flac
-rw-r--r-- 1 neil users  29M Jun 12 09:41 12 rainy transylvanian day.flac
$ ls -lha
total 138M
drwxrwxr-x 2 neil users 4.0K Jun 12 09:43 .
drwxrwxr-x 9 neil users 4.0K Nov 17  2011 ..
-rw-r--r-- 1 neil neil   11K Jun 12 09:43 01 il pirata.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 02 manhattan sapphire.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 03 makina fifth.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 04 cowboy desperado.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 05 nightingale.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 06 bad dreams come true.flac
-rw-r--r-- 1 neil users  24M Jun 12 09:35 08 the beauty never lasts.flac
-rw-r--r-- 1 neil users  34M Jun 12 09:37 09 monochromatic world.flac
-rw-r--r-- 1 neil users  26M Jun 12 09:38 10 shadows and doubts.flac
-rw-r--r-- 1 neil users  28M Jun 12 09:39 11 battle 22.flac
-rw-r--r-- 1 neil users  29M Jun 12 09:41 12 rainy transylvanian day.flac
$ ls -lha
total 115M
drwxrwxr-x 2 neil users 4.0K Jun 12 09:43 .
drwxrwxr-x 9 neil users 4.0K Nov 17  2011 ..
-rw-r--r-- 1 neil neil   11K Jun 12 09:43 01 il pirata.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 02 manhattan sapphire.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 03 makina fifth.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 04 cowboy desperado.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 05 nightingale.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 06 bad dreams come true.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 07 binary code.flac
-rw-r--r-- 1 neil users  34M Jun 12 09:37 09 monochromatic world.flac
-rw-r--r-- 1 neil users  26M Jun 12 09:38 10 shadows and doubts.flac
-rw-r--r-- 1 neil users  28M Jun 12 09:39 11 battle 22.flac
-rw-r--r-- 1 neil users  29M Jun 12 09:41 12 rainy transylvanian day.flac
$ ls -lha
total 82M
drwxrwxr-x 2 neil users 4.0K Jun 12 09:43 .
drwxrwxr-x 9 neil users 4.0K Nov 17  2011 ..
-rw-r--r-- 1 neil neil   11K Jun 12 09:43 01 il pirata.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 02 manhattan sapphire.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 03 makina fifth.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 04 cowboy desperado.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 05 nightingale.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 06 bad dreams come true.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 07 binary code.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 08 the beauty never lasts.flac
-rw-r--r-- 1 neil users  26M Jun 12 09:38 10 shadows and doubts.flac
-rw-r--r-- 1 neil users  28M Jun 12 09:39 11 battle 22.flac
-rw-r--r-- 1 neil users  29M Jun 12 09:41 12 rainy transylvanian day.flac
$ ls -lha
total 56M
drwxrwxr-x 2 neil users 4.0K Jun 12 09:43 .
drwxrwxr-x 9 neil users 4.0K Nov 17  2011 ..
-rw-r--r-- 1 neil neil   11K Jun 12 09:43 01 il pirata.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 02 manhattan sapphire.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 03 makina fifth.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 04 cowboy desperado.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 05 nightingale.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 06 bad dreams come true.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 07 binary code.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 08 the beauty never lasts.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 09 monochromatic world.flac
-rw-r--r-- 1 neil users  28M Jun 12 09:39 11 battle 22.flac
-rw-r--r-- 1 neil users  29M Jun 12 09:41 12 rainy transylvanian day.flac
$ ls -lha
total 29M
drwxrwxr-x 2 neil users 4.0K Jun 12 09:43 .
drwxrwxr-x 9 neil users 4.0K Nov 17  2011 ..
-rw-r--r-- 1 neil neil   11K Jun 12 09:43 01 il pirata.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 02 manhattan sapphire.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 03 makina fifth.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 04 cowboy desperado.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 05 nightingale.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 06 bad dreams come true.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 07 binary code.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 08 the beauty never lasts.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 09 monochromatic world.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 10 shadows and doubts.flac
-rw-r--r-- 1 neil users  29M Jun 12 09:41 12 rainy transylvanian day.flac
$ ls -lha
total 64K
drwxrwxr-x 2 neil users 4.0K Jun 12 09:43 .
drwxrwxr-x 9 neil users 4.0K Nov 17  2011 ..
-rw-r--r-- 1 neil neil   11K Jun 12 09:43 01 il pirata.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 02 manhattan sapphire.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 03 makina fifth.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 04 cowboy desperado.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 05 nightingale.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 06 bad dreams come true.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 07 binary code.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 08 the beauty never lasts.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 09 monochromatic world.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 10 shadows and doubts.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 11 battle 22.flac
-rw-r--r-- 1 neil neil  2.2K Jun 12 09:43 12 rainy transylvanian day.flac


This is very strange and I've no idea what could be since Grip itself reports to have finished ripping and encoding....

Code:

1: Encoding to /home/neil/music/albums/ugress/cinematronics/01 il pirata.flac
Ripping track 2 to /tmp/manhattan sapphire.wav
Rip finished
2: Encoding to /home/neil/music/albums/ugress/cinematronics/02 manhattan sapphire.flac
Ripping track 3 to /tmp/makina fifth.wav
Finished encoding on cpu 0
Deleting [/tmp/il pirata.wav]
Finished encoding on cpu 1
Deleting [/tmp/manhattan sapphire.wav]
Rip finished
1: Encoding to /home/neil/music/albums/ugress/cinematronics/03 makina fifth.flac
Ripping track 4 to /tmp/cowboy desperado.wav
Rip finished
2: Encoding to /home/neil/music/albums/ugress/cinematronics/04 cowboy desperado.flac
Ripping track 5 to /tmp/nightingale.wav
Finished encoding on cpu 0
Deleting [/tmp/makina fifth.wav]
Rip finished
1: Encoding to /home/neil/music/albums/ugress/cinematronics/05 nightingale.flac
Ripping track 6 to /tmp/bad dreams come true.wav
Finished encoding on cpu 1
Deleting [/tmp/cowboy desperado.wav]
Rip finished
2: Encoding to /home/neil/music/albums/ugress/cinematronics/06 bad dreams come true.flac
Ripping track 7 to /tmp/binary code.wav
Finished encoding on cpu 0
Deleting [/tmp/nightingale.wav]
Rip finished
1: Encoding to /home/neil/music/albums/ugress/cinematronics/07 binary code.flac
Ripping track 8 to /tmp/the beauty never lasts.wav
Finished encoding on cpu 1
Deleting [/tmp/bad dreams come true.wav]
Rip finished
2: Encoding to /home/neil/music/albums/ugress/cinematronics/08 the beauty never lasts.flac
Ripping track 9 to /tmp/monochromatic world.wav
Finished encoding on cpu 0
Deleting [/tmp/binary code.wav]
Rip finished
1: Encoding to /home/neil/music/albums/ugress/cinematronics/09 monochromatic world.flac
Ripping track 10 to /tmp/shadows and doubts.wav
Finished encoding on cpu 1
Deleting [/tmp/the beauty never lasts.wav]
Rip finished
2: Encoding to /home/neil/music/albums/ugress/cinematronics/10 shadows and doubts.flac
Ripping track 11 to /tmp/battle 22.wav
Finished encoding on cpu 0
Deleting [/tmp/monochromatic world.wav]
Rip finished
1: Encoding to /home/neil/music/albums/ugress/cinematronics/11 battle 22.flac
Ripping track 12 to /tmp/rainy transylvanian day.wav
Finished encoding on cpu 1
Deleting [/tmp/shadows and doubts.wav]
Rip finished
2: Encoding to /home/neil/music/albums/ugress/cinematronics/12 rainy transylvanian day.flac
Ripping is finished
Finished encoding on cpu 0
Deleting [/tmp/battle 22.wav]
Finished encoding on cpu 1
Deleting [/tmp/rainy transylvanian day.wav]

_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
Akkara
Bodhisattva
Bodhisattva


Joined: 28 Mar 2006
Posts: 6702
Location: &akkara

PostPosted: Fri Jun 12, 2015 11:01 am    Post subject: Reply with quote

That is very odd.

Try this: Start grip from the command line in an xterm. Then rip a CD as before, but don't eject. When grip reports finished, go to a root window, and change the owner of the just-ripped files to something other than yourself (the music user, if you have made one, or just 'root' itself). Then eject. What happens? Any diagnostics get printed in the xterm where grip was started? Do the files remain OK, and do they play correctly. Also, try running soxi on them: are they really flacs?
_________________
Many think that Dilbert is a comic. Unfortunately it is a documentary.
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1471
Location: /uk/sheffield

PostPosted: Fri Jun 12, 2015 1:05 pm    Post subject: Reply with quote

Hi,

Thanks for taking the time to help me with this.

As suggested went to a root window, as ripped...

Code:

# ls -l
total 418036
-rw-r--r-- 1 neil neil  31858816 Jun 12 13:35 01 spiderman theme.flac
-rw-r--r-- 1 neil neil  44267648 Jun 12 13:37 02 queen of darkness.flac
-rw-r--r-- 1 neil neil  34547840 Jun 12 13:39 03 epipe.flac
-rw-r--r-- 1 neil neil  34105472 Jun 12 13:41 04 reason to belive.flac
-rw-r--r-- 1 neil neil  34838656 Jun 12 13:43 05 decepticons.flac
-rw-r--r-- 1 neil neil  34697344 Jun 12 13:44 06 loungemeister.flac
-rw-r--r-- 1 neil neil  30509184 Jun 12 13:46 07 falling.flac
-rw-r--r-- 1 neil neil  23740544 Jun 12 13:47 08 autumn colours.flac
-rw-r--r-- 1 neil neil  27699328 Jun 12 13:48 09 trigger 22.flac
-rw-r--r-- 1 neil neil  31268992 Jun 12 13:49 10 kaleido scope.flac
-rw-r--r-- 1 neil neil  24967296 Jun 12 13:50 11 atlantis coastguard corruption.flac


Changing ownership...

Code:

# chown root:users *
# ls -l
-rw-r--r-- 1 root users 31858816 Jun 12 13:35 01 spiderman theme.flac
-rw-r--r-- 1 root users 44267648 Jun 12 13:37 02 queen of darkness.flac
-rw-r--r-- 1 root users 34547840 Jun 12 13:39 03 epipe.flac
-rw-r--r-- 1 root users 34105472 Jun 12 13:41 04 reason to belive.flac
-rw-r--r-- 1 root users 34838656 Jun 12 13:43 05 decepticons.flac
-rw-r--r-- 1 root users 34697344 Jun 12 13:44 06 loungemeister.flac
-rw-r--r-- 1 root users 30509184 Jun 12 13:46 07 falling.flac
-rw-r--r-- 1 root users 23740544 Jun 12 13:47 08 autumn colours.flac
-rw-r--r-- 1 root users 27699328 Jun 12 13:48 09 trigger 22.flac
-rw-r--r-- 1 root users 31268992 Jun 12 13:49 10 kaleido scope.flac
-rw-r--r-- 1 root users 24967296 Jun 12 13:50 11 atlantis coastguard corruption.flac


Nothing in the terminal Grip was launched from other than the usual complaint about the theme I use...

Code:

$ grip
/usr/share/themes/MurrinaEalm/gtk-2.0/gtkrc:47: Murrine configuration option "scrollbar_color" is no longer supported and will be ignored.



Before ejecting I used soxi to check the files and they appear to be FLAC

Code:

# soxi *

Input File     : '01 spiderman theme.flac'
Channels       : 2
Sample Rate    : 44100
Precision      : 16-bit
Duration       : 00:04:13.80 = 11192580 samples = 19035 CDDA sectors
File Size      : 31.9M
Bit Rate       : 1.00M
Sample Encoding: 16-bit FLAC


Input File     : '02 queen of darkness.flac'
Channels       : 2
Sample Rate    : 44100
Precision      : 16-bit
Duration       : 00:06:05.21 = 16105908 samples = 27391 CDDA sectors
File Size      : 44.3M
Bit Rate       : 970k
Sample Encoding: 16-bit FLAC


Input File     : '03 epipe.flac'
Channels       : 2
Sample Rate    : 44100
Precision      : 16-bit
Duration       : 00:04:59.40 = 13203540 samples = 22455 CDDA sectors
File Size      : 34.5M
Bit Rate       : 923k
Sample Encoding: 16-bit FLAC


Input File     : '04 reason to belive.flac'
Channels       : 2
Sample Rate    : 44100
Precision      : 16-bit
Duration       : 00:05:00.00 = 13230000 samples = 22500 CDDA sectors
File Size      : 34.1M
Bit Rate       : 909k
Sample Encoding: 16-bit FLAC


Input File     : '05 decepticons.flac'
Channels       : 2
Sample Rate    : 44100
Precision      : 16-bit
Duration       : 00:05:19.07 = 14070840 samples = 23930 CDDA sectors
File Size      : 34.8M
Bit Rate       : 874k
Sample Encoding: 16-bit FLAC


Input File     : '06 loungemeister.flac'
Channels       : 2
Sample Rate    : 44100
Precision      : 16-bit
Duration       : 00:05:10.92 = 13711572 samples = 23319 CDDA sectors
File Size      : 34.7M
Bit Rate       : 893k
Sample Encoding: 16-bit FLAC


Input File     : '07 falling.flac'
Channels       : 2
Sample Rate    : 44100
Precision      : 16-bit
Duration       : 00:04:35.03 = 12128676 samples = 20627 CDDA sectors
File Size      : 30.5M
Bit Rate       : 887k
Sample Encoding: 16-bit FLAC


Input File     : '08 autumn colours.flac'
Channels       : 2
Sample Rate    : 44100
Precision      : 16-bit
Duration       : 00:04:00.88 = 10622808 samples = 18066 CDDA sectors
File Size      : 23.7M
Bit Rate       : 788k
Sample Encoding: 16-bit FLAC


Input File     : '09 trigger 22.flac'
Channels       : 2
Sample Rate    : 44100
Precision      : 16-bit
Duration       : 00:04:45.17 = 12576144 samples = 21388 CDDA sectors
File Size      : 27.7M
Bit Rate       : 777k
Sample Encoding: 16-bit FLAC


Input File     : '10 kaleido scope.flac'
Channels       : 2
Sample Rate    : 44100
Precision      : 16-bit
Duration       : 00:04:29.79 = 11897592 samples = 20234 CDDA sectors
File Size      : 31.3M
Bit Rate       : 927k
Sample Encoding: 16-bit FLAC


Input File     : '11 atlantis coastguard corruption.flac'
Channels       : 2
Sample Rate    : 44100
Precision      : 16-bit
Duration       : 00:03:45.88 = 9961308 samples = 16941 CDDA sectors
File Size      : 25.0M
Bit Rate       : 884k
Sample Encoding: 16-bit FLAC

Total Duration of 11 files: 00:52:25.15


So that I don't have to rip them again I moved the files out of this directory, then ejected using Grip's button, it didn't do this immediately and the drive light was on, checking Grip it had started ripping them again, hit the eject button on the drive and after about 30 seconds it then ejected the CD and re-wrote the small files...

Code:

# mv *.flac ../.
# ls -l ../*.flac
-rw-r--r-- 1 root users 31858816 Jun 12 13:35 ../01 spiderman theme.flac
-rw-r--r-- 1 root users 44267648 Jun 12 13:37 ../02 queen of darkness.flac
-rw-r--r-- 1 root users 34547840 Jun 12 13:39 ../03 epipe.flac
-rw-r--r-- 1 root users 34105472 Jun 12 13:41 ../04 reason to belive.flac
-rw-r--r-- 1 root users 34838656 Jun 12 13:43 ../05 decepticons.flac
-rw-r--r-- 1 root users 34697344 Jun 12 13:44 ../06 loungemeister.flac
-rw-r--r-- 1 root users 30509184 Jun 12 13:46 ../07 falling.flac
-rw-r--r-- 1 root users 23740544 Jun 12 13:47 ../08 autumn colours.flac
-rw-r--r-- 1 root users 27699328 Jun 12 13:48 ../09 trigger 22.flac
-rw-r--r-- 1 root users 31268992 Jun 12 13:49 ../10 kaleido scope.flac
-rw-r--r-- 1 root users 24967296 Jun 12 13:50 ../11 atlantis coastguard corruption.flac
# ls -l
total 0
# ls -l
total 31140
-rw-r--r-- 1 neil neil 31858816 Jun 12 14:04 01 spiderman theme.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 02 queen of darkness.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 03 epipe.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 04 reason to belive.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 05 decepticons.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 06 loungemeister.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 07 falling.flac
# ls -l
total 31144
-rw-r--r-- 1 neil neil 31858816 Jun 12 14:04 01 spiderman theme.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 02 queen of darkness.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 03 epipe.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 04 reason to belive.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 05 decepticons.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 06 loungemeister.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 07 falling.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 08 autumn colours.flac
# ls -l
total 31148
-rw-r--r-- 1 neil neil 31858816 Jun 12 14:04 01 spiderman theme.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 02 queen of darkness.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 03 epipe.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 04 reason to belive.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 05 decepticons.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 06 loungemeister.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 07 falling.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 08 autumn colours.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 09 trigger 22.flac
# ls -l
total 31156
-rw-r--r-- 1 neil neil 31858816 Jun 12 14:04 01 spiderman theme.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 02 queen of darkness.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 03 epipe.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 04 reason to belive.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 05 decepticons.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 06 loungemeister.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 07 falling.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 08 autumn colours.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 09 trigger 22.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 10 kaleido scope.flac
-rw-r--r-- 1 neil neil     2176 Jun 12 14:04 11 atlantis coastguard corruption.flac


Checking back at the terminal Grip was launched from there are now some errors reported...

Code:

004: Unable to read table of contents header
004: Unable to read table of contents header
004: Unable to read table of contents header
004: Unable to read table of contents header
004: Unable to read table of contents header
004: Unable to read table of contents header
004: Unable to read table of contents header
004: Unable to read table of contents header
004: Unable to read table of contents header
004: Unable to read table of contents header


But what that means, why its causing this strange problem (if it is at all related) and how to sort it I've no idea.

Checking the 2.2K files with soxi and they're not FLAC...

Code:

# soxi *.flac

Input File     : '01 spiderman theme.flac'
Channels       : 2
Sample Rate    : 44100
Precision      : 16-bit
Duration       : 00:04:13.80 = 11192580 samples = 19035 CDDA sectors
File Size      : 31.9M
Bit Rate       : 1.00M
Sample Encoding: 16-bit FLAC

soxi FAIL formats: can't open input file `02 queen of darkness.flac': FLAC ERROR whilst decoding metadata
soxi FAIL formats: can't open input file `03 epipe.flac': FLAC ERROR whilst decoding metadata
soxi FAIL formats: can't open input file `04 reason to belive.flac': FLAC ERROR whilst decoding metadata
soxi FAIL formats: can't open input file `05 decepticons.flac': FLAC ERROR whilst decoding metadata
soxi FAIL formats: can't open input file `06 loungemeister.flac': FLAC ERROR whilst decoding metadata
soxi FAIL formats: can't open input file `07 falling.flac': FLAC ERROR whilst decoding metadata
soxi FAIL formats: can't open input file `08 autumn colours.flac': FLAC ERROR whilst decoding metadata
soxi FAIL formats: can't open input file `09 trigger 22.flac': FLAC ERROR whilst decoding metadata
soxi FAIL formats: can't open input file `10 kaleido scope.flac': FLAC ERROR whilst decoding metadata
soxi FAIL formats: can't open input file `11 atlantis coastguard corruption.flac': FLAC ERROR whilst decoding metadata


...although the first one appears to have been re-ripped prior to the disc ejecting.

I can move the files back in from the higher-level directory and they're still reported as FLAC by soxi (output omitted) and they play fine.

Very, very strange.
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
Akkara
Bodhisattva
Bodhisattva


Joined: 28 Mar 2006
Posts: 6702
Location: &akkara

PostPosted: Sat Jun 13, 2015 10:17 pm    Post subject: Reply with quote

That's all very strange. Sounds like a bug in grip.

Changing the file ownership after ripping (without moving them) might be enough to let you limp along for now.
_________________
Many think that Dilbert is a comic. Unfortunately it is a documentary.
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1471
Location: /uk/sheffield

PostPosted: Mon Jun 15, 2015 6:59 am    Post subject: Reply with quote

I'm reaching the same conclusion too. Strange since it worked fine and Grip wasn't updated (project seems to have stagnated for some time, but then theres not much else required for a CD ripper).

For now I just kill grip from the command line which seems to leave the FLACs in tact.

Thanks for your time and assistance, appreciated.

slackline
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
Akkara
Bodhisattva
Bodhisattva


Joined: 28 Mar 2006
Posts: 6702
Location: &akkara

PostPosted: Mon Jun 15, 2015 7:26 am    Post subject: Reply with quote

Just an off-chance thing: did you try re-emerging grip? Maybe one of the libraries had changed out from under it and left it confused? revdep-rebuild should normally find such things, but, perhaps a manual emerge -1 might help?
_________________
Many think that Dilbert is a comic. Unfortunately it is a documentary.
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1471
Location: /uk/sheffield

PostPosted: Mon Jun 15, 2015 7:36 pm    Post subject: Reply with quote

Sorry should have said I'd already tried rebuilding Grip with a one-off re-emerge.

I sync and update pretty much daily and after its completed do a 'dispatch-conf' followed by 'emerge --depclean && revdep-rebuild' so would hope that would have caught most things anyway.

I'll file a bug report so its logged and see if anyone else has similar problems or can replicate and solve it.

Thanks again for your help.
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1471
Location: /uk/sheffield

PostPosted: Fri Jul 10, 2015 8:12 am    Post subject: Reply with quote

This has now mysteriously resolved itself, not sure what helped, but have gone from sys-kernel/gentoo-sources-3.14.44 to sys-kernel/gentoo-sources-3.14.46.
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum