Current value unavailable in Cricket grapher

Bug #686911 reported by Rick Frey
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
cricket (Debian)
Fix Released
Unknown
cricket (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: cricket

Description: Ubuntu 10.04.1 LTS
Release: 10.04
cricket:
  Installed: 1.0.5-11
  Candidate: 1.0.5-11
  Version table:
 *** 1.0.5-11 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

The current value data is missing/incorrect in Cricket grapher. Searching bug reports found same bug reported in earlier version of Ubuntu under bug #64403 (also listed as duplicate to 54659). A patch was listed in #64403 to fix issue with x86_64 architecture.

The file (RRD/Format.pm) supplied with cricket 1.0.5-11 is close to patch listed in bug #64403. However the slight difference did cause the current value data to be incorrect (either 0 or -nan). By modifying RRD/Format.pm to same as listed in patch for but #64403, the current value is displayed correctly by the Cricket grapher on my system architecture (x86_64).

I am unable to test package on other x86_64 systems to determine if anything specific to my platform, but the following patch fixes issue on my host.

--- Format.pm.orig 2010-12-07 22:46:23.526041539 -0600
+++ /usr/share/cricket/lib/RRD/Format.pm 2010-12-07 22:42:51.486042147 -0600
@@ -164,7 +164,7 @@
         $self->{'statHead'} = "a4 a5 x7 d Q Q Q x80";
         $self->{'dsDef'} = "a20 a20 Q d d x56";
         $self->{'rraDef'} = "a20 x4 Q Q d x72";
- $self->{'liveHead'} = "Q";
+ $self->{'liveHead'} = "Q Q";
         $self->{'liveHead3'} = "Q Q";
         $self->{'pdpDef'} = "a30 x2 Q d x64";
         $self->{'cdpDef'} = "d Q x64";

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: cricket 1.0.5-11 [modified: usr/share/cricket/lib/RRD/Format.pm]
ProcVersionSignature: Ubuntu 2.6.32-26.48-server 2.6.32.24+drm33.11
Uname: Linux 2.6.32-26-server x86_64
Architecture: amd64
Date: Tue Dec 7 23:18:22 2010
InstallationMedia: Ubuntu-Server 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.2)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: cricket

Related branches

Revision history for this message
Rick Frey (ubuntu-gribnut) wrote :
Revision history for this message
Rick Frey (ubuntu-gribnut) wrote :

Slight correction of previous comment:
The version of Format.pm supplied with cricket 1.0.5-11 is patched in manner described in comments for bug #64403 but the fix for my host was to use the patch in the attachment for bug #64403. It appears the incorrect version of patch was applied to 1.0.5-11 and needs to be updated to listed difference.

Revision history for this message
Rick Frey (ubuntu-gribnut) wrote :
tags: added: patch
Revision history for this message
James Troup (elmo) wrote :

I needed the following patch to make cricket work again - it's a superset of the original patch.

Daniel T Chen (crimsun)
tags: added: patch-forwarded-debian
removed: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cricket - 1.0.5-13ubuntu1

---------------
cricket (1.0.5-13ubuntu1) oneiric; urgency=low

  * Apply patch from James Troup to resolve missing/incorrect current
    value data in grapher on x86 and x86_64. (LP: #686911)
 -- Daniel T Chen <email address hidden> Tue, 26 Jul 2011 23:58:54 -0400

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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