It is currently December 12th, 2019, 8:26 pm

Text Clock rmskin lua error

Help with creating, editing & fixing problems with skins
User avatar
jsmorley
Developer
Posts: 19864
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Text Clock rmskin lua error

jsmorley » December 3rd, 2019, 11:11 pm

Mor3bane wrote:
December 3rd, 2019, 9:36 pm
This is coming up now:

Code: Select all

Script: TextClock2.lua:77: attempt to concatenate global 'speakTemperature' (a nil value)
I checked the code mine matched yours - also - the wxdata is not returning a null value during this error catch. (afaik).
I'm a bit concerned that you are using TextClock2.lua and what I have is TextClock3.lua...
User avatar
jsmorley
Developer
Posts: 19864
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Text Clock rmskin lua error

jsmorley » December 4th, 2019, 12:51 pm

Here is a full, new version of TextClock4, which makes the adjustments we did for missing weather. I would recommend downloading and installing this, then you can edit those "holy crap, it's freezing!" temperature descriptions in the Lua as you like.

https://www.deviantart.com/jsmorley/art/TextClock4-4-0-822402819
[Metadata]
Name=TextClock4
Author=JSMorley
Version=4.0 - December 4, 2019
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Information=Displays the time with a "minutes before/after hour" text format||i.e "QUARTER AFTER TEN"||Displays the date in text format||Displays the weather in text format||Speaks the weather with the Speech plugin on click
The Speech plugin will be installed in Rainmeter, and the 32bit and 64bit versions of the .dll will be placed in your @Vault folder in Skins\ for your use in your own skins.
User avatar
balala
Rainmeter Sage
Posts: 9258
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Text Clock rmskin lua error

balala » December 4th, 2019, 6:46 pm

Mor3bane wrote:
December 3rd, 2019, 9:36 pm

Code: Select all

Script: TextClock2.lua:77: attempt to concatenate global 'speakTemperature' (a nil value)
I still have the same question as before: what version of the skin are you using? Because TextClock2.lua means you're using the second version, but the posted link leads us to the third version. Your first request was related to TextClock2.lua and TextClock2.ini as well, so...
User avatar
Mor3bane
Posts: 655
Joined: May 7th, 2016, 7:32 am

Re: Text Clock rmskin lua error

Mor3bane » December 5th, 2019, 5:02 am

huh. in my rush i did not even notice a newer version was out.

Knowing that - errors now have ceased.

Thanks heaps jsmorley.
My DevArt Gallery

There are many ways to be different - there is only one way to be yourself