It is currently September 1st, 2024, 3:00 am

Ping Plugin crashes Rainmeter after refresh if PC is offline

Report bugs with the Rainmeter application and suggest features.
selivandr
Posts: 2
Joined: January 29th, 2010, 10:22 pm

Ping Plugin crashes Rainmeter after refresh if PC is offline

Post by selivandr »

Rainmeter crashes after manual refreshing if there is no Internet or even just Network.

What steps will reproduce the problem?
1. I got 4 pinged IP-adreses
2.

Code: Select all

;==========================================================================
==========
;  Ping
;==========================================================================
==========


[Variables]
border.color=255, 255, 255, 75
Color1=255, 255, 255, 255
Color2=255, 255, 255, 160
Color3=255, 255, 255, 80

Height1=10
Height2=7
Height3=8
Height4=9
Font=Trebuchet MS
Font1=Arial

[Info.txt]
Meter=STRING
X=184
Y=4
StringStyle=NORMAL
FontColor=#Color2#
FontSize=#Height3#
FontFace=#Font#
StringAlign=Left
Text="PING ALL"
AntiAlias=1

;==============================
;Buttons

[buttonReset]
Meter=IMAGE
X=249
Y=1
W=34
H=12
SolidColor=255, 255, 255, 50
RightMouseDownAction=!execute 
["http://login:pwd@192.168.1.1/resetrouter.html"


[ResetText]
Meter=STRING
X=252
Y=0
StringStyle=NORMAL
FontColor=#Color2#
FontSize=#Height2#
FontFace=#Font#
StringAlign=Left
Text="RESET"


[buttonLog]
Meter=IMAGE
X=258
Y=18
W=25
H=12
SolidColor=255, 255, 255, 50
LeftMouseDownAction=!execute ["http://login:pwd@192.168.1.1/logview.cmd"


[ViewLog]
Meter=STRING
X=259
Y=16
StringStyle=NORMAL
FontColor=#Color2#
FontSize=#Height2#
FontFace=#Font#
StringAlign=Left
Text="LOG"



[buttonRefresh]
Meter=IMAGE
X=258
Y=36
W=25
H=12
SolidColor=255, 255, 255, 50
LeftMouseDownAction=!RainmeterRefresh

[Refresh]
Meter=STRING
X=259
Y=34
StringStyle=NORMAL
FontColor=#Color2#
FontSize=#Height2#
FontFace=#Font#
StringAlign=Left
Text="REFR"



; Meters

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

[cara1]
Meter=IMAGE
X=185
Y=15
W=98
H=1
SolidColor=255, 255, 255, 50



;[bigborder]
;Meter=IMAGE
;X=185
;Y=15
;W=98
;H=78
;SolidColor=255, 255, 255, 15

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



[MeasurePing]
Measure=Plugin
Plugin=Plugins\PingPlugin
DestAddress=192.168.1.1
UpdateRate=10
TimeoutValue=99999
Timeout=10000


[MeterPing]
Meter=string
X=185
Y=2r
MeasureName=MeasurePing
Text="D-Link: %1"
FontColor=#Color1#
FontSize=#Height3#
FontFace=#Font#
Antialias=0



[MeasurePing1]
Measure=Plugin
Plugin=Plugins\PingPlugin
DestAddress=82.209.240.241
UpdateRate=10
TimeoutValue=99999

[MeterPing1]
Meter=STRING
X=185
Y=15r
MeasureName=MeasurePing1
Text="PrDNS: %1"
FontColor=#Color1#
FontSize=#Height3#
FontFace=#Font#
Antialias=0

[MeasurePing2]
Measure=Plugin
Plugin=Plugins\PingPlugin
DestAddress=82.209.243.241
UpdateRate=10
TimeoutValue=99999

[MeterPing2]
Meter=STRING
X=185
Y=15r
MeasureName=MeasurePing2
Text="ScDNS: %1"
FontColor=#Color1#
FontSize=#Height3#
FontFace=#Font#
Antialias=0


[MeasurePing3]
Measure=Plugin
Plugin=Plugins\PingPlugin
DestAddress=86.57.250.18
UpdateRate=10
TimeoutValue=99999

[MeterPing3]
Meter=STRING
X=185
Y=15r
MeasureName=MeasurePing3
Text="tut.by: %1"
FontColor=#Color1#
FontSize=#Height3#
FontFace=#Font#
Antialias=0
3.

What is the expected output? What do you see instead?
expected timeout value(even if Timeout= is in code)

What version of the product are you using? On what operating system?
Latest. Win7 64

Please provide any additional information below. If the problem is a
related to some config option attaching a example is always a good idea.
Try to keep it as simple as possible and make sure that it is a fully
working Rainmeter config (i.e. it includes all graphics too).

DEBUG: (00:02:53.426) Refreshing (Name: "HUD.Vision\White\PingPrDNS" Ini:
"PingPrimaryByflyDNS.ini")
DEBUG: (00:02:53.426) PingPlugin: Thread still running -> Terminate.
DEBUG: (00:02:53.426) PingPlugin: Thread still running -> Terminate.