Languages

Menu
Sites
Language
Gear S2 연결 후 Sample Project 실행 시 Error

Tizen IDE에서 Remote Device Manager를 이용해서 Gear S2와 연결 후 Sample Project를 실행 시키니 Error가 발생합니다.

에러 내용은 다음과 같습니다. 

 

'Launching [RUN] bluetoothChat_Debug' has encountered a problem.

Cannot install application

Error code : FATAL ERROR

Error message:

Command: /usr/bin/pkgcmd -q -i -t tpk -p

/opt/usr/apps/tmp/org.tizen.bluetoothchat-1.0.0-arm.tpk

Management: Installation or uninstallation is not working temporarily.

 

Gear S2 디버깅 모드 설정 및  IDE에서 Security Profiles는 완료된 상태입니다.

 

View Selected Answer

Responses

4 Replies
daniel kim

안녕하세요..

SDK에 설치된 tizen-sdk-data\ide\logs에 로그파일 생성된 것이 있으면  어떤 연유인지 알수있을 것 같습니다.

다른 sample이나 wgt sample도 설치테스트를 해보시면 어떨까 합니다. 

HWANHO JANG

10-07 19:42:04.871 : ERROR / PKGMGR_SERVER ( 12606 : 12606 ) : pkgmgr-server.c: exit_server(1338) > exit_server Start [backend_status=1, queue_status=1] 
10-07 19:42:04.876 : ERROR / PKGMGR_SERVER ( 12606 : 12606 ) : pkgmgr-server.c: main(2180) > package manager server terminated.
10-07 19:42:12.869 : ERROR / PKGMGR ( 12759 : 12759 ) : pkgmgr.c: pkgmgr_client_install(1537) > install pkg start.
10-07 19:42:13.029 : ERROR / PKGMGR_SERVER ( 12766 : 12766 ) : pkgmgr-server.c: main(2126) > package manager server start
10-07 19:42:13.099 : ERROR / PKGMGR_SERVER ( 12766 : 12766 ) : pkgmgr-server.c: req_cb(686) > req_id=[/opt/usr/apps/tmp/org.example.hellowatch-1.0.0-arm.tpk_1714825509], req_type=[1], pkg_type=[tpk], pkgid=[/opt/usr/apps/tmp/org.example.hellowatch-1.0.0-arm.tpk], args=[arg-start '-k' '/opt/usr/apps/tmp/org.example.hellowatch-1.0.0-arm.tpk_1714825509' '-i' '/opt/usr/apps/tmp/org.example.hellowatch-1.0.0-arm.tpk'], cookie=[B2//9L4VFdbemQyxHyShBgrpGlQ=], backend_flag=[0]
10-07 19:42:13.104 : ERROR / PKGMGR ( 12766 : 12766 ) : pkgmgr-internal.c: _get_type_from_zip(769) > /opt/usr/apps/tmp/org.example.hellowatch-1.0.0-arm.tpk is core
10-07 19:42:13.109 : ERROR / PKGMGR ( 12759 : 12759 ) : pkgmgr.c: pkgmgr_client_install(1651) > install pkg finish, ret=[127590002]
10-07 19:42:13.109 : ERROR / PKGMGR_SERVER ( 12767 : 12767 ) : pkgmgr-server.c: queue_job(1820) > INSTALL start, pkg path=[/opt/usr/apps/tmp/org.example.hellowatch-1.0.0-arm.tpk]
10-07 19:42:13.209 : ERROR / rpm-installer ( 12767 : 12767 ) : rpm-appcore-intf.c: main(183) > [/opt/usr/apps/tmp/org.example.hellowatch-1.0.0-arm.tpk] is tpk package.
10-07 19:42:13.229 : ERROR / rpm-installer ( 12767 : 12767 ) : coretpk-parser.c: __coretpk_parser_get_value(1099) > (result_value == NULL) [install-location] is empty.
10-07 19:42:13.229 : ERROR / rpm-installer ( 12767 : 12767 ) : coretpk-parser.c: _coretpk_parser_is_custom_clock(896) > (ret == 1) metadata(watchface) is empty.
10-07 19:42:13.234 : ERROR / rpm-installer ( 12767 : 12767 ) : coretpk-parser.c: _coretpk_parser_is_widget(973) > (ret == 1) NodeSet is empty. (//*[name() = 'manifest']/*[name()='widget-application'])
10-07 19:42:13.234 : ERROR / rpm-installer ( 12767 : 12767 ) : installer-util.c: _installer_util_get_configuration_value(331) > [signature]=[on]
10-07 19:42:13.484 : ERROR / rpm-installer ( 12767 : 12767 ) : rpm-installer.c: _ri_get_visibility_from_signature_file(1854) > cert_svc_verify_certificate() failed.
10-07 19:42:13.484 : ERROR / rpm-installer ( 12767 : 12767 ) : coretpk-installer.c: _coretpk_installer_get_pkgfile_info(1444) > Couldnt get visiblity [0], ret: 117
10-07 19:42:13.484 : ERROR / rpm-installer ( 12767 : 12767 ) : coretpk-installer.c: _coretpk_installer_prepare_package_install(3439) > (pkg_file_info == NULL) _coretpk_installer_get_pkgfile_info(/opt/usr/apps/tmp/org.example.hellowatch-1.0.0-arm.tpk) failed.
10-07 19:42:13.499 : ERROR / rpm-installer ( 12767 : 12767 ) : rpm-cmdline.c: _ri_cmdline_process(465) > __ri_process_request: Error
10-07 19:42:13.509 : ERROR / PKGMGR_SERVER ( 12766 : 12766 ) : pkgmgr-server.c: sighandler(443) > child exit [12767] with error code:2
10-07 19:42:13.519 : ERROR / APP_SHORTCUT ( 1154 : 1154 ) : pkgmgr.c: _start(234) >  (_exist_request_in_list(package)) -> _start() return
10-07 19:42:13.519 : ERROR / APP_SHORTCUT ( 1154 : 1154 ) : pkgmgr.c: _pkgmgr_cb(398) >  pkgmgr_cbs[0].func has errors.
10-07 19:42:13.524 : ERROR / APPS ( 668 : 668 ) : pkgmgr.c: _start(509) >  (_exist_request_in_list(package)) -> _start() return
10-07 19:42:13.524 : ERROR / APPS ( 668 : 668 ) : pkgmgr.c: _pkgmgr_cb(820) >  pkgmgr_cbs[0].func has errors.
10-07 19:42:13.529 : ERROR / WMS ( 465 : 465 ) : wms_event_handler.c: _wms_event_handler_cb_log_package(4448) > package [_________] callback : [INSTALL, STARTED]
10-07 19:42:13.549 : ERROR / APPS ( 668 : 668 ) : pkgmgr.c: _end(757) >  (strcasecmp(val, "ok")) -> _end() return
10-07 19:42:13.549 : ERROR / APPS ( 668 : 668 ) : pkgmgr.c: _pkgmgr_cb(820) >  pkgmgr_cbs[6].func has errors.
10-07 19:42:13.554 : ERROR / WMS ( 465 : 465 ) : wms_event_handler.c: _wms_event_handler_cb_log_package(4448) > package [_________] callback : [INSTALL, COMPLETED]
10-07 19:42:13.559 : ERROR / WMS ( 465 : 465 ) : wms_event_handler.c: _wms_event_handler_cb_package_manager_event(6761) > package install complete
10-07 19:42:13.559 : ERROR / WMS ( 465 : 465 ) : wms_event_handler.c: _wms_event_handler_package_install_event(4660) > 
10-07 19:42:13.559 : ERROR / WMS ( 465 : 465 ) : wms_event_handler.c: _wms_event_handler_get_index_from_install_req_list(1760) > Found in install_req_list?[0], index[-1]
10-07 19:42:13.559 : ERROR / WMS ( 465 : 465 ) : wms_event_handler.c: _wms_event_handler_package_install_event(4684) > triggered from Gear itself.
10-07 19:42:13.579 : ERROR / WMS ( 465 : 465 ) : wms_event_handler.c: _wms_event_handler_send_wapps_install_res(2244) > Fail to get package info
10-07 19:42:13.579 : ERROR / APP_SHORTCUT ( 1154 : 1154 ) : pkgmgr.c: _end(340) >  (strcasecmp(val, "ok")) -> _end() return
10-07 19:42:13.584 : ERROR / RESOURCED ( 629 : 629 ) : resourced-dbus.c: resourced_dbus_system_hash_drop_busname(324) > [resourced_dbus_system_hash_drop_busname,324] Does not exist in busname hash: com.samsung.slp.pkgmgr_status
10-07 19:42:13.584 : ERROR / APP_SHORTCUT ( 1154 : 1154 ) : pkgmgr.c: _pkgmgr_cb(398) >  pkgmgr_cbs[6].func has errors.
10-07 19:42:13.619 : ERROR / APP_SHORTCUT ( 1154 : 1154 ) : pkgmgr.c: _end(336) >  (!_exist_request_in_list(package)) -> _end() return
10-07 19:42:13.619 : ERROR / APP_SHORTCUT ( 1154 : 1154 ) : pkgmgr.c: _pkgmgr_cb(398) >  pkgmgr_cbs[6].func has errors.
10-07 19:42:13.624 : ERROR / APPS ( 668 : 668 ) : pkgmgr.c: _end(753) >  (!_exist_request_in_list(package)) -> _end() return
10-07 19:42:13.624 : ERROR / APPS ( 668 : 668 ) : pkgmgr.c: _pkgmgr_cb(820) >  pkgmgr_cbs[6].func has errors.
10-07 19:42:13.629 : ERROR / WMS ( 465 : 465 ) : wms_event_handler.c: _wms_event_handler_cb_log_package(4448) > package [_________] callback : [INSTALL, COMPLETED]
10-07 19:42:13.634 : ERROR / WMS ( 465 : 465 ) : wms_event_handler.c: _wms_event_handler_cb_package_manager_event(6761) > package install complete
10-07 19:42:13.634 : ERROR / WMS ( 465 : 465 ) : wms_event_handler.c: _wms_event_handler_package_install_event(4660) > 
10-07 19:42:13.634 : ERROR / WMS ( 465 : 465 ) : wms_event_handler.c: _wms_event_handler_get_index_from_install_req_list(1760) > Found in install_req_list?[0], index[-1]
10-07 19:42:13.634 : ERROR / WMS ( 465 : 465 ) : wms_event_handler.c: _wms_event_handler_package_install_event(4684) > triggered from Gear itself.
10-07 19:42:13.649 : ERROR / WMS ( 465 : 465 ) : wms_event_handler.c: _wms_event_handler_send_wapps_install_res(2244) > Fail to get package info
10-07 19:42:16.508 : INFO / RESOURCED ( 629 : 629 ) : logging.c: logging_send_signal_to_data(1097) > [logging_send_signal_to_data,1097] send signal to logging data thread
10-07 19:42:16.508 : INFO / RESOURCED ( 629 : 629 ) : logging.c: logging_send_signal_to_update(1177) > [logging_send_signal_to_update,1177] send signal to logging update thread
10-07 19:42:16.508 : INFO / RESOURCED ( 629 : 826 ) : logging.c: logging_save_to_storage(969) > [logging_save_to_storage,969] storage cache is empty
10-07 19:42:16.513 : ERROR / PKGMGR_SERVER ( 12766 : 12766 ) : pkgmgr-server.c: exit_server(1338) > exit_server Start [backend_status=1, queue_status=1] 
10-07 19:42:16.518 : ERROR / PKGMGR_SERVER ( 12766 : 12766 ) : pkgmgr-server.c: main(2180) > package manager server terminated.

 

Error 로그는 다음과 같습니다.

Web Application의 경우는 SIGNATURE_INVALID Error이고

Native Application의 경우는 FATAL_ERROR가 발생하네요..

Mark as answer
daniel kim

안녕하세요.

certificate 문제인 것 같습니다. 혹시 connection explorer에서 "permit to install applications"를 실행하여 device-profile.xml를 기기의 /home/developer  디렉토리에 push하셨는지요?

또한 security profiles에서 등록하신 profile이 정상적으로 active상태인지도 확인하셔야 할 것 같습니다.

 

 

HWANHO JANG

답변 감사합니다. Tizen IDE 설치 시 Extension SDK 설치가 안되있었네요 ...

 http://developer.samsung.com/technical-doc/view.do?v=T000000248

Extension 설치 후 인증 작업 거쳐서 문제 해결했습니다. 감사합니다.

인증관련해서 사이트 참고하시면 좋을 것 같습니다. http://egloos.zum.com/seoz/v/4066892