Web Apps running in tizen-3.0-mobile issue investigation:

With Baptiste DURAND'reminder, I add /etc/sysconfig/wrt with DISPLAY=:0 is set, 
at last the wrt-launcher works. Thank you.

Reason:
When wrt-launchpad_dameon is started, /etc/sysconfig/wrt is needed by service 
/usr/lib/systemd/system/[email protected], at that time, DISPLAY is 
not set. 
Therefore XOpenDisplay failed to open connection with X server. With null 
ecore_x_disp, it will cause elementary to be core dump when wrt-client running 
from wrt_launchpad_daemon.
When I run wrt-client from command line, DISPLAY is already set by others. 
Therefore it works.

Results:
Currently web apps icon from menu screen works, wrt-launcher works and 
wrt-client works for web apps.

Changes:
I have made more changes include
1) upgrade isf, vconf and vconf-internal-keys
2) patch with wrt for privilege setting(always report error, and block it 
running) , preload_exec(I disable it to turn to normal exec)
3)update backend environment setting /etc/sysconfig/launchpad, 
/etc/sysconfig/wrt and service file.
4) patch with isf to force setting vconf key

Next:
I need to identify a simple way to make web run time works based on original 
tizen-3.0-mobile image.

Thanks

Regards

Quanxian Wang

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Wang, Quanxian
Sent: Friday, November 15, 2013 10:10 AM
To: Baptiste DURAND; [email protected]
Subject: Re: [Dev] Notes of 3.0 Trunk taskforce meeting (Nov 7th)

Thanks your reminder. 

Before the investigation, I have compared with IVI kickstart file. They were 
all added.
bash-4.2# cat /etc/sysconfig/launchpad 
DISPLAY=:0
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/5000/dbus/user_bus_socket
ELM_THEME=tizen-HD-light
WRT_PROCESS_POOL_DISABLE=1

For XDG_RUNTIME_DIR, I remember it is special for Weston instead of for X.

Thanks

Regards

Quanxian Wang

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Baptiste DURAND
Sent: Thursday, November 14, 2013 6:10 PM
To: [email protected]
Subject: Re: [Dev] Notes of 3.0 Trunk taskforce meeting (Nov 7th)

Hello all,

I already saw this kind of issue before....
  Quanxian,perhaps your image don't have  these files : 
/etc/sysconfig/wrt  /etc/sysconfig/launchpad

please make sure that they exist in your image.

they should contains environment  variables values such as :
XDG_RUNTIME_DIR=/run/user/5000
DISPLAY=:0


Thanks

-- 
Baptiste DURAND
Intel OTC - Vannes/FR



Le 14/11/2013 11:00, Wang, Quanxian a écrit :
> Currently, I could make wrt-client works to start WebProcess to show one page.
>
> However for wrt-launcher, it still failed to make it work.
>
> The issue is focus on XOpenDisplay return null if wrt-client is called from 
> wrt-launchpad-daemon which will cause the application core dump.
>
> More investigation is still on.
>
> If you ever come across this issue or have some idea, just let me know.
>
> Thanks
>
> Regards
>
> Quanxian Wang
> -----Original Message-----
> From: Wang, Quanxian
> Sent: Wednesday, November 13, 2013 5:43 PM
> To: [email protected]
> Cc: Tizen Dev
> Subject: RE: Re: [Dev] Notes of 3.0 Trunk taskforce meeting (Nov 7th)
>
> For WRT app launch issue
>
> I have some error information, seem it is related with IME setting, anyone 
> could have some hints? Thanks
>
> app:/home/app> export HOME=/home/app
> app:~> /usr/bin/wrt-client -l H4phOE2fDO.Piano __initialize_config Cannot 
> open(/etc/scim/global) __initialize_config Cannot open(/etc/scim/global) 
> __initialize_config Cannot open(/etc/scim/global) __initialize_config Cannot 
> open(/etc/scim/global) __initialize_config Cannot open(/etc/scim/global) 
> __initialize_config Cannot open(/etc/scim/global) __initialize_config Cannot 
> open(/etc/scim/global) __initialize_config Cannot open(/etc/scim/global) 
> __initialize_config Cannot open(/etc/scim/global) get_ise_info_map Failed to 
> open(/home/app/.scim/engines_list)
> add_module: Failed to load socket IMEngine module!!!
> __initialize_config Cannot open(/etc/scim/global) __initialize_config Cannot 
> open(/etc/scim/global) Re-connecting to PanelAgent 
> server...................................................................................................................................................
> ...
>
>
>
> -----Original Message-----
> From: ANUJ MISHRA [mailto:[email protected]]
> Sent: Monday, November 11, 2013 3:39 PM
> To: Wang, Quanxian; Yang, Chengwei
> Cc: Tizen Dev
> Subject: Re: Re: [Dev] Notes of 3.0 Trunk taskforce meeting (Nov 7th)
>
> WRT app launch is known issue and it was discussed during last meeting. We 
> have pushed native apps into git.
> Can anybody from Intel check that native reference apps are launching into 
> PR3?
> These apps are pushed to apps/native/preloaded path Here is the list of 
> native reference applications that compiled successfully for armv7l.
>
> apps.Account
> apps.Calculator
> apps.Calendar
> apps.CalendarService
> apps.Camera
> apps.Contacts
> apps.Gallery
> apps.Home
> apps.Installer
> apps.Lock
> apps.Memo
> apps.MusicPlayer
> apps.MyFiles
> apps.Settings
> apps.VideoPlayer
>
> BR-Anuj
>
>
> ------- Original Message -------
> Sender : Wang, Quanxian<[email protected]> Date : Nov 11, 2013 16:25 
> (GMT+09:00) Title : Re: [Dev] Notes of 3.0 Trunk taskforce meeting (Nov 7th)
>
>
>
> -----Original Message-----
> From: Yang, Chengwei
> Sent: Monday, November 11, 2013 1:38 PM
> To: Wang, Quanxian
> Cc: Liu, Bing Wei; Saxena, Sunil; Lynch, Rusty; [email protected]; Tizen 
> Dev
> Subject: Re: [Dev] Notes of 3.0 Trunk taskforce meeting (Nov 7th)
>
> On Mon, Nov 11, 2013 at 02:39:09AM +0000, Wang, Quanxian wrote:
>> One more issue for mobile
>>
>> In mobile menu-screen, when click the icon, the clicked apps could not be 
>> started.
> Could you be more specific? The EFL image works fine.
> [Wang, Quanxian] It is related with wrt issue. When installing web apps, the 
> icon is shown on screen, when you click it, no response happened. I am 
> checking that
>
> --
> Thanks,
> Chengwei
>
>> Regards
>>
>> Quanxian Wang
> _______________________________________________
> Dev mailing list
> [email protected]
> https://lists.tizen.org/listinfo/dev
> _______________________________________________
> Dev mailing list
> [email protected]
> https://lists.tizen.org/listinfo/dev

_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to