Error with latest
Posted:
Fri Apr 12, 2024 7:33 pm
by vtmikel
Hi-
Since upgrading to 40.98, I'm getting these errors on startup:
- Code: Select all
ValueError: invalid literal for int() with base 10: ''
fingscan Error
Traceback (most recent call last):
File "plugin.py", line 920, in deviceStartComm
if addrOld != self.formatiPforAddress(addrOld).strip(" "):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "plugin.py", line 4701, in formatiPforAddress
if int(digit) < 10: last = "00"
^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''
Re: Error with latest
Posted:
Sun Apr 14, 2024 1:58 am
by kw123
v .99 should catch that error message.
you must have a device that has a blank address field,
the latest version is checking the address field (removing links and checking if its a proper ip number) and hence gets that error.
Now you will get a message with the name of the device that is not properly defined.
this should only happen during startup. and should not impact normal operations
Karl
Re: Error with latest
Posted:
Sun Apr 14, 2024 10:15 am
by vtmikel
Hey thanks-- one more exception to report. This started happening yesterday. I added a new device to my network, which may be the culprit.
- Code: Select all
fingscan Error name:FING-1C:63:49:3B:84:C7-Texas Instruments
Traceback (most recent call last):
File "plugin.py", line 4110, in createDev
address=self.formatiPforAddress(devI["ipNumber"]),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "plugin.py", line 4705, in formatiPforAddress
if int(digit) < 10: last = "00"
^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''
fingscan Error
Traceback (most recent call last):
File "plugin.py", line 4121, in createDev
dev = indigo.devices[theName]
~~~~~~~~~~~~~~^^^^^^^^^
KeyError: 'key name FING-1C:63:49:3B:84:C7-Texas Instruments not found in database'
Cynical Weather Error Weather - Westwood Location ignoring update request within {MIN_REFRESH} minutes of last one
Re: Error with latest
Posted:
Sun Apr 14, 2024 12:00 pm
by kw123
I can catch that error, BUT what is the IP number of the device?
please check v
https://github.com/kw123/fingscan/releases/tag/2022.40.100 not official release.
add some more if statements to catch more exceptions.
i deleted some devices, and added them back, no errors.
Karl
Re: Error with latest
Posted:
Sun Apr 14, 2024 11:47 pm
by kw123
did it create the device and could you send a screen copy of the device states?
I will be out for 2 days, back on wednesday, but i can look at things, but can not d any updates
Karl