It is currently April 27th, 2024, 7:03 am

Bug with sleep mode (rainmeter 1.0)

Report bugs with the Rainmeter application and suggest features.
User avatar
molk
Posts: 9
Joined: August 6th, 2009, 6:56 am

Re: Bug with sleep mode (rainmeter 1.0)

Post by molk »

Rainy wrote:If you can make it to crash again could you dump the crashed process to file and upload it to some place from where I can download it?
Hi Rainy. I am disturbed by this problem for weeks.Justnow i dumped the file when it crashed.

After a long time of trying , i have uploaded the file to googlecode.Following is the URL
http://code.google.com/p/dmpfileofrainmeter/downloads/list

BTW I'm using Vista Home Basic 32bit and Rainmeter is the latest version(1.1 r181 beta), but this bug not only exist in this version but also the Previous versions(from 0.14 on).

Many thanks for your attention!
Last edited by molk on August 13th, 2009, 5:18 pm, edited 2 times in total.
Rainmeter Fans:)
User avatar
Rainy
Developer
Posts: 42
Joined: April 13th, 2009, 8:20 am

Re: Bug with sleep mode (rainmeter 1.0)

Post by Rainy »

Can you give a direct download link? I have no idea how to download anything from that site.
User avatar
molk
Posts: 9
Joined: August 6th, 2009, 6:56 am

Re: Bug with sleep mode (rainmeter 1.0)

Post by molk »

User avatar
molk
Posts: 9
Joined: August 6th, 2009, 6:56 am

Re: Bug with sleep mode (rainmeter 1.0)

Post by molk »

Rainy wrote:Can you give a direct download link? I have no idea how to download anything from that site.
http://code.google.com/p/dmpfileofrainmeter/downloads/list
DOES this URL work?
Rainmeter Fans:)
User avatar
Rainy
Developer
Posts: 42
Joined: April 13th, 2009, 8:20 am

Re: Bug with sleep mode (rainmeter 1.0)

Post by Rainy »

I got it now. The crash happens in the event loop when the mouse timer is handled. Unfortunately that doesn't tell anything about the reason why it crashes. Are you able to reproduce this always when you wake the computer up from sleep? Does it happen only with certain skins or any of them? Does it happen if you don't have any skins enabled?
ymir
Posts: 2
Joined: August 14th, 2009, 8:48 pm

Re: Bug with sleep mode (rainmeter 1.0)

Post by ymir »

Rainy wrote:I got it now. The crash happens in the event loop when the mouse timer is handled. Unfortunately that doesn't tell anything about the reason why it crashes. Are you able to reproduce this always when you wake the computer up from sleep? Does it happen only with certain skins or any of them? Does it happen if you don't have any skins enabled?
I've noticed that it only crashes for me (when returning from sleep/locked screen) if iTunes was left running in my system tray. I've only used the Enigma skin, so I'm not sure if it's skin-dependent or not.
User avatar
JamesAC
Developer
Posts: 318
Joined: July 14th, 2009, 5:57 pm

Re: Bug with sleep mode (rainmeter 1.0)

Post by JamesAC »

I'm having a similar problem but only when waking from hibernation

sleep mode works fine but when my laptop hibernates, rainmeter dies silently on the wake up
+++ Divide By Cucumber Error. Please Reinstall Universe And Reboot +++
Quis custodiet ipsos custodes?
KiRe
Posts: 35
Joined: July 25th, 2009, 5:49 am
Location: USA

Re: Bug with sleep mode (rainmeter 1.0)

Post by KiRe »

i'm using a personalized skin (based off the enigma itunes) and it basically happens every time that i leave that skin on when i put my laptop to sleep before i go to bed. If i am recalling correctly, it doesn't crash when the computer is asleep for a short(er) periods of time but I don't know at what point it starts crashing tho.

EDIT: I've mentioned all this before but never explicitly wrote it out in one place so here goes...

When rainmeter is running without the itunes skin, it does not seem to crash. I say this because i haven't tried every possibility and i simply can't remember =/ When rainmeter is running my itunes skin, regardless of what is running in the background, it crashes. Except, I don't know if it crashes if itunes is not running in the background. Now, keeping all that in mind...

When I bring the computer out of sleep when i wake up from a night's sleep, it crashes. If it has been asleep for a a few hours or less, doesn't crash. But i don't know when the cut off is for it crashing.

Now the following is me speculating:
Rainy wrote:I got it now. The crash happens in the event loop when the mouse timer is handled. Unfortunately that doesn't tell anything about the reason why it crashes.
I don't use any thing that depends on how long the mouse has been at a certain location, both in the itunes skin or in other skins. So if i understand correctly, the crash is caused by a mouse timer which is called by the itunes plugin (except there is no mouse timer called in the first place) add in the fact that, at least to me, this is a time dependent issue so the "problem" compounds on itself until it causes rainmeter to crash... so isn't that where the problem stems from? It is a matter of figuring out where the itunes calls a mouse timer?

