[Abcde-users] Test of abcde v2.8.2 (error)

Alan W. Kerr awkerr at aoc.nrao.edu
Sun Mar 4 05:53:29 GMT 2018


Tracks 8 and 9 would be 08 and 09 in the track list. this would
be an "illegal octal number".  The "fix" that has been used (so far) is
to use expr.

try replacing:
LASTTRACK=$(($3 + 0))
with:
LASTTRACK=$(expr $3 + 0)
and see if that fixes your error.

Alan W. Kerr          awkerr at aoc.nrao.edu          Whee!(tm)


On 03/03/2018 10:37 PM, Matthias König wrote:
> I did another test, this time with a 5 CD box. Again, I only generated single flac files with cuesheets. I used the snapshot and configuration options that I mentioned in my previous email.
> 
> 4 out of 5 CDs have failed with this error:
> 
> Grabbing entire CD - tracks:  01 02 03 04 05 06 07 08
> Retrieved 2 matches...
> #1 (Musicbrainz): ---- Beethoven / Symphonies / Concertos / Overtures / Creatures of Prometheus / Missa Solemnis ----
> 1: Symphony no. 1 in C major, op. 21: I. Adagio molto - allegro con brio
> 2: Symphony no. 1 in C major, op. 21: II. Andante cantabile con moto
> 3: Symphony no. 1 in C major, op. 21: III. Menuetto. Allegro molto e vivace
> 4: Symphony no. 1 in C major, op. 21: IV. Finale. Adagio - allegro molto e vivace
> 5: Symphony no. 3 in E-flat major, op. 55 "Eroica": I. Allegro con brio
> 6: Symphony no. 3 in E-flat major, op. 55 "Eroica": II. Marcia funebre. Adagio assai
> 7: Symphony no. 3 in E-flat major, op. 55 "Eroica": III. Scherzo. Allegro vivace
> 8: Symphony no. 3 in E-flat major, op. 55 "Eroica": IV. Finale. allegro molto
> 
> #2 (Musicbrainz): ---- Beethoven / Symphonies nos. 1-9 ----
> 1: Symphony No. 1 in C major, Op. 21: I. Adagio molto - Allegro con brio
> 2: Symphony No. 1 in C major, Op. 21: II. Andante cantabile con moto
> 3: Symphony No. 1 in C major, Op. 21: III. Menuetto: Allegro molto e vivace
> 4: Symphony No. 1 in C major, Op. 21: IV. Finale: Adagio - Allegro molto e vivace
> 5: Symphony No. 3 in E-flat major, Op. 55 "Eroica": I. Allegro con brio
> 6: Symphony No. 3 in E-flat major, Op. 55 "Eroica": II. Marcia funebre. Adagio assai
> 7: Symphony No. 3 in E-flat major, Op. 55 "Eroica": III. Scherzo. Allegro vivace
> 8: Symphony No. 3 in E-flat major, Op. 55 "Eroica": IV. Finale. Allegro molto
> 
> Which entry would you like abcde to use (0 for none)? [0-2]: 2
> Selected: #2 (Musicbrainz) (Beethoven / Symphonies nos. 1-9)
> ---- Beethoven / Symphonies nos. 1-9 ----
> Year: 2003
> Edit selected CDDB data [y/N]?
> Is the CD multi-artist [y/N]?
> /usr/local/bin/abcde: line 3454: 08: value too great for base (error token is "08")
> ^C
> 
> 
> 
> 
> Commenting line 3454 has eliminated the error. Now all CDs work without problems:
> 
> --- abcde.backup    2018-03-04 01:03:13.017823846 +0100
> +++ abcde   2018-03-04 04:32:57.344196453 +0100
> @@ -3451,7 +3451,7 @@
>          # the user said
>          # We need the first and last track for cdda2wav/icedax
>          FIRSTTRACK=$2
> -       LASTTRACK=$(($3 + 0))
> +       #LASTTRACK=$(($3 + 0))
>          UTRACKNUM=$FIRSTTRACK
>          case "$CDROMREADERSYNTAX" in
>              flac) READTRACKNUMS="-" ;;
> 
> 
> 
> 
> The error only occurred with CDs that have 8 or 9 tracks and did not occur with CDs that have 4, 5 or 6 tracks. Commenting the line has also slightly changed the console output:
> 
> Grabbing tracks 01 - 4 as one track ...
> 
> Grabbing tracks 01 - 04 as one track ...
> 
> bye,
> 
> Matthias König
> 
> _______________________________________________
> Abcde-users mailing list
> Abcde-users at lists.einval.com
> https://lists.einval.com/cgi-bin/mailman/listinfo/abcde-users
> 



More information about the Abcde-users mailing list