Languages

Menu
Sites
Language
Reinstalling widget package on emulator fails

$ /usr/bin/pkgcmd -q -r -t wgt -n Jll4ZF053P

start process (update)

......................

error : 61

 

end process (fail)

processing result : FATAL_ERROR [61] failed

spend time for pkgcmd is [1668]ms

cmd_ret:61

    [RDS] Cannot partially upload or reinstall.

    Because the RDS failed , IDE'll try to install whole package again.

Step > Uninstalling the package

    Uninstalling the package id : Jll4ZF053P.implus

    Uninstalling the package command : /usr/bin/pkgcmd -u -q -t wgt -n "Jll4ZF053P"

$ /usr/bin/pkgcmd -u -q -t wgt -n "Jll4ZF053P"

start process (uninstall)

 

end process (ok)

-----------------------------

What can I do? All the app data is cleared on each uninstall->install cycle.

View Selected Answer

Responses

10 Replies
Raghu Kona
Hi, If you are using the latest PQ or M0 device with 2.1 image, Can you please try removing the application from the device. Press and hold the settings alike icon on the top left side of the screen. Regards, Raghu Kona
Dmitry Utkin
Didn't help. Nor on a device nor on emulator. Here's a part of device log i've captured during "Run" from Tizen IDE. E/Tizen::Base::Collection( 2591): virtual result Tizen::Base::Collection::ArrayList::IndexOf(const Tizen::Base::Object&, int, int, int&) const(293) > [E_OBJ_NOT_FOUND] The arraylist is empty. E/Tizen::Base::Collection( 2591): virtual result Tizen::Base::Collection::ArrayList::Remove(const Tizen::Base::Object&)(396) > [E_OBJ_NOT_FOUND] Propagating. E/Tizen::Base( 4680): result Tizen::Base::String::SubString(int, Tizen::Base::String&) const(1112) > [E_OUT_OF_RANGE] The startIndex(12) MUST be greater than or equal to 0, and less than the length of this string(12). E/Tizen::Base::Runtime( 4680): static Tizen::Base::Runtime::_EventManager* Tizen::Base::Runtime::_EventManager::GetCurrentEventManager()(292) > [E_OBJ_NOT_FOUND] This is not OSP thread. E/Tizen::Base::Runtime( 4680): result Tizen::Base::Runtime::_Event::Initialize()(207) > [E_INVALID_OPERATION] Event manager does not exist. E/Tizen::Base( 4684): result Tizen::Base::String::SubString(int, Tizen::Base::String&) const(1112) > [E_OUT_OF_RANGE] The startIndex(12) MUST be greater than or equal to 0, and less than the length of this string(12). E/Tizen::Base::Runtime( 4684): static Tizen::Base::Runtime::_EventManager* Tizen::Base::Runtime::_EventManager::GetCurrentEventManager()(292) > [E_OBJ_NOT_FOUND] This is not OSP thread. E/Tizen::Base::Runtime( 4684): result Tizen::Base::Runtime::_Event::Initialize()(207) > [E_INVALID_OPERATION] Event manager does not exist. E/Tizen::Base( 4696): result Tizen::Base::String::SubString(int, Tizen::Base::String&) const(1112) > [E_OUT_OF_RANGE] The startIndex(12) MUST be greater than or equal to 0, and less than the length of this string(12). E/Tizen::Base::Runtime( 4696): static Tizen::Base::Runtime::_EventManager* Tizen::Base::Runtime::_EventManager::GetCurrentEventManager()(292) > [E_OBJ_NOT_FOUND] This is not OSP thread. E/Tizen::Base::Runtime( 4696): result Tizen::Base::Runtime::_Event::Initialize()(207) > [E_INVALID_OPERATION] Event manager does not exist. E/Tizen::Io( 2591): static bool Tizen::Io::File::IsFileExist(const Tizen::Base::String&)(300) > [E_INVALID_ARG] Given filePath length is zero or exceeds system limitations. E/Tizen::App( 2591): Tizen::Base::Collection::ArrayList* Tizen::App::Package::_PackageManagerImpl::GetPackageAppFeatureListN(const Tizen::App::PackageId&, const Tizen::Base::String&) const(1882) > [E_OUT_OF_MEMORY] AppInfo list instance must not be null. E/Tizen::App( 2591): static Tizen::Base::String Tizen::App::_ContextManager::_Util::QueryFeatureFromPackageManager(const Tizen::Base::String&, const Tizen::Base::String&, const Tizen::Base::String&)(492) > Cannot acquire feature list. E/Tizen::App( 2591): void Tizen::App::_ConditionManagerStub::OnInstallComplete(const Tizen::App::AppId&)(132) > failed to GetAppLaunchConditionListN(Jll4ZF053P.implus) D/ConsoleMessage( 4714): file:///opt/usr/apps/Jll4ZF053P/res/wgt/js/main.js:639:init() called
Dmitry Utkin
Anything new on this issue? Why app is being reinstalled again and again?
Marco Buettner
disable RDS on project proberties
Dmitry Utkin
Disabled it. No errors, but it does uninstall just like it's the normal way to go... 1. Transfers package 2. Stop running instance 3. Uninstall 4. Install Any other ideas? :\
Dmitry Utkin
Found the solution to my problem, I had "Enable update mode" checkbox disabled in "Run configuration" for this project. Hope this would be helpful for somebody too
Raghu Kona
Thanks for sharing the solution, this will definitely help.
Bruno Magalhaes

I have the "Enable update mode" checkbox in "Run configuration" deactivated (can't make any changes).

The app was not present in the device/emulator, so my workaround was to change the tizen:application and package id in config.xml > source. It consists of  10 random characters, just changed 1 and everything was good to go.

 

Mark as answer
Ionut Sabau

I had the same error, the problem is that the device has a lower Tizen OS version than the app requires as minimum.

Change this in config.xml -> Tizen -> Required version. 

Kilim A

Thank you. It's work.