First time here? Check out the FAQ!
1

OSX: Fatal error: Duplicate keys

  • retag add tags

Fatal error: Duplicate keys of type 'DisplayList' were found in a Dictionary. This usually means either that the type violates Hashable's requirements, or that members of such a dictionary were mutated after insertion.

this in a WXPython 4.02 app (wx not upgraded recently) and wx doesn't have a 'DisplayList' class and neither does my app.

started happening shortly after upgrading Wing Pro, but I also upgraded the OS too

this isn't an exception. it gets written to the Debug/IO window and debugging stops OSX Sonoma 14.3.1 (23D60), WING Pro 10.0.1.3 (rev 363662fe5c92)

seems like this is a swift related thing so may not be in wing see: https://forums.developer.apple.com/foru…

jbpence's avatar
21
jbpence
asked 2024-02-19 06:25:00 -0500
edit flag offensive 0 remove flag close merge delete

Comments

doesn't happen other than when wing IDE is debugging.

jbpence's avatar jbpence (2024-02-19 06:26:24 -0500) edit
add a comment see more comments

1 Answer

0

The debugger is probably changing how the program is executed. This can happen, particularly in threaded code. You may want to attach a Swift debugger to it and hopefully see what is inserting the duplicate key (I assume this is possible, but haven't worked with Swift so could be wrong). We'd probably need a reproducible test case in order to look into it ourselves.

Wingware Support's avatar
4k
Wingware Support
answered 2024-02-19 06:50:56 -0500
edit flag offensive 0 remove flag delete link

Comments

thanks looking into it

jbpence's avatar jbpence (2024-02-20 14:48:13 -0500) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer