Your message dated Tue, 7 Apr 2009 16:20:51 +0200
with message-id <[email protected]>
and subject line Re: [rrd-developers] python2.3-rrd: would like to capture 
image written to standard out
has caused the Debian Bug report #255720,
regarding python-rrd: would like to capture image written to standard out
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
255720: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=255720
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python2.3-rrd
Version: 0.2.1-1
Severity: wishlist

In using rrdtool from within python, it would be very convenient if the
following command did what one would hope it would do:

file =
rrdtool.graph('-','DEF:load=/var/lib/rrdcollect/stat.rrd:cpu_user:AVERAGE','LINE2:load#00a000:theload')

For the present, I'll just use
        status,file = commands.getstatusoutput('rrdtool graph - 
DEF:load=/var/lib/rrdcollect/stat.rrd:cpu_user:AVERAGE 
LINE2:load#00a000:theload')


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.25
Locale: LANG=C, LC_CTYPE=C

Versions of packages python2.3-rrd depends on:
ii  libc6                       2.3.2.ds1-12 GNU C Library: Shared libraries an
ii  librrd0                     1.0.46-3     Time-series data storage and displ
ii  python2.3                   2.3.3.91-1   An interactive high-level object-o

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: rrdtool
Source-Version: 1.3.0-1

Hi,

On Sat, Dec 20, 2008 at 11:54:07PM +0100, Tobias Oetiker wrote:
> Today Sebastian Harl wrote:
> > On Tue, Jun 22, 2004 at 10:28:37AM -0600, Glen Mabey wrote:
> > > In using rrdtool from within python, it would be very convenient if the
> > > following command did what one would hope it would do:
> > >
> > > file =
> > > rrdtool.graph('-','DEF:load=/var/lib/rrdcollect/stat.rrd:cpu_user:AVERAGE','LINE2:load#00a000:theload')
> > >
> > > For the present, I'll just use
> > >         status,file = commands.getstatusoutput('rrdtool graph - 
> > > DEF:load=/var/lib/rrdcollect/stat.rrd:cpu_user:AVERAGE 
> > > LINE2:load#00a000:theload')
> >
> > I think this feature (i.e. getting the image into 'file' instead of on
> > stdout) would make sense. However, I'm not into Python at all, so I hope
> > that someone else steps up to implement that (or convince me that this
> > feature does not make any sense ;-)).

> Note that the graphv interface will get you the graph back into a
> variable which then lets you do whatever you want with it ...

Imho, it's not required that graph() behaves the same since graphv() has
been added for that purpose (amongst others). I'm thus closing this bug
now.

Cheers,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to