Charts: Creating an EXE instead of an HTML
Moderator: Mattk
Charts: Creating an EXE instead of an HTML
I have a newly set MB RPI. When I create and save a chart myself. Then it is saved on my PI as an executable file (exe). All preset chart go well.
That is different from my NanoSD where an html is stored. When I view the 'exe' with BBEdit or Atom the content is the same as the html on the NanoSD. Changing the extension is not the solution. Does anyone know the correct solution? And who knows how I avoid this problem? Otherwise I get an exe every time I create a chart myself.
Thanks
That is different from my NanoSD where an html is stored. When I view the 'exe' with BBEdit or Atom the content is the same as the html on the NanoSD. Changing the extension is not the solution. Does anyone know the correct solution? And who knows how I avoid this problem? Otherwise I get an exe every time I create a chart myself.
Thanks
Re: Charts: Creating an EXE instead of an HTML
Meteobridge does not generate charts with extension "exe". Did you try to open it with a browser regardless what the OS your are using to examine the files does tell you?
Re: Charts: Creating an EXE instead of an HTML
Renaming the file to .html is not a sollution. Opening in safari, e.g. is not possible. So I selected the content and pasted in an empty exiting .html and it worked. All in BBdit btw It is now accessible as an HTML. So it was an HTML but it enters the charts folder (viewing on MACOS) as if it were an exe. I want to make it a periodical upload to my website....In this way that won't work. What is wrong?
Re: Charts: Creating an EXE instead of an HTML
I am working with Macs on my own. When I generate a chart on the Meteobridge RPI by pressing the "Export to charts folder" button on "Graphs - Generate Chart" tab it exports a html file into the charts folder. When I connect to this folder from my Mac I see a html file and when I click onto it, it opens fine in Safari. Please do as I explained above and you will see that it works flawlessly.
How does your workflow differ from my explanation?
How does your workflow differ from my explanation?
Re: Charts: Creating an EXE instead of an HTML
Yep. Thats exactly what I do. But in this case the file that appears is a file which give MACOS the idea that it is an executable file. Clicking on it wile gives a blanc/strange doc and does not open safari. Clicking right on the file gives the opportunity to choose another app to ope the document with. Safari is not one to choose from. So it is not the normal (you described and what I am used to) operation.
Re: Charts: Creating an EXE instead of an HTML
Just kept thinking why something different is happening on that MB RPI now. Could it be because the graph is defined by me (see 1st post)? But the outcome of that should also be an html.
Re: Charts: Creating an EXE instead of an HTML
Is there someone with a solution? Thanks in advance. 

Re: Charts: Creating an EXE instead of an HTML
Sounds a bit strange.
Are you sure you have not forgot to enter the extension in the upload? The .html must be there.
MacOS and other Unix/Linux operating systems have some permission settings for each file. One of these settings is the execution-bit. If set, the file is treated as an executable file. I did some tests with this bit and extension, however I could not really recreate your issue.
But do check the settings in the meteobridge/services first:
Are you sure you have not forgot to enter the extension in the upload? The .html must be there.
MacOS and other Unix/Linux operating systems have some permission settings for each file. One of these settings is the execution-bit. If set, the file is treated as an executable file. I did some tests with this bit and extension, however I could not really recreate your issue.
But do check the settings in the meteobridge/services first:
PWS Villshärad/Halmstad, Sweden: vader.fishmoose.se DavisVPro + MB NanoSD.
Re: Charts: Creating an EXE instead of an HTML
This is what I get on my MB RPI, the file "AIR" has the properties of an executable unix file:
Re: Charts: Creating an EXE instead of an HTML
That is strange.
I did try the same thing on my Nano; a custom graph -> create -> export.
The .html is added by automagic. You obviously have tried this also with your Nano.
Possibly this is a Raspberry-issue?? Unfortunately I have no installation of Meteobridge on a pi to test on.
Just for test, is it possible to add the .html already at the chart's definition page? Will that work or make difference?
Definition: My test, (that seem to work):
I did try the same thing on my Nano; a custom graph -> create -> export.
The .html is added by automagic. You obviously have tried this also with your Nano.
Possibly this is a Raspberry-issue?? Unfortunately I have no installation of Meteobridge on a pi to test on.

Just for test, is it possible to add the .html already at the chart's definition page? Will that work or make difference?
Definition: My test, (that seem to work):
PWS Villshärad/Halmstad, Sweden: vader.fishmoose.se DavisVPro + MB NanoSD.
Re: Charts: Creating an EXE instead of an HTML
Hopeful I added .html to the file. I had completely forgotten. Stupid of me, keep looking over that. But that still didn't work. So I defined a whole new graph. And that turned out to be the solution.
Now upload it to my site and that's it. I posted this issue here two months ago or something. I thought it was indeed an MB RPI problem because it works on my NanoSD. Felt like a voice crying in the wilderness. And that's because I forgot something so simple. Thanks for the suggestions and thinking along Svampen.
Bart
Now upload it to my site and that's it. I posted this issue here two months ago or something. I thought it was indeed an MB RPI problem because it works on my NanoSD. Felt like a voice crying in the wilderness. And that's because I forgot something so simple. Thanks for the suggestions and thinking along Svampen.
Bart
Re: Charts: Creating an EXE instead of an HTML
Bart, I am not really sure what might have been wrong, but I am very glad you sorted it out!
All the best!
All the best!

PWS Villshärad/Halmstad, Sweden: vader.fishmoose.se DavisVPro + MB NanoSD.
Re: Charts: Creating an EXE instead of an HTML
Thanks to you I added the “.html. I suppose that the MB Rpi makes (unix) an executabel if you do not add a file extension.
Bart
Bart