IndexError: Index out of range: 0

Hi,
I have one button that calls one script from the global scripting. And there in the Global there are more scripts.
But I am having the following error when this button is pressed:

File "function:runAction", line 31, in runAction
File "module:shared.CONSTANTS.label_Admin", line 571, in getLabelJobParameters
File "module:shared.CONSTANTS.label_Admin", line 653, in updateCountersIPSMode
IndexError: index out of range: 0

What could be causing this IndexError: index out of range: 0? Thanks.

You're trying to access index 0 of an empty list. Without your code, that's all we can tell you.

1 Like