Hi Baptiste,
It works now!!!
We can see google page through Chromium MiniBrowser after ail_createdb_user, pkg_createdb_user.
I am very appreciated for your help.
Best Regards
KC Park
------- Original Message -------
Sender : Baptiste Durand<baptiste.dur...@open.eurogiciel.org>
Date : 2015-01-29 04:07 (GMT+09:00)
Title : Re: Re: [Dev] Unable to run Chromium MiniBrowser app in user mode : ail_db.c: db_do_prepare(280) error
This implies it get a dedicated environement [home direcory etc...]
ail_createdb_user
Baptiste
Hi KC
Continue yours tests with regular user "ys" , please forget to try to launch app with tizen globalapp. it is not the purpose of this "system user" :)-> Could you tell me the smack label applyed to the directory /home/ys/?In other words could you provides the output of the following commands:chsmack /home/ys/ls -la /home/ys/Thanks
2015-01-28 16:51 GMT+01:00 박기철 <kc7576.p...@samsung.com>:
Hi Baptiste,
Thanks for your quick response.
We tried as you suggested, but app launch still failed.
Here are more details about install and launch flows. Please give more helps~~
root@localhost:/# rpm -ih --nodeps --force org.tizen.chromium-efl-40.2214.38.51-1.armv7l.rpm
root@localhost:/# ail_initdb
root@localhost:/# pkg_initdbtizenglobalapp@localhost:/usr/apps$ pkgcmd -l
...
system apps pkg_type [rpm] pkgid [org.tizen.chromium-efl] name [Chromium-efl MiniBrowser] version [40.2214.38.51]
...
tizenglobalapp@localhost:/usr/apps$ /usr/apps/org.tizen.chromium-efl/bin/mini_browser
--> same errors!
We tried after adding regular(?) user but also failed.
root@localhost:/# useradd ys
root@localhost:/# su - ysys@localhost:/usr/apps$ pkgcmd -l
...
system apps pkg_type [rpm] pkgid [org.tizen.chromium-efl] name [Chromium-efl MiniBrowser] version [40.2214.38.51]
...
ys@localhost:/usr/apps$ /usr/apps/org.tizen.chromium-efl/bin/mini_browser
--> errors with different logs(but on same library)
Jan 01 03:08:51 localhost mini_browser[1268]: system_info_parse.c: system_info_get_value_from_config_xml(273) > cannot find tizen.org/feature/led field from /etc/config/model-config.xml file!!!
Jan 01 03:08:51 localhost mini_browser[1268]: system_info.c: system_info_get_platform_bool(266) > cannot get tizen.org/feature/led
Jan 01 03:08:51 localhost mini_browser[1268]: mini_browser.c: main(677) > Minibrowser main
Jan 01 03:08:51 localhost mini_browser[1268]: ail_db.c: ail_get_app_DB(219) > [ail_get_app_DB,219] FAIL : to create directory /home/ys/.applications/dbspace 2
Jan 01 03:08:51 localhost mini_browser[1268]: ail_db.c: db_open(359) > [db_open,359] Failed to create table /home/ys/.applications/dbspace/.app_info.db
Jan 01 03:08:51 localhost mini_browser[1268]: ail_db.c: do_db_exec(587) > [do_db_exec,587] Cannot execute this query - attach database '/usr/dbspace/.app_info.db' as Global. because uncatched error
Jan 01 03:08:51 localhost mini_browser[1268]: ail_db.c: db_open(376) > [db_open,376] executing query_attach : attach database '/usr/dbspace/.app_info.db' as Global
Jan 01 03:08:51 localhost mini_browser[1268]: pkginfo.c: aul_app_get_appid_bypid(135) > second change pgid = 1268, pid = 1268
Jan 01 03:08:51 localhost mini_browser[1268]: ail_db.c: ail_get_app_DB(219) > [ail_get_app_DB,219] FAIL : to create directory /home/ys/.applications/dbspace 2
Jan 01 03:08:51 localhost mini_browser[1268]: ail_db.c: db_open(359) > [db_open,359] Failed to create table /home/ys/.applications/dbspace/.app_info.db
Thanks & Best Regards
KC
------- Original Message -------
Sender : Baptiste Durand<baptiste.dur...@open.eurogiciel.org>
Date : 2015-01-28 22:30 (GMT+09:00)
Title : Re: [Dev] Unable to run Chromium MiniBrowser app in user mode : ail_db.c: db_do_prepare(280) error
following this you should be able to run your apps by using any regular userpkg_initdbrun ail_initdbcopy the desktop file in /usr/share/applications/copy the manifest in /usr/share/pacakges/You've got to copy the applications files into /usr/apps/To get yours apps avaible for all users.Hi KC,tizenglobalapp should not be used to launch applications.Your isssue should be never happens.shell in /etc/passwd should be set to /bin/false for this user.
The only purpose of this "user" is to install/uninstall/update Common applications.tizenglobalapp is *not a regular* userThere is no pam session (eg user environnment associated).BR
Baptiste
2015-01-28 14:13 GMT+01:00 박기철 <kc7576.p...@samsung.com>:
Hi all,
I am trying to build and run Chromium/Blink MiniBrowser(after EFL porting) on Tizen 3.0 Odroid.
In the root mode, the MiniBrowser is working with some workaround(without using Tizen app framework).
However, in the user mode, the MiniBrowser app is not working with following errors.
How can I solve these issue?
root@localhost:/# su - tizenglobalapp
tizenglobalapp@localhost:/$ /usr/apps/org.tizen.chromium-efl/bin/mini_browwer...
Dec 31 23:27:05 localhost mini_browser[818]: ail_db.c: db_do_prepare(280) > [db_do_prepare,280] (!db) -> db_do_prepare() return
Dec 31 23:27:05 localhost mini_browser[818]: app_error.c: app_error(64) > [app_get_data_directory] INVALID_CONTEXT(0xffffffff) : failed to get the package
Dec 31 23:27:05 localhost mini_browser[818]: ail_db.c: db_do_prepare(280) > [db_do_prepare,280] (!db) -> db_do_prepare() return
Dec 31 23:27:05 localhost mini_browser[818]: app_error.c: app_error(64) > [app_get_data_directory] INVALID_CONTEXT(0xffffffff) : failed to get the package...
Used platform version is as follows.
[Version]
Model=Tizen3/TV;
Build=tizen-tv_20150123.4;
[Build]
Date=20150123_112857;
Time=11:28:57;
Best Regards
KC Park
_______________________________________________
Dev mailing list
Dev@lists.tizen.org
https://lists.tizen.org/listinfo/dev
--
Baptiste DURAND
Eurogiciel Vannes/FR
--
Baptiste DURAND
Eurogiciel Vannes/FR
--
Eurogiciel Vannes/FR
_______________________________________________ Dev mailing list Dev@lists.tizen.org https://lists.tizen.org/listinfo/dev