Favorite Traceback of the Day (So Far)

Posted on
Tue Feb 13, 2018 7:05 am
DaveL17 offline
User avatar
Posts: 3584
Joined: Aug 20, 2013

Favorite Traceback of the Day (So Far)

Code: Select all
Traceback (most recent call last):
TypeError: Expecting an object of type list; got an object of type List instead

Posted on
Tue Feb 13, 2018 8:21 am
Colorado4Wheeler offline
User avatar
Posts: 1756
Joined: Jul 20, 2009
Location: Colorado

Re: Favorite Traceback of the Day (So Far)

LOL, I've gotten that "indigo.List() versus Python list" issue myself many times and the first time I got it I also said "huh?". :lol:

My Modest Contributions to Indigo:

Homebridge Buddy | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser

Check Them Out Here


ass#toggle is supported by Indigo. Look it up.

Posted on
Tue Feb 13, 2018 8:27 am
DaveL17 offline
User avatar
Posts: 3584
Joined: Aug 20, 2013

Re: Favorite Traceback of the Day (So Far)

I thought I just needed to capitalize it...


Sent from my iPhone using Tapatalk

Posted on
Tue Feb 13, 2018 8:42 am
Colorado4Wheeler offline
User avatar
Posts: 1756
Joined: Jul 20, 2009
Location: Colorado

Re: Favorite Traceback of the Day (So Far)

You need to un-capitalize it :). I use the indigo.List() and indigo.Dict() for a lot of things but often it's because I want the pretty unicode(myList) output when I'm debugging, they don't play with a lot of the common list and dict functions I use, like JSON dumps and loads (or what you are trying to do with them).

My Modest Contributions to Indigo:

Homebridge Buddy | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser

Check Them Out Here


ass#toggle is supported by Indigo. Look it up.

Posted on
Tue Feb 13, 2018 9:22 am
DaveL17 offline
User avatar
Posts: 3584
Joined: Aug 20, 2013

Re: Favorite Traceback of the Day (So Far)

Colorado4Wheeler wrote:
You need to un-capitalize it :).


That’s what I meant.

Nothing tricky or insurmountable—I just got a kick out of the exception.


Sent from my iPhone using Tapatalk

Posted on
Tue Feb 13, 2018 9:31 am
Colorado4Wheeler offline
User avatar
Posts: 1756
Joined: Jul 20, 2009
Location: Colorado

Re: Favorite Traceback of the Day (So Far)

DaveL17 wrote:
I just got a kick out of the exception.

I've gotten a few messages like that in my Indigo plugin development that make me laugh.
Attachments
python_o_1269231.jpg
python_o_1269231.jpg (29.43 KiB) Viewed 133 times

My Modest Contributions to Indigo:

Homebridge Buddy | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser

Check Them Out Here


ass#toggle is supported by Indigo. Look it up.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests

cron