dymo-connect-framework icon indicating copy to clipboard operation
dymo-connect-framework copied to clipboard

PrintLabel leads to `The object is owned by another thread: Bad request`

Open micha-1987 opened this issue 2 years ago • 1 comments

Hello,

I am trying to run the sample app PreviewAndPrintLabel. After starting it works properly. So it recognizes the connected printers and it renders the labels. But when clicking on the print button (triggering the printLabel func) the framework tells me. The calling thread cannot access this object because the object is owned by another thread.: Bad Request

Only the printLabel request is running into that error at ajaxSync function. var ret = ajaxSync(path, params, method); Can it be that it is somehow occupied by the Dymo Connect Software or by any other service running?

I already tried the async print function but having the same result.

Any further ideas to overcome this issue? Many thanks!

micha-1987 avatar Jul 05 '23 14:07 micha-1987

Hi, I'm facing the same issue. Did you find a solution to this problem? It would help a lot :D

BjornLenoir avatar Oct 07 '24 11:10 BjornLenoir

This has come up again.

It appears to be caused by their recent update. If we update existing software, this problem will start. It goes away if we uninstall it entirely and reinstall the latest version.

Reference version 1.4.8.3

Edit - this seems only to fix sometimes; other times, it'll work for 1 or 2 labels and then fail similarly.

zach2825 avatar Mar 20 '25 15:03 zach2825