Debian Bug report logs - #884101
cuetools: fails to convert .toc file generated by cdrdao (syntax error around # character)

version graph

Package: cuetools; Maintainer for cuetools is Guo Yixuan (郭溢譞) <[email protected]>; Source for cuetools is src:cuetools (PTS, buildd, popcon).

Reported by: Jonathan Dowland <[email protected]>

Date: Mon, 11 Dec 2017 12:39:01 UTC

Severity: normal

Found in version cuetools/1.4.0-2

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Guo Yixuan (郭溢譞) <[email protected]>:
Bug#884101; Package cuetools. (Mon, 11 Dec 2017 12:39:04 GMT) (full text, mbox, link).


Acknowledgement sent to Jonathan Dowland <[email protected]>:
New Bug report received and forwarded. Copy sent to Guo Yixuan (郭溢譞) <[email protected]>. (Mon, 11 Dec 2017 12:39:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Jonathan Dowland <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: cuetools: fails to convert .toc file generated by cdrdao (syntax error around # character)
Date: Mon, 11 Dec 2017 12:37:33 +0000
Package: cuetools
Version: 1.4.0-2+b1
Severity: normal

Dear Maintainer,

cdrdao 1:1.2.3-3 is spitting out TOC files with lines like the following

    // Track 2
    TRACK AUDIO
    NO COPY
    PRE_EMPHASIS
    TWO_CHANNEL_AUDIO
    SILENCE 00:02:00
    FILE "quake_v1.01.bin" #33964032 0 05:08:29
    START 00:02:00

That hash-number on the FILE line corresponds to the byte offset for the track
(33964032 is the number of bytes of track 1 which is a data track). However this
syntax is not described in the cdrdao(1) manpage.

cueconvert complains about it

    12: syntax error
    bad character '#'
    ...

I'm filing this here because I guess cdrdao gets to invent its own file format
and is the arbiter of what is valid or not, but this could just as well be a bug
in cdrdao for not documenting a change to the format, if that's what has happened.

-- System Information:
Debian Release: 9.0
  APT prefers stable
  APT policy: (900, 'stable'), (700, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cuetools depends on:
ii  libc6           2.24-11
ii  python-mutagen  1.36-1

Versions of packages cuetools recommends:
ii  flac          1.3.2-1
ii  vorbis-tools  1.4.0-10+b1

cuetools suggests no packages.

-- no debconf information



Information forwarded to [email protected], Guo Yixuan (郭溢譞) <[email protected]>:
Bug#884101; Package cuetools. (Mon, 11 Dec 2017 13:15:04 GMT) (full text, mbox, link).


Acknowledgement sent to Jonathan Dowland <[email protected]>:
Extra info received and forwarded to list. Copy sent to Guo Yixuan (郭溢譞) <[email protected]>. (Mon, 11 Dec 2017 13:15:04 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Jonathan Dowland <[email protected]>
To: [email protected]
Subject: it *did* generate a CUE file
Date: Mon, 11 Dec 2017 12:42:07 +0000
I should add it has written out a cue file, but the indexes are
obviously wrong 

...
TRACK 02 AUDIO
FLAGS PRE
INDEX 00 00:00:00
INDEX 01 00:00:16

TRACK 03 AUDIO
FLAGS PRE
INDEX 00 00:00:00
INDEX 01 00:00:25
...

-- 

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Jonathan Dowland
⢿⡄⠘⠷⠚⠋⠀ https://jmtd.net
⠈⠳⣄⠀⠀⠀⠀ 



Information forwarded to [email protected], Guo Yixuan (郭溢譞) <[email protected]>:
Bug#884101; Package cuetools. (Wed, 10 Feb 2021 20:36:03 GMT) (full text, mbox, link).


Acknowledgement sent to Jonathan Rubenstein <[email protected]>:
Extra info received and forwarded to list. Copy sent to Guo Yixuan (郭溢譞) <[email protected]>. (Wed, 10 Feb 2021 20:36:03 GMT) (full text, mbox, link).


Message #15 received at [email protected] (full text, mbox, reply):

From: Jonathan Rubenstein <[email protected]>
To: [email protected]
Subject: Re: cuetools: fails to convert .toc file generated by cdrdao (syntax error around # character)
Date: Wed, 10 Feb 2021 15:33:43 -0500
I just tried using cuetag, and got a rapid slew of

> 10: syntax error

We find this on line 10

  08 |     TITLE "Matka"
  09 |     PERFORMER "A-Men"
>>10 |     SIZE_INFO { 0,  1, 15,  0, 46,  8,  0,  0,  0,  0,  0,  0,
  11 |                 0,  0,  0,  0,  0,  0,  0,  3, 56,  0,  0,  0,
  12 |                 0,  0,  0,  0,  9,  0,  0,  0,  0,  0,  0,  0}

Removing this field and the following lines 11 and 12 allowed cuetag to 
work.



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 05:09:29 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.