It is currently May 7th, 2024, 9:51 pm

WebParser (1641) Unknown error (ErrorCode=12002) Win2003R2

Get help with creating, editing & fixing problems with skins
d4rk0n3
Posts: 3
Joined: February 14th, 2011, 10:29 pm

WebParser (1641) Unknown error (ErrorCode=12002) Win2003R2

Post by d4rk0n3 »

Hi,

As topic states, i have issues with the WebParser and all connectivity from it on my server running Windows 2003 R2.

Here's some datalog from the weather trying to update:

Code: Select all

NOTICE: (00:14:35.719) Refreshing skin "Gnometer\Weather\Forecast 5-day.ini"
DEBUG: (00:14:35.859) WebParser: Fetching URL: http://xml.weather.com/weather/local/SWXX0031?cc=*&unit=m&dayf=5
DEBUG: (00:19:35.312) WebParser (1641) Unknown error (ErrorCode=12002)
DEBUG: (00:19:35.578) WebParser (1641) Unknown error (ErrorCode=12002)
DEBUG: (00:19:35.859) WebParser (1641) Unknown error (ErrorCode=12002)
I'm trying to figure out why it won't work, it's not an firewall issue as my Windows XP machine which is running behind the same firewall has no issues. Also i get the same error trying to connect the Geometer skin to Utorrent which uses a local connection (127.0.0.1) which proves even more it's not a firewall issue (no software firewall or antivirus installed).

My own guess is that the TCP/IP stack of Windows 2003 R2 is so different from the usual winxp/7 ones so that it might render rainmeter incompatible with this OS, however i have no way to test it.

Anyway, your help would be appreciated.
d4rk0n3
Posts: 3
Joined: February 14th, 2011, 10:29 pm

Re: WebParser (1641) Unknown error (ErrorCode=12002) Win2003

Post by d4rk0n3 »

Just tested rainmeter on a clean build of windows 2003 and fetching from internet worked.

My guess is that some of the applications i use are clashing with rainmeter, i use FTP, BNC, APACHE, MYSQL, SHOUTCAST, TORRENT etc on this server, is there any particular ports needed for webparser to do its job properly?

Thanks guys.
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: WebParser (1641) Unknown error (ErrorCode=12002) Win2003

Post by jsmorley »

Not that I know of. That error code of 12002 is a "timeout error" in the WinAPI call to the network. Sure there wasn't a firewall or proxy issue with the other Win2003 setup? WebParser cannot use a proxy that requires authentication.
lanceb
Posts: 7
Joined: April 2nd, 2011, 4:38 pm

Re: WebParser (1641) Unknown error (ErrorCode=12002) Win2003

Post by lanceb »

Just started to get that too with my gnometer utorrent skin and for my ventrilo

This is the uTorrent4.ini i have, ive edited the original so it showed the amount downloaded in % and so it suit my setup better, all worked fine untill i restarted my pc this morning.
[Rainmeter]
Author=poiru
AppVersion=1002000
Update=5
;MouseActionCursor=0
;MiddleMouseDownAction=!RainmeterDeactivateConfig
BackgroundMode=1

[Metadata]
Name=uTorrent
Description=Shows open torrents in uTorrent.
Instructions=
Version=1.3.0
License=Creative Commons BY-NC-SA 3.0

