Hi,
last week this error occured. Is there a connection problem ? Firewall, Dns?
Please help
Love Rainmeter!
It is currently March 29th, 2024, 4:00 pm
WebParser (Fetch Error)
-
- Posts: 6
- Joined: November 26th, 2017, 6:59 pm
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: WebParser (Fetch Error)
Probably no one will be able to give you a good answer without knowing the code. So, please post it first.
-
- Posts: 6
- Joined: November 26th, 2017, 6:59 pm
Re: WebParser (Fetch Error)
code of what sir, i can send log .balala wrote:Probably no one will be able to give you a good answer without knowing the code. So, please post it first.
thanks
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: WebParser (Fetch Error)
No, I'm not interested yet in what the Log says. First I'd like the check the skin. To can do this, you should post the code of it, obviously. Right click it and click Edit skin, then copy the whole code and paste it here, using theubenz wrote:code of what sir, i can send log .
Code: Select all
Or even better give us a link where we can download the not working skin, to can check.
-
- Posts: 6
- Joined: November 26th, 2017, 6:59 pm
Re: WebParser (Fetch Error)
Thanks for the answer sir.balala wrote:No, I'm not interested yet in what the Log says. First I'd like the check the skin. To can do this, you should post the code of it, obviously. Right click it and click Edit skin, then copy the whole code and paste it here, using thetags (through the Code button).Code: Select all
Or even better give us a link where we can download the not working skin, to can check.
I removed old, re-installed every new version of rainmeter, no luck.
Every skins that has an internet connection doesnt work.
For example WebparserTest
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[MeasureNetwork]
Measure=Plugin
Plugin=CheckNet
ConnectionType=Network
UpdateRate=5
IfEqualValue=1
IfEqualAction=[!EnableMeasure MeasureInternet][!EnableMeasure MeasureCheckNetwork]
IfBelowValue=1
IfBelowAction=[!EnableMeasure MeasureCheckNetwork]
[MeasureCheckNetwork]
Measure=Calc
Formula=[MeasureNetwork]
IfEqualValue=0
IfEqualAction=[!SetOption MeterNetworkImage ImageName NoLight.png][!SetOption MeterNetworkText FontColor "150,150,150,255"][!UpdateMeter *][!Redraw]
IfAboveValue=0
IfAboveAction=[!SetOption MeterNetworkImage ImageName GreenLight.png][!SetOption MeterNetworkText FontColor "220,252,221,255"][!UpdateMeter *][!Redraw]
IfBelowValue=0
IfBelowAction=[!SetOption MeterNetworkImage ImageName RedLight.png][!SetOption MeterNetworkText FontColor "247,143,143,255"][!UpdateMeter *][!Redraw]
DynamicVariables=1
Disabled=1
[MeasureInternet]
Measure=Plugin
Plugin=CheckNet
ConnectionType=Internet
UpdateRate=30
IfEqualValue=1
IfEqualAction=[!EnableMeasure MeasureWebParser][!EnableMeasure MeasureCheckInternet]
IfBelowValue=1
IfBelowAction=[!EnableMeasure MeasureCheckInternet]
Disabled=1
[MeasureCheckInternet]
Measure=Calc
Formula=[MeasureInternet]
IfEqualValue=0
IfEqualAction=[!SetOption MeterInternetImage ImageName NoLight.png][!SetOption MeterInternetText FontColor "150,150,150,255"][!UpdateMeter *][!Redraw]
IfAboveValue=0
IfAboveAction=[!SetOption MeterInternetImage ImageName GreenLight.png][!SetOption MeterInternetText FontColor "220,252,221,255"][!UpdateMeter *][!Redraw]
IfBelowValue=0
IfBelowAction=[!SetOption MeterInternetImage ImageName RedLight.png][!SetOption MeterInternetText FontColor "247,143,143,255"][!UpdateMeter *][!Redraw]
DynamicVariables=1
Disabled=1
[MeasureWebParser]
Measure=Plugin
Plugin=WebParser
Url=http://www.msftncsi.com/ncsi.txt
RegExp="^(.*)$"
UpdateRate=30
ForceReload=1
StringIndex=1
RegExpSubstitute=1
Substitute="^Microsoft NCSI$":"1","":"-1"
ErrorString="-1"
FinishAction=[!EnableMeasure MeasureCheckWebParser]
Disabled=1
[MeasureCheckWebParser]
Measure=Calc
Formula=[MeasureWebParser]
IfEqualValue=0
IfEqualAction=[!SetOption MeterWebParserImage ImageName NoLight.png][!SetOption MeterWebParserText FontColor "150,150,150,255"][!UpdateMeter *][!Redraw][!DisableMeasureGroup Proxy]
IfAboveValue=0
IfAboveAction=[!SetOption MeterWebParserImage ImageName GreenLight.png][!SetOption MeterWebParserText FontColor "220,252,221,255"][!UpdateMeter *][!Redraw][!DisableMeasureGroup Proxy]
IfBelowValue=0
IfBelowAction=[!SetOption MeterWebParserImage ImageName RedLight.png][!SetOption MeterWebParserText FontColor "247,143,143,255"][!UpdateMeter *][!Redraw][!EnableMeasureGroup Proxy]
DynamicVariables=1
Disabled=1
[MeasureProxy]
Measure=Registry
Group=Proxy
RegHKey=HKEY_CURRENT_USER
RegKey=Software\Microsoft\Windows\CurrentVersion\Internet Settings
RegValue=ProxyEnable
UpdateDivider=30
Disabled=1
[MeasureIsProxy]
Measure=Calc
Group=Proxy
Formula=MeasureIsProxy
IfBelowValue=1
IfBelowAction=[!SetOption MeterProxyText Text "WebParser is not able to parse the site at http://www.msftncsi.com. This could be due to a limited Internet connection, firewall settings, or a problem with connection settings in Windows Internet Explorer."][!ShowMeter MeterProxyText][!UpdateMeter *][!Redraw]
IfEqualValue=1
IfEqualAction=[!SetOption MeterProxyText Text "WebParser is not able to parse the site at http://www.msftncsi.com. This could be due to a limited Internet connection, firewall settings, or a problem with connection settings in Windows Internet Explorer.#CRLF##CRLF#Note: There seems to be a proxy server defined for Internet Explorer on your system. WebParser can't authenticate on a proxy server if it requires a login. You may be able to correct the issue by unchecking the 'Proxy Server' box in 'Lan Settings' under 'Internet Options' in Internet Explorer."][!ShowMeter MeterProxyText][!UpdateMeter *][!Redraw]
Disabled=1
[MeterBack]
Meter=Image
W=220
H=140
SolidColor=47,47,47,255
[MeterHeader]
Meter=String
W=210
H=30
FontSize=14
FontColor=161,186,220,255
SolidColor=37,37,37,255
Padding=10,10,0,0
AntiAlias=1
Text=WebParser Tester
[MeterNetworkImage]
Meter=Image
ImagePath=#@#Images\
ImageName=NoLight.png
X=10
Y=48
W=24
H=24
AntiAlias=1
[MeterNetworkText]
Meter=String
X=8R
Y=4r
FontSize=11
FontColor=150,150,150,255
AntiAlias=1
Text=Network Connection
[MeterInternetImage]
Meter=Image
ImagePath=#@#Images\
ImageName=NoLight.png
X=10
Y=([MeterNetworkImage:Y] + [MeterNetworkImage:H] + 5)
W=24
H=24
AntiAlias=1
[MeterInternetText]
Meter=String
X=8R
Y=4r
FontSize=11
FontColor=150,150,150,255
AntiAlias=1
Text=Internet Connection
[MeterWebParserImage]
Meter=Image
ImagePath=#@#Images\
ImageName=NoLight.png
X=10
Y=([MeterInternetImage:Y] + [MeterInternetImage:H] + 5)
W=24
H=24
AntiAlias=1
DynamicVariables=1
[MeterWebParserText]
Meter=String
X=8R
Y=4r
FontSize=11
FontColor=150,150,150,255
AntiAlias=1
Text=WebParser Test
[MeterProxyText]
Meter=String
W=210
X=([MeterBack:X] + [MeterBack:W] + 5)
Y=0
FontSize=10
FontColor=255,255,255,255
SolidColor=145,20,22,255
Padding=5,5,5,5
ClipString=2
AntiAlias=1
DynamicVariables=1
Hidden=1
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: WebParser (Fetch Error)
Check if the WebParser plugin can read a local file. Create a simple .txt file, with the following content:
Save this file into a convenient location, with a convenient name.
Then create a very simple skin, with the following code:
Take care to replace in the URL option of the [MeasureFile] measure, the path and name of the file with the appropriate ones.
When refreshed, this skin should return text ABC text, because this is what the WebParser plugin reads from the file. Does it return this string?
Code: Select all
<title>text ABC text</title>
Then create a very simple skin, with the following code:
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
[MeasureFile]
Measure=WebParser
UpdateRate=900
Url=file://d:\MyFile.txt
RegExp=(?siU)<title>(.*)</title>
StringIndex=1
[MeterFile]
Meter=STRING
MeasureName=MeasureFile
X=0
Y=0
Padding=15,5,15,5
FontColor=220,220,220
SolidColor=0,0,0,150
FontSize=8
FontFace=Segoe UI
StringStyle=BOLD
StringAlign=LEFT
AntiAlias=1
Text=%1
When refreshed, this skin should return text ABC text, because this is what the WebParser plugin reads from the file. Does it return this string?
-
- Posts: 6
- Joined: November 26th, 2017, 6:59 pm
Re: WebParser (Fetch Error)
i done it sir.balala wrote: Take care to replace in the URL option of the [MeasureFile] measure, the path and name of the file with the appropriate ones.
When refreshed, this skin should return text ABC text, because this is what the WebParser plugin reads from the file. Does it return this string?
is this ok?
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: WebParser (Fetch Error)
The skin seem to be created as it have to. But does it work?ubenz wrote:is this ok?
-
- Posts: 6
- Joined: November 26th, 2017, 6:59 pm
-
- Developer
- Posts: 22628
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: WebParser (Fetch Error)
The most likely issue is some setting in Internet Explorer, which WebParser uses behind the scenes. Check to be sure that a proxy hasn't somehow gotten set in your Internet Explorer browser. I understand that you probably don't use IE to surf the internet, but that doesn't matter. Check it anyway.