No difference..no joy :( On Wed, Mar 14, 2012 at 9:07 AM, lkcl luke <[email protected]> wrote:
> On Wed, Mar 14, 2012 at 12:50 PM, Rich Newpol <[email protected]> > wrote: > > 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 > > rright. that will need a MouseListener.mshtml.py which is a > near-copy of MouseListener.ie6.py aand... um there isn't one. ho hum. > ok, try this: copy the MouseListener.pywebkitgtk.py to > MouseListener.mshtml.py and see what happens ok? > > l.