[Variables]
skin.Style=Horizontal
GET=(?(?=.*\[\").*\[\".*\",.*,\"(.*)\",.*,(.*),)
@Include=..\SETTINGS\Variables.inc
skin.Width=#width.Torrent#
fontName=Arial
textSize=9
textSize2=8
textSize3=10
colorBar=21,0,239,255
colorText=255,255,255,205
uTorrent=C:\uTorrent\uTorrent.exe

; MEASURES

[mTorrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=5
Url=http://#utorrent.User#:#utorrent.Pass#@127.0.0.1:8080/gui/?list=1
RegExp="(?siU),"torrents":.*#GET##GET##GET##GET#"

;=============================================

[mItem1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[mTorrent]
StringIndex=1

[mItemDL1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[mTorrent]
StringIndex=2
;MaxValue=1000
MaxValue=100

;=============================================

[mItem2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[mTorrent]
StringIndex=3

[mItemDL2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[mTorrent]
StringIndex=4
;MaxValue=1000
MaxValue=100

;=============================================

[mItem3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[mTorrent]
StringIndex=5

[mItemDL3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[mTorrent]
StringIndex=6
;MaxValue=1000
MaxValue=100

;=============================================

[mItem4]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[mTorrent]
StringIndex=7

[mItemDL4]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[mTorrent]
StringIndex=8
;MaxValue=1000
MaxValue=100

; STYLES

@Include2=#ROOTCONFIGPATH#SETTINGS\Style#skin.Style#.inc

[sPopup]
Hidden=0

[sTextL]
Hidden=1

[sSeperator]
Hidden=1

[styleTitle]
StringAlign=LEFT
StringCase=NONE
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,50
FontColor=#colorText#
FontFace=#fontName#
FontSize=#textSize3#
AntiAlias=1
ClipString=0

[styleSubtitle]
StringAlign=LEFT
StringCase=NONE
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,40
FontColor=#color.Highlight#
FontFace=#fontName#
FontSize=#textSize2#
AntiAlias=1
ClipString=0

[styleLeftText]
StringAlign=LEFT
; Meters using styleLeftText will be left-aligned.
StringCase=NONE
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,20
FontColor=#colorText#
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1
ClipString=0

[styleRightText]
StringAlign=RIGHT
StringCase=NONE
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,20
FontColor=#colorText#
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1
ClipString=1

[styleBar]
BarColor=#colorBar#
BarOrientation=HORIZONTAL
SolidColor=255,255,255,30

; METERS

[Line]
Meter=IMAGE
MeterStyle=sLine

[Icon]
Meter=IMAGE
MeterStyle=sIcon
ImageName=uTorrent.png
ToolTipText="run uTorrent"
LeftMouseDownAction=!Execute ["#uTorrent#"]

[Title]
Meter=STRING
MeterStyle=styleTitle
X=35
W=75
Text="Torrents"

[Subtitle]
Meter=STRING
MeterStyle=styleSubtitle
X=35
W=75
Y=20
Text="µTorrent"

[Popup]
Meter=IMAGE
MeterStyle=sPopup
H=((#h.Other#*4)+25)

;=============================================

[Item1]
Meter=STRING
MeterStyle=styleLeftText
MeasureName2=mItem1
MeasureName=mItemDL1
X=10
Y=40
W=260
H=14
text="%2"

[metermItemDL1]
Meter=STRING
MeterStyle=styleRightText
MeasureName=mItemDL1
X=305
Y=0r
W=305
H=14
Text="%1%"
NumOfDecimals=1

[meterBarmItemDL1]
Meter=BAR
MeterStyle=styleBar
MeasureName=mItemDL1
X=10
Y=52
W=300
H=1

;=============================================

[Item2]
Meter=STRING
MeterStyle=styleLeftText
MeasureName2=mItem2
MeasureName=mItemDL2
X=10
Y=60
W=260
H=14
text="%2"

[metermItemDL2]
Meter=STRING
MeterStyle=styleRightText
MeasureName=mItemDL2
X=305
Y=0r
W=305
H=14
Text="%1%"
NumOfDecimals=1

[meterBarmItemDL2]
Meter=BAR
MeterStyle=styleBar
MeasureName=mItemDL2
X=10
Y=72
W=300
H=1

;=============================================

[Item3]
Meter=STRING
MeterStyle=styleLeftText
MeasureName2=mItem3
MeasureName=mItemDL3
X=10
Y=80
W=260
H=14
text="%2"

[metermItemDL3]
Meter=STRING
MeterStyle=styleRightText
MeasureName=mItemDL3
X=305
Y=0r
W=305
H=14
Text="%1%"
NumOfDecimals=1

[meterBarmItemDL3]
Meter=BAR
MeterStyle=styleBar
MeasureName=mItemDL3
X=10
Y=92
W=300
H=1

;=============================================

[Item4]
Meter=STRING
MeterStyle=styleLeftText
MeasureName2=mItem4
MeasureName=mItemDL4
X=10
Y=100
W=260
H=14
text="%2"

[metermItemDL4]
Meter=STRING
MeterStyle=styleRightText
MeasureName=mItemDL4
X=305
Y=0r
W=305
H=14
Text="%1%"
NumOfDecimals=1

[meterBarmItemDL4]
Meter=BAR
MeterStyle=styleBar
MeasureName=mItemDL4
X=10
Y=112
W=300
H=1

;=============================================

[Gap]
Meter=IMAGE
MeterStyle=GapStyle

;=============================================
utorrent: skin stoped working cause of this

DEBUG: (00:31:11.762) WebParser (1641) Unknown error (ErrorCode=12002)
DEBUG: (00:31:11.840) WebParser: Fetching URL: http://user:pass0@127.0.0.1:8080/gui/?list=1
DEBUG: (00:31:12.636) WebParser: Fetching URL: http://localhost:8080/api?mode=queue&start=START&limit=LIMIT&output=xml&apikey=myapi_code
DEBUG: (00:31:12.636) WebParser: Finished URL: http://localhost:8080/api?mode=queue&start=START&limit=LIMIT&output=xml&apikey=myapi_code
DEBUG: (00:31:12.636) WebParser: [Source] Matching error! (-1)

ventrilo: but this one still works even with this spam in the log

DEBUG: (00:43:07.323) WebParser: Finished URL: http://ventrilo.com/status.php?hostname=ip&port=port
DEBUG: (00:43:07.323) WebParser: [MeasureItem7] Not enough substrings!
DEBUG: (00:43:07.323) WebParser: [MeasureItem8] Not enough substrings!
DEBUG: (00:43:07.323) WebParser: [MeasureItem9] Not enough substrings!
DEBUG: (00:43:07.323) WebParser: [MeasureItem10] Not enough substrings!
DEBUG: (00:43:07.323) WebParser: [MeasureItem11] Not enough substrings!
DEBUG: (00:43:07.323) WebParser: [MeasureItem12] Not enough substrings!
DEBUG: (00:43:07.323) WebParser: [MeasureItem13] Not enough substrings!
DEBUG: (00:43:07.323) WebParser: [MeasureItem14] Not enough substrings!
DEBUG: (00:43:07.323) WebParser: [MeasureItem15] Not enough substrings!
DEBUG: (00:43:07.323) WebParser: [MeasureItem16] Not enough substrings!
DEBUG: (00:43:07.323) WebParser: [MeasureItem17] Not enough substrings!
DEBUG: (00:43:07.323) WebParser: [MeasureItem18] Not enough substrings!
DEBUG: (00:43:07.323) WebParser: [MeasureItem19] Not enough substrings!
DEBUG: (00:43:07.323) WebParser: [MeasureItem20] Not enough substrings!
DEBUG: (00:43:07.323) WebParser: [MeasureMore] Not enough substrings!

Have full control permissions to the Rainmeter's folder for the Users to.
Anyone have any idea?
User avatar
BrianHeston
Posts: 26
Joined: September 4th, 2009, 1:52 am

Re: WebParser (1641) Unknown error (ErrorCode=12002) Win2003

Post by BrianHeston »

I'm getting the same thing all of the sudden.

I have a skin that pulls the status indicator (OK/Problem/Failed) and FAP usage from my HughesNet modem. It's really handy to be able to simply look at Rainmeter and see my internet connection status rather than having to go to the modem status page all the time.

But approximately two weeks ago, it just quit working with this same error. I haven't found a solution yet. :(

I'm running on WinXP Pro SP3, Rainmeter 2.0.0 rev 475 (32-bit)

I'd love to find the answer to this!

Here's the relevant code:

Code: Select all

[MeasureImage]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=30
Url=http://192.168.0.1/status/status_bar.html
RegExp="(?siU)<img src=(.*) border=0>"
StringIndex=1
Download=1
Debug=1

[MeasureFAP]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=30
Url=http://192.168.0.1/fap_meter/
RegExp="(?siU)green</td><td align=center><div class=text>(.*)%"
StringIndex=1
Debug=1

[HugheNetImage]
Meter=IMAGE
MeasureName=MeasureImage
X=2
Y=2
H=15
W=15
LeftMouseDownAction=http://192.168.0.1/reset/

[HugheNetImageMask]
Meter=IMAGE
ImageName=mask.gif
X=r
Y=r
H=15
W=15

[HughesNetFAPStatus]
Meter=STRING
MeterStyle=Style
StringAlign=Left
MeasureName=MeasureFAP
X=20r
Y=r
H=12
W=25
LeftMouseDownAction=http://192.168.0.1/fap_meter/
Text=%1 %