Problem with my reasoning would be... where does the sleep/hibernate come into this?
^ rainmeter noob.
User avatar
molk
Posts: 9
Joined: August 6th, 2009, 6:56 am

Re: Bug with sleep mode (rainmeter 1.0)

Post by molk »

Rainy wrote:I got it now. The crash happens in the event loop when the mouse timer is handled. Unfortunately that doesn't tell anything about the reason why it crashes. Are you able to reproduce this always when you wake the computer up from sleep? Does it happen only with certain skins or any of them? Does it happen if you don't have any skins enabled?
I'm sorry to delay two days.

After testing as your instructions,I think the crash may be caused by conflicts between a weather skin and Gmail skin.At the very beginning, i turned off both of them and crash didnt happen when return from sleep;Then i turned off either one of them and things went well when return from sleep.

Following is the ini file of them

Code: Select all

ToxxWeather


By request from Karmat111, here is ToxxWeather
for the first time I didn't write the code by myself. This is a "very" modified version of this weather skin, http://jetpac.deviantart.com/art/Weather-37639007
So a big thanks to these guy!!!
The Icons are made by LavAna,(thank you for sharing) http://lavana.deviantart.com/art/Flat-Weather-Icons-32021664 

All cred to these creators!!!



[Rainmeter]
Author=moxamax and albinozz
Update=3500

[Variables]
;Please replace your location code of Weather.com below, e.g: Taipei is TWXX0021.
;You can check it on Weather.com or Google.
;And you may also delete "&unit=m" if you prefer the Fahrenheit Scale.

URL=http://xoap.weather.com/weather/local/chxx0008?cc=*&unit=m&dayf=6&prod=xoap&link=xoap&par=1003666583&key=4128909340a9b2fc&unit=s&hbhf=12

Font=Copperplate Gothic bold

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

