Project

General

Profile

Actions

Bug #2563

closed

exception: "marshalled for a different thread" when using COM

Added by Jim Pulokas about 11 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
10/18/2013
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 2.1.0
Show in known bugs:
No
Workaround:

Description

get this message under some circumstances throughout leginon history. see three different forum posts. currently seems to happen with comtypes and when doing GUI type things that interact with the scope or camera.

reason has something to do with multithreaded use of COM. see line in gatan.py related to "COINIT_MULTITHREADED". proabably need similar option with comtypes.

maybe ask Christian about any experience he has had with this.

Actions

Also available in: Atom PDF