Audacity does not work

Hi,
I made a qube for offline document creation with libreoffice,audacity …etc

But audacity not work : it start but i have this massage

ASSERT INFO:
/builddir/build/BUILD/Audacity-3.1.3-Source/libraries/lib-audio-devices/AudioIOBase.cpp(686): assert “false” failed in getRecordDevIndex().

BACKTRACE:
[1] AudioIOBase::getRecordDevIndex(wxString const&)
[2] AudioIOBase::HandleDeviceChange()
[3] AudioIO::AudioIO()
[4] AudioIO::Init()
[5] AudacityApp::InitPart2()
[6] AudacityApp::OnInit()
[7] wxEntry(int&, wchar_t**)
[8] main
[9] __libc_start_main
[10] _start

I have to clique continue and i can open .aup but when i try to listen it in audacity i have this message:

ASSERT INFO:
/builddir/build/BUILD/Audacity-3.1.3-Source/libraries/lib-audio-devices/AudioIOBase.cpp(629): assert “false” failed in getPlayDevIndex().

BACKTRACE:
[1] AudioIOBase::getPlayDevIndex(wxString const&)
[2] AudioIO::StartPortAudioStream(AudioIOStartStreamOptions const&, unsigned int, unsigned int, sampleFormat)
[3] AudioIO::StartStream(TransportTracks const&, double, double, double, AudioIOStartStreamOptions const&)
[4] ProjectAudioManager::PlayPlayRegion(SelectedRegion const&, AudioIOStartStreamOptions const&, PlayMode, bool)
[5] ProjectAudioManager::PlayCurrentRegion(bool, bool)
[6] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[7] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[8] wxEvtHandler::TryHereOnly(wxEvent&)
[9] wxEvtHandler::ProcessEventLocally(wxEvent&)
[10] wxEvtHandler::ProcessEvent(wxEvent&)
[11] wxWindowBase::TryAfter(wxEvent&)
[12] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[13] AButton::Click()
[14] AButton::OnMouseEvent(wxMouseEvent&)
[15] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[16] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[17] wxEvtHandler::TryHereOnly(wxEvent&)
[18] wxEvtHandler::ProcessEventLocally(wxEvent&)
[19] wxEvtHandler::ProcessEvent(wxEvent&)
[20] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[21] g_closure_invoke
[22] g_signal_emit_valist
[23] g_signal_emit
[24] gtk_main_do_event
[25] g_main_context_dispatch
[26] g_main_loop_run
[27] gtk_main
[28] wxGUIEventLoop::DoRun()
[29] wxEventLoopBase::Run()
[30] wxAppConsoleBase::MainLoop()
[31] AudacityApp::OnRun()
[32] wxEntry(int&, wchar_t**)
[33] main
[34] __libc_start_main
[35] _start

I think i have no output audio connect to it but i don’t now what to do fot connect one. I have my mic in my sys usb

apt install -y pulseaudio-qubes

This is already installed.

the error i got whene i try to play something in audacity

ASSERT INFO:
/builddir/build/BUILD/Audacity-3.1.3-Source/libraries/lib-audio-devices/AudioIOBase.cpp(629): assert “false” failed in getPlayDevIndex().

BACKTRACE:
[1] AudioIOBase::getPlayDevIndex(wxString const&)
[2] AudioIO::StartPortAudioStream(AudioIOStartStreamOptions const&, unsigned int, unsigned int, sampleFormat)
[3] AudioIO::StartStream(TransportTracks const&, double, double, double, AudioIOStartStreamOptions const&)
[4] ProjectAudioManager::PlayPlayRegion(SelectedRegion const&, AudioIOStartStreamOptions const&, PlayMode, bool)
[5] ProjectAudioManager::PlayCurrentRegion(bool, bool)
[6] CommandManager::HandleCommandEntry(AudacityProject&, CommandListEntry const*, std::bitset<64ul>, bool, wxEvent const*, CommandContext const*)
[7] CommandManager::FilterKeyEvent(AudacityProject*, wxKeyEvent const&, bool)
[8] std::_Function_handler<bool (wxKeyEvent&), InstallHandlers::InstallHandlers()::{lambda(wxKeyEvent&)#2}>::_M_invoke(std::_Any_data const&, wxKeyEvent&)
[9] wxEvtHandler::ProcessEvent(wxEvent&)
[10] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[11] g_closure_invoke
[12] g_signal_emit_valist
[13] g_signal_emit
[14] gtk_window_propagate_key_event
[15] g_closure_invoke
[16] g_signal_emit_valist
[17] g_signal_emit
[18] gtk_main_do_event
[19] g_main_context_dispatch
[20] g_main_loop_run
[21] gtk_main
[22] wxGUIEventLoop::DoRun()
[23] wxEventLoopBase::Run()
[24] wxAppConsoleBase::MainLoop()
[25] AudacityApp::OnRun()
[26] wxEntry(int&, wchar_t**)
[27] main
[28] __libc_start_main
[29] _start

Don’t know where it came from/why you’re using that build (or even using the non-privacy respecting Audacity at all) … skip it altogether in favor of audacious and be done w/it?

Audacity from official repos for both debian-11-minimal (v2.4.2) & debian-12-minimal (v3.2.4) plays without issue.

I guess you can check your audio file and/or figure out what flags/configuration your build of v3.1.3 is missing.