cdck generated plot-file can't read from gnuplot

Bug #476591 reported by Lödur
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cdck (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: cdck

o I've burned a CD-RW (4x) with two files (with CD/DVD Creater from Nautilus)
o Now I opened a gnome -terminal and typing the following and press [Enter]:
cdck

---
Reading sectors 1-302800
302800 ok

CD overall:
   Sectors total: 302800:
   Good sectors: 302800:
   Bad sectors (incl. with poor timing): 0
CD timings:
   Minimal = 2 usec (0.000002s)
   Maximal = 181271 usec (0.181271s)
   Average = 776 usec (0.000776s)

Conclusion:
   Satisfactory disc
---

I've read in the manual page of cdck, that I can save the result in a dat-file to represent it with gnuplot.
But the generated dat-file can't read from gnuplot.

o Now I opened a gnome -terminal and typing the following and press [Enter]:
cdck -p

ProblemType: Bug
Architecture: i386
Date: Fri Nov 6 16:28:27 2009
Dependencies:
 libgcc1 1:4.2.4-1ubuntu4
 gcc-4.2-base 4.2.4-1ubuntu4
 libc6 2.7-10ubuntu5
DistroRelease: Ubuntu 8.04
Package: cdck 0.6.0-1
PackageArchitecture: i386
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: cdck
Uname: Linux 2.6.24-25-386 i686

Tags: apport-bug

Related branches

Revision history for this message
Lödur (loedur) wrote :
Revision history for this message
gregor herrmann (gregoa) wrote : Re: [Bug 476591] [NEW] cdck generated plot-file can't read from gnuplot

On Fri, 06 Nov 2009 15:40:15 -0000, Lödur wrote:

> I've read in the manual page of cdck, that I can save the result in a dat-file to represent it with gnuplot.
> But the generated dat-file can't read from gnuplot.
>
> o Now I opened a gnome -terminal and typing the following and press [Enter]:
> cdck -p

And then?

My guess:
* You got the file cdck-plot.dat~
* You ran `gnuplot cdck-plot.dat~' and got:

#v+
gregoa@belanna:/tmp$ gnuplot cdck-plot.dat~

0 9
^
"cdck-plot.dat~", line 2: invalid command

gregoa@belanna:/tmp$
#v-

After reading a bit about gnuplot it seems that this is not the way
to actually plot a datafile. What works for me is (plot.dat is a
shortened version of your cdck-plot.dat~):

#v+
gregoa@belanna:/tmp$ gnuplot

        G N U P L O T
        Version 4.2 patchlevel 6
        last modified Sep 2009
        System: Linux 2.6.31.200910290028

        Copyright (C) 1986 - 1993, 1998, 2004, 2007 - 2009
        Thomas Williams, Colin Kelley and many others

        Type `help` to access the on-line reference manual.
        The gnuplot FAQ is available from http://www.gnuplot.info/faq/

        Send bug reports and suggestions to <http://sourceforge.net/projects/gnuplot>

Terminal type set to 'wxt'
gnuplot> plot "plot.dat"
[enjoy plot]
gnuplot> q
gregoa@belanna:/tmp$
#v-

Another option would be to add
    plot '-'
as the first line of the datafile and
    end
    pause -1
at the end, then `gnuplot plot.dat' also works; but I'm nor sure the
"pause -1" is what's wanted in each case.

IMO there is no real bug in cdck, but I cann add a note to the manpage
about how to use the datafile.

Cheers,
gregor (cdck maintainer in Debian)
--
 .''`. http://info.comodo.priv.at/ -- GPG Key IDs: 0x00F3CFE4, 0x8649AA06
 : :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `' Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
   `- NP: Spider Murphy Gang: Rock'n Roll Maschin'

Revision history for this message
Lödur (loedur) wrote :

Hello,

thanks for adding a note to the manpage!

Maybe it's not a critical bug, but it's a stumbling block for John Doe (Otto Normal) like me.

Bye,

loedur

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cdck - 0.7.0-3

---------------
cdck (0.7.0-3) unstable; urgency=low

  * Patches:
    - man.patch:
      + refresh with modern .quiltrc settings
      + add header
      + remove =cut at the top which leads to pod2man errors
      + add a note about how to use the gnuplot datafile (LP: #476591)
    - wording.patch:
      + refresh
      + add header
    - libtool.patch:
      + new patch to split out changes to aclocal.m4 and ltmain.sh
      + add a lintian override for the warning about the ancient ltmain.sh in
        the source package
  * debian/rules: call make with -j1, the upstream build system is not
    parallel-build safe.
  * Set Standards-Version to 3.8.3, add debian/README.source to document quilt
    usage.
  * Switch to debhelper 7, adjust debian/rules and versioned dependencies in
    debian/control.
  * debian/control: make short description a noun phrase.
  * debian/copyright: update years of packaging copyright.
 -- Ubuntu Archive Auto-Sync <email address hidden> Tue, 17 Nov 2009 17:45:14 +0000

Changed in cdck (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.