visualize-admin / visualization-tool

The tool for visualizing Swiss Open Government Data. Project ownership: Federal Office for the Environment FOEN
https://visualize.admin.ch
BSD 3-Clause "New" or "Revised" License
29 stars 3 forks source link

PROD : Error happened while fetching possible filters #1495

Closed ortnever closed 2 months ago

ortnever commented 2 months ago

Describe the bug The "Expenditure of general government by function (COFOG)" cube can no longer be viewed on PROD -> An error happened while fetching possible filters, please retry later or reload the page. This display has always worked before. ->

To Reproduce Steps to reproduce the behavior:

  1. Open visualize.admin.ch
  2. Search and select Dataset "Expenditure of general government by function (COFOG)"
  3. Start a visualization
  4. See error by Filter

Screenshots or video image

Environment (please complete the following information):

Additional context Add any other context about the problem here.

ortnever commented 2 months ago

Hi @sosiology : Can you ensure that this bug is dealt as quickly as possible. Thank you.

Rdataflow commented 2 months ago

@ortnever IIRC this should already be fixed on INT https://github.com/visualize-admin/visualization-tool/issues/1430

bprusinowski commented 2 months ago

Yes, this error should be fixed on INT, but I've noticed another problem with the cube – is has mixed literals and named nodes in the https://environment.ld.admin.ch/foen/BFS_cofog_national/cofog dimension. See query for nodeKind and query for actual values (Total literal is mixed with named nodes). This would need to be fixed in the data, as dimension must have only one nodeKind, as defined in the cube spec for Visualize.

@ortnever do you know who is the publisher of the cube and could replace the Total literal with a namedNode?

ortnever commented 2 months ago

Thank you for your answer Bartosz. We will do the necessary in the data.

bprusinowski commented 2 months ago

Thanks, @ortnever! Have a nice weekend ☀️

ortnever commented 2 months ago

@bprusinowski : There was indeed a problem in the CSV. I've corrected the csv according to Fabian's instructions and everything works perfectly.

bprusinowski commented 2 months ago

That's great to hear @ortnever 🎉