MB Pro - Storing tempates locally **solved**

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Post Reply
User avatar
plex
Expert Boarder
Expert Boarder
Posts: 83
Joined: Tue Nov 30, 2010 1:01 pm
Location: Denmark

MB Pro - Storing tempates locally **solved**

Post 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
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: MB Pro - Storing tempates locally

Post 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.
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: MB Pro - Storing tempates locally

Post 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.
User avatar
plex
Expert Boarder
Expert Boarder
Posts: 83
Joined: Tue Nov 30, 2010 1:01 pm
Location: Denmark

Re: MB Pro - Storing tempates locally

Post 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>
User avatar
plex
Expert Boarder
Expert Boarder
Posts: 83
Joined: Tue Nov 30, 2010 1:01 pm
Location: Denmark

Re: MB Pro - Storing tempates locally

Post 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
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: MB Pro - Storing tempates locally

Post 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>
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: MB Pro - Storing tempates locally

Post 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
User avatar
plex
Expert Boarder
Expert Boarder
Posts: 83
Joined: Tue Nov 30, 2010 1:01 pm
Location: Denmark

Re: MB Pro - Storing tempates locally

Post 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?
User avatar
plex
Expert Boarder
Expert Boarder
Posts: 83
Joined: Tue Nov 30, 2010 1:01 pm
Location: Denmark

Re: MB Pro - Storing tempates locally

Post 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
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: MB Pro - Storing tempates locally

Post 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.
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: MB Pro - Storing tempates locally

Post 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.
User avatar
plex
Expert Boarder
Expert Boarder
Posts: 83
Joined: Tue Nov 30, 2010 1:01 pm
Location: Denmark

Re: MB Pro - Storing tempates locally

Post by plex »

Mighty god...

1st class service :)

Thanks a lot
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: MB Pro - Storing tempates locally

Post by admin »

online now
User avatar
plex
Expert Boarder
Expert Boarder
Posts: 83
Joined: Tue Nov 30, 2010 1:01 pm
Location: Denmark

Re: MB Pro - Storing tempates locally

Post by plex »

admin wrote:online now
Both things works here now :)

Thanks again
Post Reply