IEHtmlWindow.LoadString problem

Hello,

when I try to call IEHtmlWindow.LoadString( '' ) I always get some traceback with a MemoryError at the end. Using LoadUrl('') works just fine. Is this a bug?

-Matthias

Nitro wrote:

Hello,

when I try to call IEHtmlWindow.LoadString( '' ) I always get some traceback with a MemoryError at the end. Using LoadUrl('') works just fine. Is this a bug?

A quickie test is working here. Please provide a sample that shows the problem.

···

--
Robin Dunn
Software Craftsman

Ok, the Memory Error was likely caused, because my harddisk was full. However, now I keep getting an AttributeError in iewin.py, when accessing self.ctrl.Document in LoadString(). I've just noticied it only happens in the 64-bit build. The 32-bit one seems fine.

To reproduce just change the ActiveX_IEHtmlWindow demo lines from

         self.ie = iewin.IEHtmlWindow(self)

to

         self.ie = iewin.IEHtmlWindow(self)
         self.ie.LoadString('')

-Matthias

···

Am 16.06.2009, 01:37 Uhr, schrieb Robin Dunn <robin@alldunn.com>:

Nitro wrote:

Hello,

when I try to call IEHtmlWindow.LoadString( '' ) I always get some
traceback with a MemoryError at the end. Using LoadUrl('') works just
fine. Is this a bug?

A quickie test is working here. Please provide a sample that shows the
problem.