[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=3600
Url=#URL#
RegExp="(?siU)<weather ver="(.*)">(.*)<tmp>(.*)</tmp>(.*)<t>(.*)</t>(.*)<icon>(.*)</icon>(.*)<day d="1" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="2" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="3" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)"
StringIndex=1
IfAboveValue=1
IfAboveAction=!execute [!RainmeterHideMeter MeterIconNA][!RainmeterShowMeter MeterIcon]
;Debug=1
;--------------------------------

[MeasureWeatherTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=3

[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=5

[MeasureWeatherIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=7
;-------------------------

;tomorrow's weather description, id=18
;tomorrow's day, id=9
;tomorrow's date, id=10, you can redefine the StringIndex value below with the id#
[MeasureWeatherDate1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=10

;tomorrow's Hi-temp, id=12
;tomorrow's Lo-temp, id=14, you can redefine the StringIndex value below with the id#
[MeasureWeatherTemp1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=12

;tomorrow's weather icon, id=16
[MeasureWeatherIcon1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=16
;-------------------------

;D+2, weather description, id=29
;D+2, day of week, id=20
;D+2, date, id=21
[MeasureWeatherDate2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=21

;D+2, Hi-temp, id=23
;D+2, Lo-temp, id=25
[MeasureWeatherTemp2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=23

;D+2, weather icon, id=27
[MeasureWeatherIcon2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=27

;-------------------------

;D+3, weather description, id=40
;D+3, day of week, id=31
;D+3, date, id=32
[MeasureWeatherDate3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=32

;D+3, Hi-temp, id=34
;D+3, Lo-temp, id=36
[MeasureWeatherTemp3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=34

;D+3, weather icon, id=38
[MeasureWeatherIcon3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=38

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

[MeterTemp]
MeasureName=MeasureWeatherTemp
Meter=STRING
X=50
Y=58
FontColor=255, 255, 255, 240
StringStyle=NORMAL
FontSize=13
StringAlign=CENTER
StringStyle=BOLD
FontFace=#Font#
Antialias=1
Postfix=°c

[MeterDesc]
MeasureName=MeasureWeatherDesc
Meter=STRING
X=160
Y=0
FontColor=255, 255, 255, 240
FontSize=10
StringAlign=CENTER
StringStyle=BOLD
FontFace=#Font#
Antialias=1

[MeterIconNA]
ImageName=na.png
Meter=IMAGE
X=5
Y=1

[MeterIcon]
MeasureName=MeasureWeatherIcon
Meter=IMAGE
X=32
Y=22
H=37
W=37
Hidden=1
;------------------------- offset Y: +40

[MeterTemp1]
MeasureName=MeasureWeatherTemp1
Meter=STRING
X=120
Y=58
FontColor=255, 255, 255, 160
StringStyle=NORMAL
FontSize=10
StringAlign=CENTER
StringStyle=BOLD
FontFace=#Font#
Antialias=1
Postfix=°c

[MeterDate1]
MeasureName=MeasureWeatherDate1
Meter=STRING
X=120
Y=20
FontColor=255, 255, 255, 160
FontSize=7
StringAlign=CENTER
StringStyle=BOLD
FontFace=#Font#
Antialias=1

[MeterIcon1]
MeasureName=MeasureWeatherIcon1
Meter=IMAGE
X=105
Y=32
H=26
W=26
;------------------------- offset Y: +40

[MeterTemp2]
MeasureName=MeasureWeatherTemp2
Meter=STRING
X=190
Y=58
FontColor=255, 255, 255, 160
StringStyle=NORMAL
FontSize=10
StringAlign=CENTER
StringStyle=BOLD
FontFace=#Font#
Antialias=1
Postfix=°c

[MeterDate2]
MeasureName=MeasureWeatherDate2
Meter=STRING
X=190
Y=20
FontColor=255, 255, 255, 160
FontSize=7
StringAlign=CENTER
StringStyle=BOLD
FontFace=#Font#
Antialias=1

[MeterIcon2]
MeasureName=MeasureWeatherIcon2
Meter=IMAGE
X=175
Y=32
H=26
W=26
;------------------------- offset Y: +40

[MeterTemp3]
MeasureName=MeasureWeatherTemp3
Meter=STRING
X=260
Y=58
FontColor=255, 255, 255, 160
StringStyle=NORMAL
FontSize=10
StringAlign=CENTER
StringStyle=BOLD
FontFace=#Font#
Antialias=1
Postfix=°c

[MeterDate3]
MeasureName=MeasureWeatherDate3
Meter=STRING
X=260
Y=20
FontColor=255, 255, 255, 160
FontSize=7
StringAlign=CENTER
StringStyle=BOLD
FontFace=#Font#
Antialias=1

[MeterIcon3]
MeasureName=MeasureWeatherIcon3
Meter=IMAGE
X=245
Y=35
H=26
W=26
;----------------------------

[Back]
Meter=IMAGE
SolidColor=0, 0, 0, 1
X=0
Y=1
W=320
H=110

[Line1]
Meter=IMAGE
ImageName=line.png
X=0
Y=15
W=320
H=3
AntiAlias=1

[Line2]
Meter=IMAGE
ImageName=line.png
X=0
Y=75
W=320
H=3
AntiAlias=1

[Minimize]
Meter=STRING
X=110
Y=80
FontColor=255, 255, 255, 240
FontSize=8
FontFace=#Font#
StringAlign=CENTER
Prefix="Minimize"
AntiAlias=1
Hidden=0
MouseOverAction=!Execute [!RainmeterShowMeter MouseOverMinimize][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter MouseOverMinimize][!RainmeterRedraw]
LeftMouseDownAction=!Execute [!RainmeterHideMeter MeterTemp1][!RainmeterHideMeter MeterDate1][!RainmeterHideMeter MeterIcon1][!RainmeterHideMeter MeterTemp2][!RainmeterHideMeter MeterDate2][!RainmeterHideMeter MeterIcon2][!RainmeterHideMeter MeterTemp3][!RainmeterHideMeter MeterDate3][!RainmeterHideMeter MeterIcon3][!RainmeterHideMeter Line2][!RainmeterHideMeter Refresh][!RainmeterMoveMeter 120 22 MeterIcon][!RainmeterMoveMeter 175 32 MeterTemp][!RainmeterShowMeter Maximize][!RainmeterHideMeter MouseOverMinimize][!RainmeterHideMeter Minimize][!RainmeterRedraw]
LeftMouseUpAction=!Execute [!RainmeterRedraw]

[MouseOverMinimize]
Meter=IMAGE
ImageName=MouseOver.png
X=78
Y=75
W=65
H=20
AntiAlias=1
Hidden=1

[Maximize]
Meter=STRING
X=160
Y=60
FontColor=255, 255, 255, 240
FontSize=8
FontFace=#Font#
StringAlign=CENTER
Prefix="Maximize"
AntiAlias=1
Hidden=1
MouseOverAction=!Execute [!RainmeterShowMeter MouseOverMaximize][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter MouseOverMaximize][!RainmeterRedraw]
LeftMouseDownAction=!Execute [!RainmeterShowMeter MeterTemp1][!RainmeterShowMeter MeterDate1][!RainmeterShowMeter MeterIcon1][!RainmeterShowMeter MeterTemp2][!RainmeterShowMeter MeterDate2][!RainmeterShowMeter MeterIcon2][!RainmeterShowMeter MeterTemp3][!RainmeterShowMeter MeterDate3][!RainmeterShowMeter MeterIcon3][!RainmeterShowMeter Line2][!RainmeterShowMeter Refresh][!RainmeterMoveMeter 32 22 MeterIcon][!RainmeterMoveMeter 50 58 MeterTemp][!RainmeterShowMeter Minimize][!RainmeterHideMeter MouseOverMaximize][!RainmeterHideMeter Maximize][!RainmeterRedraw]
LeftMouseUpAction=!Execute [!RainmeterRedraw]

[MouseOverMaximize]
Meter=IMAGE
ImageName=MouseOver.png
X=129
Y=55
W=65
H=20
AntiAlias=1
Hidden=1

[Refresh]
Meter=STRING
X=210
Y=80
FontColor=255, 255, 255, 240
FontSize=8
FontFace=#Font#
StringAlign=CENTER
Prefix="Refresh"
AntiAlias=1
Hidden=0
MouseOverAction=!Execute [!RainmeterShowMeter MouseOverRefresh][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter MouseOverRefresh][!RainmeterRedraw]
LeftMouseDownAction=!Execute [!RainmeterRefresh][!RainmeterRedraw]
LeftMouseUpAction=!Execute [!RainmeterRedraw]

[MouseOverRefresh]
Meter=IMAGE
ImageName=MouseOver.png
X=180
Y=75
W=60
H=20
AntiAlias=1
Hidden=1


Code: Select all

[Rainmeter]

[Variables]
;*********MODIFY THE FOLLOWING LINE*********
Url=https://molkchen:XXXXXX@gmail.google.com/gmail/feed/atom 
;*******************************************

FontName=HandelGotD
FontSize=8
White=255, 255, 255, 200
White1=255, 255, 255, 150

update.Spd=600
Substitute="&":"&",""":"","&Quot;":"","<br>":"","![CDATA[":"","]]":"","...":"","<":"",">":"","/PRE>":"","PRE>":"","<":"","Gmail - Inbox":"","'":"'"

ToggleLoading=[!RainmeterHideMeter LoadingMessage][!RainmeterShowMeter MailMessage]




;===========================================================================
; Measures
;===========================================================================

[RSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=#Url#
RegExp="(?siU)<title>(.+)</title>(.+)<entry(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>(.+)<title>(.+)</title>(.+)<name>(.+)</name>"
UpdateRate=#update.Spd#
StringIndex=1
Substitute=#Substitute#
FinishAction=!execute #ToggleLoading#[!RainmeterRedraw]
Debug=1

[MeasureMailCount]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=#Url#
RegExp="(?siU)<fullcount>(.*)</fullcount>"
StringIndex=2
FinishAction=!Execute [!RainmeterRedraw]

[MeasureCount]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureMailCount]
StringIndex=1
UpdateRate=140



;===========================================================================
; Meters
;===========================================================================
[MeterMailBack]
Meter=IMAGE
X=0
Y=0
W=230
H=40
ImageName=mail_back.png



[MeterMailIcon]
Meter=IMAGE
X=2
Y=3
W=40
H=35
ImageName=mail_icon.png
RightMouseDownAction=!Execute ["http://mail.google.com/mail/"][!RainmeterRefresh]
LeftMouseDownAction=!Execute [!RainmeterRefresh]
[MeterTitle]
Meter=STRING
MeasureName=MeasureCount
X=75
Y=9
W=100
H=20
FontColor=#White#
StringStyle=BOLD
StringAlign=RIGHT
FontSize=14
FontFace=#FontName#
AntiAlias=1
ClipString=1

[LoadingMessage]
Meter=STRING
MeasureName=RSS
Prefix="loading..."
X=60
Y=13
W=170
H=20
FontColor=#White#
StringStyle=BOLD
FontSize=#FontSize#
FontFace=#FontName#
AntiAlias=1
ClipString=1

[MailMessage]
Meter=STRING
MeasureName=RSS
Prefix="New Messages For MolkChen@Gmail.Com"
X=90
Y=9
W=130
H=25
FontColor=#White#
StringStyle=BOLD
FontSize=#FontSize#
FontFace=#FontName#
AntiAlias=1
ClipString=1
Hidden=1

Rainmeter Fans:)
User avatar
molk
Posts: 9
Joined: August 6th, 2009, 6:56 am

Re: Bug with sleep mode (rainmeter 1.0)

Post by molk »

Rainy wrote:I got it now. The crash happens in the event loop when the mouse timer is handled. Unfortunately that doesn't tell anything about the reason why it crashes. Are you able to reproduce this always when you wake the computer up from sleep? Does it happen only with certain skins or any of them? Does it happen if you don't have any skins enabled?
I find a fact that if you turn off any skin ,things went well no matter whether you recovered the skin.It means if i turn off the gmail skin and recover it at once then no crash will happen when it is awake no matter whether i have the weather skin work.
Rainmeter Fans:)