https://bugs.freedesktop.org/show_bug.cgi?id=81125
Priority: medium Bug ID: 81125 Assignee: libreoffice-bugs@lists.freedesktop.org Summary: self.desktop.loadComponentFromURL with private:stream Returns "NoneType" Severity: major Classification: Unclassified OS: Linux (All) Reporter: kelvin.whit...@gmail.com Hardware: x86-64 (AMD64) Status: UNCONFIRMED Version: 4.3.0.2 rc Component: sdk Product: LibreOffice ... inputfn=sys.stdin.buffer.read() inputStream = self.svcmgr.createInstanceWithContext("com.sun.star.io.SequenceInputStream", self.context) inputStream.initialize((uno.ByteSequence(inputfn),)) document = self.desktop.loadComponentFromURL("private:stream", "_blank", 0, UnoProps(Hidden=True, ReadOnly=True, InputStream=inputStream) ... # at this point document is `None'. So the following code throws AttributeError document.storeToURL(outputurl, tuple(outputprops)) => AttributeError: 'NoneType' object has no attribute 'storeToURL' This worked fine in 4.2 -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs