Page 1 of 1

MB Pro - Storing tempates locally **solved**

Posted: Fri Jan 15, 2016 8:52 pm
by plex
Hi

I have two different problems handling templates with ftp.

1)
MBP refuses to download this template:
http://www.vejrstationen.dk/weather28/s ... ags.mb.txt

Image

The strange thing is, that it works if I grab the file, from another user of Leuven template.

Could it be ISP related, or why do I get this error?

2)
Tried to store the file locally in folder templates, and gives me another error.

Image


Any help would be appreciated :)

Have a nice weekend

Re: MB Pro - Storing tempates locally

Posted: Sat Jan 16, 2016 2:41 am
by admin
ad 1) wget, which is used by Meteobridge to read the data is blocked by your hoster of the web pages.
When I add "-U meteobridge" - which means I hide that wget is being used - download goes fine, but that
could have effects on other web sides. I will give it a try with the next update and we'll see if that opens
another can of worms.

Re: MB Pro - Storing tempates locally

Posted: Sat Jan 16, 2016 2:56 am
by admin
ad2) It is just an error message that does not reflect that pressing the download button for a locally stored file is not making sense. So this is just cosmetics. A more useful message will be part of the next update.

Re: MB Pro - Storing tempates locally

Posted: Sat Jan 16, 2016 2:04 pm
by plex
admin wrote:ad 1) wget, which is used by Meteobridge to read the data is blocked by your hoster of the web pages.
When I add "-U meteobridge" - which means I hide that wget is being used - download goes fine, but that
could have effects on other web sides. I will give it a try with the next update and we'll see if that opens
another can of worms.
Hello

I've managed to solve it, however I don't know if it's the right thing to do?

Added this to .htaccess
<IfModule mod_security.c>
SecFilterScanPOST Off
SecFilterInheritance Off
</IfModule>

Re: MB Pro - Storing tempates locally

Posted: Sat Jan 16, 2016 2:05 pm
by plex
admin wrote:ad2) It is just an error message that does not reflect that pressing the download button for a locally stored file is not making sense. So this is just cosmetics. A more useful message will be part of the next update.
File doesn't get processed here

Re: MB Pro - Storing tempates locally

Posted: Sat Jan 16, 2016 2:09 pm
by admin
Sorry, I am not that deep into web server configuration. By adding "-U meteobridge" to my wget calls does work around blocking of wget requests from the web server.
plex wrote:Added this to .htaccess
<IfModule mod_security.c>
SecFilterScanPOST Off
SecFilterInheritance Off
</IfModule>

Re: MB Pro - Storing tempates locally

Posted: Sat Jan 16, 2016 2:17 pm
by admin
I checked again and it gets uploaded here fine. Does live data tab show any errors for FTP upload?
Did you select the template from the drop down or manually, may be a typo?
plex wrote:
admin wrote:ad2) It is just an error message that does not reflect that pressing the download button for a locally stored file is not making sense. So this is just cosmetics. A more useful message will be part of the next update.
File doesn't get processed here

Re: MB Pro - Storing tempates locally

Posted: Sat Jan 16, 2016 2:45 pm
by plex
admin wrote:Sorry, I am not that deep into web server configuration. By adding "-U meteobridge" to my wget calls does work around blocking of wget requests from the web server.
plex wrote:Added this to .htaccess
<IfModule mod_security.c>
SecFilterScanPOST Off
SecFilterInheritance Off
</IfModule>
Okay... So it means that next update properly are going to fix?

Re: MB Pro - Storing tempates locally

Posted: Sat Jan 16, 2016 2:54 pm
by plex
admin wrote:I checked again and it gets uploaded here fine. Does live data tab show any errors for FTP upload?
Did you select the template from the drop down or manually, may be a typo?
plex wrote:
admin wrote:ad2) It is just an error message that does not reflect that pressing the download button for a locally stored file is not making sense. So this is just cosmetics. A more useful message will be part of the next update.
File doesn't get processed here
I can confirm that file is uploaded, but template is not getting processed - there's no weather data.

I select file from drop down list.

Image

Image

Re: MB Pro - Storing tempates locally

Posted: Sat Jan 16, 2016 3:40 pm
by admin
yes, you are right. I just fixed that and another bug when generating an export of an hour. Update will be online in an hour.

Thanks for reporting these bugs! It really helps a lot to get the product really mature in short time. Hopefully, you find your effort somehow rewarded as I try to fix all open ends asap.

Re: MB Pro - Storing tempates locally

Posted: Sat Jan 16, 2016 3:42 pm
by admin
plex wrote:
admin wrote:Sorry, I am not that deep into web server configuration. By adding "-U meteobridge" to my wget calls does work around blocking of wget requests from the web server.
plex wrote:Added this to .htaccess
<IfModule mod_security.c>
SecFilterScanPOST Off
SecFilterInheritance Off
</IfModule>
Okay... So it means that next update properly are going to fix?
yes, online in an hour.

Re: MB Pro - Storing tempates locally

Posted: Sat Jan 16, 2016 3:48 pm
by plex
Mighty god...

1st class service :)

Thanks a lot

Re: MB Pro - Storing tempates locally

Posted: Sat Jan 16, 2016 4:56 pm
by admin
online now

Re: MB Pro - Storing tempates locally

Posted: Sat Jan 16, 2016 5:31 pm
by plex
admin wrote:online now
Both things works here now :)

Thanks again