-
Notifications
You must be signed in to change notification settings - Fork 3
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
Error in JSON encoding #36
Comments
@HimmelStein (i think it was your bug report) can you check why this observation: |
Hi @larjohn , in the dataset, there is no NaN value for the mentioned observation. In the dump turtle file, the observation looks like this:
|
@larjohn I checked the raw csv file, as well as the turtle file. Can you check whether the following format causes the NaN value? |
@larjohn @HimmelStein updated Rudolf docker image to a newer (7.1) version, the following link works. |
@larjohn Indigo seems not working properly http://apps.openbudgets.eu -- Slow and sometimes datasets or data-mining functions do not prompt out . Can you have a check? for example http://apps.openbudgets.eu/cube/analytics/bonn-budget-2022-internalOrder__f31cf http://apps.openbudgets.eu works, if we first visit |
@HimmelStein you have included conditions inside the configurations node, whereas it should be included as single condition per related configuration. Right now conditions is considered as another configuration and it lacks inputs, that's why it fails. |
@larjohn @liyakun @wk0206 what is the efficient way to fix these problem? |
@liyakun I tested with firefox and chrome. Response of firefox is slower than of chrome. |
typing 'Bonn' at 'Find a Dataset' field of http://apps.openbudgets.eu/, it takes much longer time to get response than by typing 'Aragon', although there are only 4 Bonn datasets. |
@HimmelStein @larjohn I also use Firefox. It seems the analysis already load everything without problems. |
@larjohn can you have a quick look where the problem is? |
@larjohn please look at this ASAP. |
I cannot reproduce the dataset search issue. On the other hand, the analysis algorithms should be visible if you resolve this. Which means you have to move the I am not doing it myself to avoid conflict, in case you are editing it per my comments in the DAM issue here. |
@larjohn could you elaborate more on #36 (comment) as it seems there is some kind of confusion. |
@larjohn @liyakun @hantongliu @wk0206 I tried with Chrome, selecting and loading dataset is fine, and also fast. But, data-mining functions are still not listed. |
repair for issue openbudgets/integration#36
updated dam.json for last comment. |
@HimmelStein @larjohn @wk0206 @skarampatakis after updating dam to last commit, it works fine now. |
please do more testing. My side, it works once. does the following link work on your side? |
@HimmelStein It seems to be working from here. Perhaps a caching problem? Please clear your browser cache |
yes, I got this graphic for the first time. can you do it again? |
@larjohn please check where is the problem when loading datasets through http://apps.openbudgets.eu/ |
I have received the following bug report recently:
It is caused by a NAN (not a number) being literally dumped as-is by PHP's json_encode function. NAN is a valid structure in PHP, but it has no valid meaning in a JSON serialization.
PHP docs state that there is a constant to provide as an option so that INF (infinity) and NAN (not a number) are substituted with zeros during the serialization. I tried the following chunk of code:
In my local Windows PHP 7.0 installation, the above correctly resulted in
{"a":0, "b":0}
. In our docker image, INF was correctly converted to 0, but NAN remained as-is. I tried manually updating the php7 version in the running instance to PHP 7.1 and it worked correctly. It seems it was a bug and it got fixed.While I could update PHP myself, this might result to some error driving the server out of order. So, @wk0206 can you or someone else just update the Rudolf docker image to a newer (7.1) version?
The text was updated successfully, but these errors were encountered: