The gwtcanvas demo comes up and looks fine on my Win7 machine, in both pyjd
and IE9. However, when running under pyjd, I see exceptions whenever I move
the mouse over the app window. The exceptions are:
Traceback (most recent call last):
File "c:\python27\lib\site-packages\pyjd\mshtmlevents.py", line 243, in
IDispa
tch_Invoke
result = mth(self.sender, event, None)
File "C:\pyjamas\library\pyjamas\DOM.py", line 138, in _dispatchEvent
dispatchEvent(evt, curElem, listener)
File "C:\pyjamas\library\pyjamas\DOM.py", line 962, in dispatchEvent
dispatchEventImpl(event, element, listener)
File "C:\pyjamas\library\pyjamas\DOM.py", line 999, in dispatchEventImpl
listener.onBrowserEvent(event)
File "C:\pyjamas\library\pyjamas\ui\Widget.py", line 72, in onBrowserEvent
MouseHandler.onBrowserEvent(self, event)
File "C:\pyjamas\library\pyjamas\ui\MouseListener.py", line 65, in
onBrowserEv
ent
return fireMouseEvent(self._mouseListeners, self, event)
File "C:\pyjamas\library\pyjamas\ui\MouseListener.py", line 43, in
fireMouseEv
ent
to_element = DOM.eventGetToElement(event)
File "C:\pyjamas\library\pyjamas\DOM.py", line 414, in eventGetToElement
return evt.relatedTarget
File "c:\python27\lib\site-packages\comtypes\client\lazybind.py", line
142, in
__getattr__
descr = self.__bind(name, DISPATCH_METHOD | DISPATCH_PROPERTYGET)
File "c:\python27\lib\site-packages\comtypes\client\lazybind.py", line
107, in
__bind
descr = self._tcomp.Bind(name, invkind)[1]
File "c:\python27\lib\site-packages\comtypes\typeinfo.py", line 361, in
Bind
raise NameError("Name %s not found" % name)
NameError: Name relatedTarget not found
Rich
On Sat, Mar 10, 2012 at 3:33 PM, lkcl luke <[email protected]> wrote:
> thank you to bob, i've just committed the patch for GWTCanvas. it
> _should_ work straight off in MSHTML (pyjd) but it would be nice if
> someone could double-check.
>
> many thanks!
>
> l.
>