milli0n / rainmeter

Automatically exported from code.google.com/p/rainmeter
0 stars 0 forks source link

Ping Plugin crashes Rainmeter after refresh if offline (no network) #140

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I got 4 pinged IP-adreses 
2.

;==========================================================================
==========
;  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.

If you are reporting a crash bug please include a download link to the
crash dump: http://code.google.com/p/rainmeter/wiki/CrashBugs

Original issue reported on code.google.com by seliva...@gmail.com on 29 Jan 2010 at 10:20

GoogleCodeExporter commented 8 years ago
This should be corrected by r420 if the user is careful not to override the 
default
settings with incorrect ones.

Original comment by jsmor...@gmail.com on 2 Jun 2010 at 5:13

GoogleCodeExporter commented 8 years ago
Possibly fixed in r438.

Original comment by spx268 on 9 Jun 2010 at 9:22