Hi, Today I tried my extension with LO5 64bit on Win7 64bit. It crashes after using these lines of code (python):
ctx = uno.getComponentContext() smgr = ctx.ServiceManager desktop = smgr.createInstanceWithContext( "com.sun.star.frame.Desktop",ctx) doc = desktop.getCurrentComponent() Maybe it doesn't crash immediately but if I try to use "doc", it will. It also crashes when I try to debug the extension. I use remote control with eclipse and pydev. Usually I'm able to see and inspect my variables, but when I inspect "doc", LO crashes as well. I also tried LO 32bit and this specific problem doesn't appear - although there are others. The exact code, where my extension fails, is here: lines 255 - 267 https://github.com/XRoemer/Organon/blob/master/source/py/menu_bar.py Can anyone comment on this? It's quite fundamental for any extension, I guess. Regards, Xaver PS: I already asked this question on the user mailing list, but I was told to ask here again. _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice