Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"undefined is not an object (evaluating 'o.x')" in table mode using PostgreSQL #185

Open
gschjetne opened this issue Mar 12, 2019 · 1 comment

Comments

@gschjetne
Copy link

gschjetne commented Mar 12, 2019

What happened:

The error message undefined is not an object (evaluating 'o.x') in the top left corner of the map

What you expected to happen:

Render a dot off the coast of Africa, or at least display an error message that doesn't refer to minified worldmap-panel code, but to user input.

How to reproduce it (as minimally and precisely as possible):

Settings:

Screen Shot 2019-03-12 at 13 23 06

(Selecting "geohash" produces the same error message)

Query:

SELECT
  5 AS "metric",
  0 AS "latitude",
  0 AS "longitude",
  's000' AS "geohash"

("Format as Table" selected)

Environment:

  • Grafana version: 6.0.1
  • Data source type & version: PostgreSQL 9.6
  • OS Grafana is installed on: Official Docker image on macOS
  • User OS & Browser: macOS 10.12.6 and Safari 12.0.3
  • Worlmap-panel version: It's not indicated anywhere in the user interface, but it was installed using the GF_INSTALL_PLUGINS=grafana-worldmap-panel environment variable, so presumably the latest release which appears to be 0.2.0 according to https://grafana.com/plugins/grafana-worldmap-panel
@amotl
Copy link

amotl commented Nov 5, 2020

Dear @gschjetne and @rkeshmir,

our fork grafana-map-panel already addressed this issue (see grafana-toolbox#47) and also includes many other improvements. You might want to pick a recent release from [1] and check if that will work for you.

With kind regards,
Andreas.

[1] https://github.com/panodata/grafana-map-panel/releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants