Giter Site home page Giter Site logo

Comments (7)

mesros avatar mesros commented on June 10, 2024 1

Resolved using gnuplot 4.6 from --repository http://dl-3.alpinelinux.org/alpine/v3.0/testing

from opentsdb-docker.

mesros avatar mesros commented on June 10, 2024

Repository http://dl-3.alpinelinux.org/alpine/edge/community/ works but gunplot does not. The following error is provided using the opentsdb gui:

[id: 0xf0fcfc58, /172.25.10.45:60085 => /172.17.0.2:4242] Bad Request on /q?start=2017/04/28-00:00:00&ignore=6&m=sum:IMEF01FA1148R%7Bapplication=asdp%7D&o=&yrange=%5B0:%5D&wxh=1900x779&style=linespoint&json:

Gnuplot stderr:

set term png small size 1900,779
^
"/tmp/40313950.gnuplot", line 1: unrecognized terminal option

@jetgeng Did you had the same issue? If yes how did you resolved it?

from opentsdb-docker.

PeterGrace avatar PeterGrace commented on June 10, 2024

I'm updating the dockerfile to pull gnuplot from this repository. Thanks for the suggestion @mesros!

from opentsdb-docker.

PeterGrace avatar PeterGrace commented on June 10, 2024

I'm reopening this since I used the repository as suggested by @mesros but still have the same gnuplot rendering error. I'd like to figure out this issue but I don't want it to prevent my other updates to the repository, so I'll see about fixing it at a future point.

from opentsdb-docker.

jlferrer avatar jlferrer commented on June 10, 2024

What seems to happen is that the gnuplot 5.x from Alpine does not has built-in support for terminal 'png', only supports 'pngcairo' which does not have the option to set the size:

The log from the gnuplot build that can be found here shows that libgd-png based terminal is not integrated in gnuplot.

I tried to build locally and seems that libwebp-dev installation is missing for the configure script to enable the png terminal.

As possible solutions, or the Alpine distro maintainers add the libwebp-dev as a dependency to build gnuplot or gnuplot has to be built from scratch in the Dockerfile.

from opentsdb-docker.

hardikaurea avatar hardikaurea commented on June 10, 2024

I am having the same issue:

<pre>Gnuplot stderr: |   | <pre>Gnuplot stderr:
-- | -- | --
  | <pre>Gnuplot stderr:
set term png small size 1420,584              ^ "/tmp/3f2f2d5b.gnuplot", line 1: unrecognized terminal option  </pre>

@PeterGrace can you verify the PR and merge it? if it fixes the problem.

from opentsdb-docker.

PeterGrace avatar PeterGrace commented on June 10, 2024

Sorry for the delay and thanks for the ping @hardikaurea -- github notifications notoriously go missing for me so pinging me is the best way to get my attention. I merged the PR as it does definitely resolve the issue.

from opentsdb-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.