KeyError: key vars not found in dict

CliveS
Posts: 864
Joined: Sun Jan 10, 2016 5:31 am
Location: Medomsley, County Durham, UK

KeyError: key vars not found in dict

Post by CliveS »

Peter,

V1.0.2 Beta

Code: Select all

26 Apr 2019 at 18:12:03
   Variable Device Error           Error in plugin execution CalcDeviceFunc:

Traceback (most recent call last):
  File "plugin.py", line 59, in getDeviceStateList
KeyError: key vars not found in dict

CliveS

Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD

The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
howartp
Posts: 4559
Joined: Thu Jan 09, 2014 4:43 pm
Location: West Yorkshire, UK

Re: KeyError: key vars not found in dict

Post by howartp »

Hi Clive.

That suggests you haven't configured one of your Variable Device devices.

It's looking for the list of variable(s) you've selected when created/edited the device, but if the vars property physically doesn't exist then you can't have saved the device after creation?

Peter
Post Reply

Return to “Variable Devices”