Foreca Weather Plugin problem
Re: Foreca Weather Plugin problem #41
Re: Foreca Weather Plugin problem #42
Posted 24 March 2013 - 12:55
vuduo2 openpli6.1 1TB HDD 2xdualS2tuner
av receiver denon - samsung 4k hdr+ 65inch UE65MU7000 - bose accoustimas 7.1
tvv kaart & schotel(64cm), duo lnb, OSCAM
logitech harmony ultimate
Re: Foreca Weather Plugin problem #43
Posted 24 March 2013 - 13:09
Can you see on it ? When I take generated string and put it into web browser, I get picture well.
ex:
http://cache-b.foreca.com/i/sat/__eur__-sat-20130324090000.jpg
Edited by ims, 24 March 2013 - 13:12.
Re: Foreca Weather Plugin problem #44
Posted 24 March 2013 - 15:03
fulltext = re.compile(r'http://cache-(.+?) ', re.DOTALL)The first string found is one that ends with a double quote, and this one should be excluded from the results.
The other strings found include a single quote and a comma at the end, which should not be there.
By changing the above statement as follows, both these problems should be eliminated:
fulltext = re.compile(r'http://cache-(.+?)\', ', re.DOTALL)
With me it all works with this change in place.
Re: Foreca Weather Plugin problem #45
Posted 24 March 2013 - 15:24
url = url.replace("',", "") url = url.replace("\"", "")
Attached Files
@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB
Re: Foreca Weather Plugin problem #46
Posted 24 March 2013 - 15:31
The problem is in the search for the string
fulltext = re.compile(r'http://cache-(.+?) ', re.DOTALL)The first string found is one that ends with a double quote, and this one should be excluded from the results.
The other strings found include a single quote and a comma at the end, which should not be there.
By changing the above statement as follows, both these problems should be eliminated:fulltext = re.compile(r'http://cache-(.+?)\', ', re.DOTALL)
With me it all works with this change in place.
but now this do not find last picture and it stops on last bad picture and do not works.
Re: Foreca Weather Plugin problem #47
Re: Foreca Weather Plugin problem #48
Re: Foreca Weather Plugin problem #49
Re: Foreca Weather Plugin problem #50
Re: Foreca Weather Plugin problem #51
Posted 27 June 2013 - 18:57
The maps have moved from www.wetterkontor.de/maps/ to a new path: img.wetterkontor.de/karten/.
To get it working again in plugin.py the line
urllib.urlretrieve("http://www.wetterkontor.de/maps/" + region + "0.jpg", devicepath)
must be changed to
urllib.urlretrieve("http://img.wetterkontor.de/karten/" + region + "0.jpg", devicepath)
After that everything works again.
Re: Foreca Weather Plugin problem #52
Re: Foreca Weather Plugin problem #53
Re: Foreca Weather Plugin problem #54
Re: Foreca Weather Plugin problem #55
Re: Foreca Weather Plugin problem #56
Posted 17 August 2013 - 11:04
The plugin has not been changed recently. It still works fine for me, including the 5 days forecast.
With plug all OK, here is another problem.
After the upgrade, the picture with 5 day forecast is halved.
Checking even on a clean image (installed only to plug foreсa)
GI ET11000,Vu+DUO2 - 4W-90E Supral 120 (motor Stab HH 120), 36Е- satellite antenna Nokia - 90
xtrend ET9000 - Tests without a permanent connection
Re: Foreca Weather Plugin problem #57
Re: Foreca Weather Plugin problem #58
Re: Foreca Weather Plugin problem #59
Re: Foreca Weather Plugin problem #60
Posted 17 August 2013 - 19:35
Which box (brand, type)?
Steps to reproduce? (I see no problem here, so tell me what to look for)
ET 9000
After today's online update encountered an error.
When you open the weather forecast for 5 days (the red button), we see two pictures.
Attached Files
GI ET11000,Vu+DUO2 - 4W-90E Supral 120 (motor Stab HH 120), 36Е- satellite antenna Nokia - 90
xtrend ET9000 - Tests without a permanent connection
4 user(s) are reading this topic
0 members, 4 guests, 0 anonymous users