rs.PopupMenu stopped working here

Running this:

import rhinoscriptsyntax as rs


Message: Object reference not set to an instance of an object.

line 1210, in PopupMenu, “C:\Users\heynick\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\”
line 3, in , “C:\Users\heynick\AppData\Local\Temp\”

Nothing else seems to be affected so far, all my other scripts not involving PopupMenu seem to work.
(6.6.18156.11421, 05-06-18)
(didn’t get last auto-update either…)
Restart of machine and Rhino did not help…

Hi Mitch,

This was fixed in the code a few days ago:

In the meantime you need to add the modes parameter:

result=rs.PopupMenu(my_list, modes=[0])

No permissions to view…

Oops. Should be able to view it now.

OK, appears to have been fixed in (6.6.18163.7531, 12-06-18), thanks!