{"action":"created","issue":{"url":"https://api.github.com/repos/EmperorArthur/VBA-M/issues/5","labels_url":"https://api.github.com/repos/EmperorArthur/VBA-M/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/EmperorArthur/VBA-M/issues/5/comments","events_url":"https://api.github.com/repos/EmperorArthur/VBA-M/issues/5/events","html_url":"https://github.com/EmperorArthur/VBA-M/issues/5","id":53790227,"number":5,"title":"\"An assertion failed!\" in wxvbam","user":{"login":"andoruB","id":4868784,"avatar_url":"https://avatars.githubusercontent.com/u/4868784?v=3","gravatar_id":"","url":"https://api.github.com/users/andoruB","html_url":"https://github.com/andoruB","followers_url":"https://api.github.com/users/andoruB/followers","following_url":"https://api.github.com/users/andoruB/following{/other_user}","gists_url":"https://api.github.com/users/andoruB/gists{/gist_id}","starred_url":"https://api.github.com/users/andoruB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andoruB/subscriptions","organizations_url":"https://api.github.com/users/andoruB/orgs","repos_url":"https://api.github.com/users/andoruB/repos","events_url":"https://api.github.com/users/andoruB/events{/privacy}","received_events_url":"https://api.github.com/users/andoruB/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-01-08T19:29:04Z","updated_at":"2015-01-10T05:11:04Z","closed_at":null,"body":"So running the wx flavour of the vbam GUI gives me \"An assertion failed!\" followed by:\r\n\r\n> ../src/gtk/scrolwin.cpp(205): assert \"scrolled\" failed in DoShowScrollbars(): window must be created\r\n\r\nHere's the backtrace:\r\n\r\n> [1] wxScrollHelper::DoShowScrollbars(wxScrollbarVisibility, wxScrollbarVisibility)\r\n> [2] wxScrolledWindowXmlHandler::DoCreateResource()\r\n> [3] wxXmlResourceHandlerImpl::CreateResource(wxXmlNode*, wxObject*, wxObject*)\r\n> [4] wxXmlResource::DoCreateResFromNode(wxXmlNode&, wxObject*, wxObject*, wxXmlResourceHandler*)\r\n> [5] wxXmlResourceHandlerImpl::CreateResFromNode(wxXmlNode*, wxObject*, wxObject*)\r\n> [6] wxSizerXmlHandler::Handle_sizeritem()\r\n> [7] wxSizerXmlHandler::DoCreateResource()\r\n> [8] wxXmlResourceHandlerImpl::CreateResource(wxXmlNode*, wxObject*, wxObject*)\r\n> [9] wxXmlResource::DoCreateResFromNode(wxXmlNode&, wxObject*, wxObject*, wxXmlResourceHandler*)\r\n> [10] wxXmlResourceHandlerImpl::CreateChildren(wxObject*, bool)\r\n> [11] wxSizerXmlHandler::Handle_sizer()\r\n> [12] wxSizerXmlHandler::DoCreateResource()\r\n> [13] wxXmlResourceHandlerImpl::CreateResource(wxXmlNode*, wxObject*, wxObject*)\r\n> [14] wxXmlResource::DoCreateResFromNode(wxXmlNode&, wxObject*, wxObject*, wxXmlResourceHandler*)\r\n> [15] wxXmlResourceHandlerImpl::CreateChildren(wxObject*, bool)\r\n> [16] wxDialogXmlHandler::DoCreateResource()\r\n> [17] wxXmlResourceHandlerImpl::CreateResource(wxXmlNode*, wxObject*, wxObject*)\r\n> [18] wxXmlResource::DoCreateResFromNode(wxXmlNode&, wxObject*, wxObject*, wxXmlResourceHandler*)\r\n> [19] wxXmlResource::DoLoadObject(wxWindow*, wxString const&, wxString const&, bool)\r\n> [20] wxXmlResource::LoadObject(wxWindow*, wxString const&, wxString const&)\r\n> [21] MainFrame::InitMore()\r\n> [22] wxvbamApp::OnInit()\r\n> [23] wxAppConsoleBase::CallOnInit()\r\n> [24] wxEntry(int&, wchar_t**)\r\n> [25] wxEntry(int&, char**)\r\n> [26] main\r\n> [27] __libc_start_main\r\n> [28] _start\r\n\r\nClicking on \"Continue\" brings up the GUI with the following error:\r\n\r\n> 21:05:46: Failed to create a temporary file name (error 2: No such file or directory)\r\n> 21:05:46: can't open user configuration file.\r\n\r\nAfter that the GUI is usable, except when I open menu entries, I get yet another assertion failed error:\r\n\r\n> ASSERT INFO:\r\n> /usr/include/wx-3.0/wx/object.h(160): assert \"wxDynamicCast(ptr, T)\" failed in wxCheckCast(): wxStaticCast() used incorrectly\r\n> \r\n> BACKTRACE:\r\n> [1] wxDialog* wxCheckCast<wxDialog>(void const*, wxDialog*)\r\n> [2] MainFrame::DoDisplayConfigure()\r\n> [3] MainFrame::OnDisplayConfigure(wxCommandEvent&)\r\n> [4] wxAppConsoleBase::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const\r\n> [5] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const\r\n> [6] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)\r\n> [7] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)\r\n> [8] wxEvtHandler::TryHereOnly(wxEvent&)\r\n> [9] wxEvtHandler::ProcessEventLocally(wxEvent&)\r\n> [10] wxEvtHandler::ProcessEvent(wxEvent&)\r\n> [11] wxWindowBase::TryAfter(wxEvent&)\r\n> [12] wxEvtHandler::ProcessEvent(wxEvent&)\r\n> [13] wxEvtHandler::SafelyProcessEvent(wxEvent&)\r\n> [14] wxWindowBase::HandleWindowEvent(wxEvent&) const\r\n> [15] wxMenuBase::SendEvent(int, int)\r\n> [16] g_cclosure_marshal_VOID__VOID\r\n> [17] g_closure_invoke\r\n> [18] g_signal_emit_valist\r\n> [19] g_signal_emit\r\n> [20] gtk_widget_activate\r\n> [21] gtk_menu_shell_activate_item\r\n> [22] g_closure_invoke\r\n> [23] g_signal_emit_valist\r\n> [24] g_signal_emit\r\n> [25] gtk_propagate_event\r\n> [26] gtk_main_do_event\r\n> [27] g_main_context_dispatch\r\n> [28] g_main_loop_run\r\n> [29] gtk_main\r\n> [30] wxGUIEventLoop::DoRun()\r\n> [31] wxEventLoopBase::Run()\r\n> [32] wxAppConsoleBase::MainLoop()\r\n> [33] wxAppConsoleBase::OnRun()\r\n> [34] wxAppBase::OnRun()\r\n> [35] wxEntry(int&, wchar_t**)\r\n> [36] wxEntry(int&, char**)\r\n> [37] main\r\n> [38] __libc_start_main\r\n> [39] _start\r\n\r\nClicking on \"Continue\" closes the GUI/emulator.\r\n\r\nThis happens to all menu entries, except \"Open\" and those under the \"Emulation\" menu."},"comment":{"url":"https://api.github.com/repos/EmperorArthur/VBA-M/issues/comments/69442089","html_url":"https://github.com/EmperorArthur/VBA-M/issues/5#issuecomment-69442089","issue_url":"https://api.github.com/repos/EmperorArthur/VBA-M/issues/5","id":69442089,"user":{"login":"EmperorArthur","id":1515637,"avatar_url":"https://avatars.githubusercontent.com/u/1515637?v=3","gravatar_id":"","url":"https://api.github.com/users/EmperorArthur","html_url":"https://github.com/EmperorArthur","followers_url":"https://api.github.com/users/EmperorArthur/followers","following_url":"https://api.github.com/users/EmperorArthur/following{/other_user}","gists_url":"https://api.github.com/users/EmperorArthur/gists{/gist_id}","starred_url":"https://api.github.com/users/EmperorArthur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmperorArthur/subscriptions","organizations_url":"https://api.github.com/users/EmperorArthur/orgs","repos_url":"https://api.github.com/users/EmperorArthur/repos","events_url":"https://api.github.com/users/EmperorArthur/events{/privacy}","received_events_url":"https://api.github.com/users/EmperorArthur/received_events","type":"User","site_admin":false},"created_at":"2015-01-10T05:11:04Z","updated_at":"2015-01-10T05:11:04Z","body":"The reason git complained was \"userwxgtk2\" vs \"userwxgtk2\" you snuck an extra 'r' into the git checkout.  I just did the same thing, so it's not a big deal.\r\n\r\nYou can just copy and paste this into git \"git fetch -f;git checkout remotes/origin/usewxgtk2\"\r\n\r\nOtherwise git will complain.\r\nIf you want to see what I'm doing you can type \"git gui&\" under \"Repository\" click \"Visualize All Branch History\".\r\nIt's like git log, but easier to read."}}