Complete
over 3 years ago

WERETECH-11893

Issue has been fixed and will be shown in next SDK Manager release.

SdkManager problems

After the new announcments yesterday I opened Eclipse.

1. I had to approve to install unsigned software

2. It tries to download the sdk manager to a non-existant directory:

15:38:00: Directory '/usr/local/new' couldn't be created (error 13: Permission denied)
15:38:00: can't create file '/usr/local/new/connectiq-sdk-manager-linux.zip' (error 2: No such file or directory)
15:38:00: can't open file '/usr/local/new/connectiq-sdk-manager-linux.zip' (error 2: No such file or directory)

3. I get these popups with errors. See schreenshot: https://ibb.co/yRpJ9qD

ASSERT INFO:
../src/common/file.cpp(361): assert ""(pBuf != __null) && IsOpened()"" failed in Write().

BACKTRACE:
[1] wxFile::Write(void const*, unsigned long)
[2] SdkManager::WebRequest::saveResponseToFile(void*, unsigned long, unsigned long, void*)
[3] curl_multi_perform
[4] curl_easy_perform
[5] SdkManager::WebRequest::makeRequest(wxString, SdkManager::WebRequest::HttpMethod, SdkManager::WebRequest::SaveType)
[6] SdkManager::WebRequest::downloadSdkManager(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, wxFileName const&)
[7] SdkManager::Updater::downloadSdkManager()
[8] SdkManager::App::onAppUpdateAvailable(wxCommandEvent&)
[9] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[10] wxEvtHandler::SearchDynamicEventTable(wxEvent&)
[11] wxEvtHandler::TryHereOnly(wxEvent&)
[12] wxEvtHandler::ProcessEventLocally(wxEvent&)
[13] wxEvtHandler::ProcessEvent(wxEvent&)
[14] wxEvtHandler::ProcessPendingEvents()
[15] wxAppConsoleBase::ProcessPendingEvents()
[16] wxApp::DoIdle()
[17] wxapp_idle_callback app.cpp
[18] g_main_context_dispatch
[19] g_main_loop_run
[20] gtk_main
[21] wxGUIEventLoop::DoRun()
[22] wxEventLoopBase::Run()
[23] wxAppConsoleBase::MainLoop()
[24] wxEntry(int&, wchar_t**)
[25] main
[26] __libc_start_main
[27] _start