Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
kalia wrote:Well since there was no reply to my question, I will just share my work around solution if anyone is interested. Convert Fahrenheit to Celsius by using the following equation:
(Fahrenheit - 32 ) * 5/9
Hi Friend i have made this
same.png
But i'm getting error
Error in Action: "Speech: Speak: {"and "+ str((int(eg.result)-32)*5/9) + "degrees Celcius"}"
Traceback (most recent call last) (1669):
File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionBase.py", line 170, in CallWrapper
return self(*args)
File "C:\Program Files (x86)\EventGhost\plugins\Speech\__init__.py", line 193, in __call__
voiceText = eg.ParseString(voiceText, filterFunc)
File "C:\Program Files (x86)\EventGhost\eg\Utils.py", line 204, in ParseString
res = eval(word, {}, eg.globals.__dict__)
File "<string>", line 1, in <module>
TypeError: int() argument must be a string or a number, not 'NoneType'
thahim,
I don't think the Weather Plugin works anymore. You should try the SunTracker plugin by krambriw. See here for more information on SunTracker weather (viewtopic.php?f=9&t=5902).
kalia wrote:Well since there was no reply to my question, I will just share my work around solution if anyone is interested. Convert Fahrenheit to Celsius by using the following equation:
(Fahrenheit - 32 ) * 5/9
Hi Friend i have made this
same.png
But i'm getting error
Error in Action: "Speech: Speak: {"and "+ str((int(eg.result)-32)*5/9) + "degrees Celcius"}"
Traceback (most recent call last) (1669):
File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionBase.py", line 170, in CallWrapper
return self(*args)
File "C:\Program Files (x86)\EventGhost\plugins\Speech\__init__.py", line 193, in __call__
voiceText = eg.ParseString(voiceText, filterFunc)
File "C:\Program Files (x86)\EventGhost\eg\Utils.py", line 204, in ParseString
res = eval(word, {}, eg.globals.__dict__)
File "<string>", line 1, in <module>
TypeError: int() argument must be a string or a number, not 'NoneType'
thahim,
I don't think the Weather Plugin works anymore. You should try the SunTracker plugin by krambriw. See here for more information on SunTracker weather (viewtopic.php?f=9&t=5902).
kalia
Dear Friend, i have tried that too, but i don't know how to get it to work.