I am not sure when I should post here and when under pyjs issues under 
GitHub.

When I try to execute the FormPanelExample.py from the examples directory, 
I get the following result:
~/pyjamas/examples/formpanel$ python FormPanelExample.pyset_main_frame 
<pyjd.pywebkitgtknew.Browser instance at 0xa436cec>
Traceback (most recent call last):
  File "FormPanelExample.py", line 79, in <module>
    app.onModuleLoad()
  File "FormPanelExample.py", line 55, in onModuleLoad
    RootPanel().add(self.form)
  File "/home/pstevens/pyjamas/library/pyjamas/ui/AbsolutePanel.py", line 
30, in add
    ComplexPanel.add(self, widget, self.getElement())
  File "/home/pstevens/pyjamas/library/pyjamas/ui/ComplexPanel.py", line 
26, in add
    self.insert(widget, container, self.getWidgetCount())
  File "/home/pstevens/pyjamas/library/pyjamas/ui/ComplexPanel.py", line 
44, in insert
    self.adopt(widget, container)
  File "/home/pstevens/pyjamas/library/pyjamas/ui/Panel.py", line 107, in 
adopt
    widget.setParent(self)
  File "/home/pstevens/pyjamas/library/pyjamas/ui/Widget.py", line 138, in 
setParent
    self.onAttach()
  File "/home/pstevens/pyjamas/library/pyjamas/ui/FormPanel.py", line 193, 
in onAttach
    self.hookEvents(self.iframe, self.getElement(), self)
  File "/home/pstevens/pyjamas/library/pyjamas/ui/FormPanel.py", line 141, 
in hookEvents
    self._onload_listener = mf.addEventListener(iframe, "load",
AttributeError: Browser instance has no attribute 'addEventListener'

Other examples such as Hello or FlowPanel do work.
I have done a git pull in order to get the latest versions of pyjs.
Running ubuntu 12.04.
Running 0.8.1~+alpha1 (that is what I get from CHANGELOG - not sure where 
else to get the version from).

Any ideas what is the problem?

Thank you,

Piet

Reply via email to