Hi guys,

 

Testing some alternatives to have a more dynamic web site I have included a
WVideo widget in my application. After some few tweaks the widget is working
properly, but when I test the site with Safari explorer (I am using the
built-in httpd  connector), the application enters in an infinite restarting
loop and I got the following log messages at the server console level:

 

[2014-Nov-13 19:03:37.299030] 6632 - [info] "config: reading Wt config file:
c:/software/webresources/wt_config.xml (location
=C:\software\projects\mastercondo - nw\Debug\mastercondo.exe')"

[2014-Nov-13 19:03:37.345906] 6632 - [info] "WServer/wthttp: initializing
built-in wthttpd"

[2014-Nov-13 19:03:38.377268] 6632 - [info] "wthttp: started server:
http://0.0.0.0:8080";

[2014-Nov-13 19:03:47.719638] 6632 - [info] "Wt: session created (#sessions
= 1)"

[2014-Nov-13 19:03:47.728671] 6632 [/condo QfAH0ijIjcF6hlmB] [info]
"WEnvironment: UserAgent: Mozilla/5.0 (Windows NT 6.2; WOW64)
AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2"

127.0.0.1 - - [2014-Nov-13 19:03:47.752689] "GET /condo HTTP/1.1" 200 2171

127.0.0.1 - - [2014-Nov-13 19:03:48.024867] "GET
/condo?wtd=QfAH0ijIjcF6hlmB&request=style HTTP/1.1" 200 116

127.0.0.1 - - [2014-Nov-13 19:03:48.242012] "GET
/condo?wtd=QfAH0ijIjcF6hlmB&sid=-324060857&tz=-180&htmlHistory=true&deployPa
th=%2Fcondo&request=script&rand=2

947245766 HTTP/1.1" 200 46480

127.0.0.1 - - [2014-Nov-13 19:03:49.006198] "POST
/condo?wtd=QfAH0ijIjcF6hlmB HTTP/1.1" 200 6215

[2014-Nov-13 19:03:51.255412] 6632 [/condo QfAH0ijIjcF6hlmB] [error] "Wt:
error during event handling: WAbstractMedia: error parsing:
undefined;undefined;0;0;

0;undefined: bad lexical cast: source type value could not be interpreted as
target"

[2014-Nov-13 19:03:51.285470] 6632 [/condo QfAH0ijIjcF6hlmB] [error] "Wt:
fatal error: WAbstractMedia: error parsing:
undefined;undefined;0;0;0;undefined: bad lexical cast: source type value
could not be interpreted as target"

[2014-Nov-13 19:03:51.433599] 6632 [/condo QfAH0ijIjcF6hlmB] [info] "Wt:
session destroyed (#sessions = 0)"

[2014-Nov-13 19:03:52.684094] 6632 - [info] "Wt: session created (#sessions
= 1)"

[2014-Nov-13 19:03:52.701184] 6632 [/condo Y4pgHA20BDxeBeiw] [info]
"WEnvironment: UserAgent: Mozilla/5.0 (Windows NT 6.2; WOW64)
AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2"

[2014-Nov-13 19:03:52.727199] 6632 [/condo Y4pgHA20BDxeBeiw] [info] "Wt:
signal from dead session, sending reload."

 

I then tried with the WMediaPlayer widget and the problem with Safari
explorer went away, but now when the application execute a change of
language (a call to WApplication::instance()->setLocale(appLocale), where
appLocale is a WLocale object configured with date format and decimal point
and  thousand separator symbols) the application stops responding to user
input (the server console keeps running without displaying any error, but it
seems like any user input - menu selection, anchor activation, anything is
absolutely ignored). This behavior is independent from the browser that your
are using. If the user don't try to do a language change, everything works
ok.

 

Any ideas what could be going on with both Safari - WVideo and with
WMediaPlayer - Wapplication::instance()->setLocale() call?

 

Thanks.

 

___________________

Mario Diethelm Guallar

 

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to