On Fri, 30 Aug 2013 00:48:13 +0000 "Li, Hao H" <[email protected]> said:
> When I run the binary file - /usr/apps/org.tizen.dialer/bin/dialer directly > It can't be launched with log > INF<355>:dialer dialer/main.c:153 elm_main() Using default DBus remote > control service name: org.tizen.dialer INF<355>:dialer dialer/rc.c:363 rc_init > () Running on Session bus ERR<355>:e_dbus e_dbus.c:456 e_dbus_bus_get() Error > connecting to bus: Using X11 for dbus-daemon autolaunch was disabled at > compile time, set your DBUS_SESSION_BUS_ADDRESS instead CRI<355>:dialer > dialer/rc.c:367 rc_init() Could not get DBus Bus CRI<355>:dialer > dialer/main.c:157 elm_main() Could not setup remote control via DBus. > > > Is there any way to make the binary file be launched without launch_app? Or > can we see the log like INF etc during launch_app org.tizen.dialer > successfully? be root? :) > -----Original Message----- > From: Carsten Haitzler [mailto:[email protected]] > Sent: Friday, August 30, 2013 8:43 AM > To: Li, Hao H > Cc: Huang, Jimmy; Lynch, Rusty; [email protected]; [email protected] > Subject: Re: [Tizen General] Question about the log of launch_app > org.tizen.dialer on Tizen IVI > > On Fri, 30 Aug 2013 00:33:49 +0000 "Li, Hao H" <[email protected]> said: > > > Hi, Jimmy > > > > I tried Export EINA_LOG_LEVELS=dialer:4 or Export > > EINA_LOG_LEVELS=dialer:5 And then launch_app org.tizen.dialer > > > > In dialer/main.c, there is INF("Entering main loop"); while I can't > > see the log from terminal or dlogutil about it. Do you know how and > > where I can see the log? > > i suspect launch_app is not passing n your environment to the app... > basically that doesnt launch the app.. it messages another process to do the > launch.. you will have to run the binary directly, or get that env var into > the system as a whole so the app lancher daemon gets the env. > > > Thanks! > > > > > > -----Original Message----- > > From: Huang, Jimmy > > Sent: Friday, August 30, 2013 4:12 AM > > To: Lynch, Rusty; Li, Hao H > > Cc: [email protected]; [email protected] > > Subject: RE: [Tizen General] Question about the log of launch_app > > org.tizen.dialer on Tizen IVI > > > > I think you need to set the EINA_LOG_LEVEL, This is what I used to > > enable logging > > > > Export EINA_LOG_LEVELS=dialer:4 > > > > Jimmy > > > > -----Original Message----- > > From: Lynch, Rusty > > Sent: Wednesday, August 28, 2013 2:24 PM > > To: Li, Hao H > > Cc: [email protected]; [email protected]; Huang, Jimmy > > Subject: Re: [Tizen General] Question about the log of launch_app > > org.tizen.dialer on Tizen IVI > > > > That's all that is required. If you don't see anything then the app > > isn't logging anything. > > > > Of course we can directly ask the maintainer to be sure... Jimmy? > > > > --rusty > > > > On Tue, 2013-08-27 at 20:11 -0700, Li, Hao H wrote: > > > I tried chmod 666 /dev/log*, but in dlog util, when running > > > launch_app org.tizen.dialer, I only can see the log relate to launch_app > > > like " D/AUL ( 356): launch.c: app_request_to_launchpad(240) > > > > launch request result : -1" etc. > > > > > > If I want to see the log inside org.tizen.dialer > > > (/usr/apps/org.tizen.dialer/bin/dialer), is there any way to see it? > > > > > > Thanks! > > > > > > -----Original Message----- > > > From: Lynch, Rusty > > > Sent: Wednesday, August 28, 2013 10:34 AM > > > To: Li, Hao H > > > Cc: [email protected]; [email protected] > > > Subject: Re: [Tizen General] Question about the log of launch_app > > > org.tizen.dialer on Tizen IVI > > > > > > The log device files (i.e. what's needed for dlog to work) are not > > > writable by the app user (which is wrong and we really should > > > document this as a > > > bug) so all the log writes fail. > > > > > > A way to work around this is to ssh in as root (or 'su -' in the > > > terminal) and type 'chmod 666 /dev/log*' before running an app. > > > These files are created at boot time so you have to do this on each boot. > > > > > > BTW... the way to fix this is to create a udev rule to assign better > > > permissions on the device files. Of course we would need to debate > > > with the security team what those permissions should be. > > > > > > --rusty > > > > > > On Wed, 2013-08-28 at 00:33 +0000, Li, Hao H wrote: > > > > Hi > > > > > > > > > > > > > > > > http://download.tizen.org/releases/milestone/tizen/ivi/tizen_20130729. > > > > 2/repos/ivi/ia32/packages/i686/lemolo-0.1.3-1.1.i686.rpm > > > > > > > > During launch_app org.tizen.dialer on Tizen IVI, is there any way > > > > to see the log? > > > > > > > > > > > > > > > > I tried dlogutil and EINA_LOG_LEVEL=5 launch_app org.tizen.dialer, > > > > neither of them can see the log about dialer. > > > > > > > > > > > > > > > > Thanks! > > > > > > > > > > > > > > > > Li Hao > > > > > > > > Best Regards > > > > > > > > Email:[email protected] > > > > > > > > > > > > > > > > Tizen Enabling Team > > > > > > > > Software and Service Group > > > > > > > > Intel Asia-Pacific Research & Development Ltd. > > > > > > > > Tel: 86-21-61167039 > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > General mailing list > > > > [email protected] > > > > https://lists.tizen.org/listinfo/general > > > > > > > > > > > > _______________________________________________ > > General mailing list > > [email protected] > > https://lists.tizen.org/listinfo/general > > > > > -- > Carsten Haitzler (The Rasterman) <[email protected]> > -- Carsten Haitzler (The Rasterman) <[email protected]> _______________________________________________ General mailing list [email protected] https://lists.tizen.org/listinfo/general
