You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i got the following error in the browser (firefox) :
Python Error
Traceback (most recent call last):
File "hello.py", line 40, in createApplication
return MyApplication(env)
File "hello.py", line 14, in init
self.setTitle("Hello")
AttributeError: 'MyApplication' object has no attribute 'setTitle'
The text was updated successfully, but these errors were encountered:
There seems to be something wrong with your generated .cl files. Does WApplication.cl contain the following lines:
c.addMethod("setTitle", "void", [("const class Wt::WString &", "title")], "")
c["setTitle"].setDocumentation("""<p class="para-brief"> Sets the window title.</p><p> ....""")
I'm confused why you guys see this. Does any of the methods/classes/... contain any documentation in the .cl files? i.e. is there any setDocumentation() call that does not pass the empty string?
succesful built on ubuntu 13.04 - 64bit
trying to run hello.py :
epi@ubuntu:~/dev/src/pywt/examples/hello$ python hello.py --docroot . --http-address 0.0.0.0 --http-port 8080
[2013-Feb-24 02:08:15.956822] 3735 - [info] "config: reading Wt config file: /etc/wt/wt_config.xml (location = 'hello.py')"
[2013-Feb-24 02:08:15.957361] 3735 - [info] "WServer/wthttp: initializing built-in wthttpd"
[2013-Feb-24 02:08:15.957701] 3735 - [info] "wthttp: started server: http://0.0.0.0:8080"
i got the following error in the browser (firefox) :
Python Error
Traceback (most recent call last):
File "hello.py", line 40, in createApplication
return MyApplication(env)
File "hello.py", line 14, in init
self.setTitle("Hello")
AttributeError: 'MyApplication' object has no attribute 'setTitle'
The text was updated successfully, but these errors were encountered: