-
Notifications
You must be signed in to change notification settings - Fork 604
Failed to create SampleApplication - Alexa install Raspberry #2091
Comments
I've got the exact same error, hope someone help us. I'll leave my error message here too holping someone tell us what to do. matheus@raspberrypi:~ $ bash startsample.sh NOTIFICATION INDICATOR STATE: OFF################################################# 2023-08-11 08:44:20.163 [ 1] 5 TemplateRuntime:addObserver |
Sorry, my English is horrible. Therefore, I have translated. Hopefully someone can help! I tried to install the Alexa as in the link below. but it breaks off at the start sample. It always comes up with the same error message
#################################################
NOTIFICATION INDICATOR STATE: OFF
#################################################
2023-06-26 15:31:56.496 [ 1] 5 TemplateRuntime:addObserver
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Expression 'alsa_snd_pcm_hw_params_set_channels( pcm, hwParams, self->numHostChannels )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2051
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2713
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2837
2023-06-26 15:31:57.968 [ 1] C PortAudioMicrophoneWrapper:Failed to open PortAudio default stream:errorCode=-9998
2023-06-26 15:31:57.969 [ 1] C PortAudioMicrophoneWrapper:Failed to initialize PortAudioMicrophoneWrapper
2023-06-26 15:31:58.042 [ 1] C SampleApplication:Failed to create microphone wrapper!
2023-06-26 15:31:58.044 [ 1] C SampleApplication:Failed to initialize SampleApplication
2023-06-26 15:31:58.046 [ 1] 5 NotificationsCapabilityAgent:doShutdown
2023-06-26 15:31:58.047 [ e:26] 5 NotificationsCapabilityAgent:executeShutdown:currentState=IDLE
2023-06-26 15:31:58.048 [ e:26] 5 NotificationsCapabilityAgent:executeSetState:previousState=IDLE,newState=SHUTDOWN
2023-06-26 15:31:58.049 [ 1] 5 ContextManager:removeStateProvider
2023-06-26 15:31:58.054 [ 1] 5 NotificationRenderer:doShutdown
2023-06-26 15:31:58.054 [ 1] 9 MediaPlayer:removeObserverCalled:name=NotificationsMediaPlayer
2023-06-26 15:31:58.054 [ 24] 0 MediaPlayer:handleRemoveObserverCalled:name=NotificationsMediaPlayer
2023-06-26 15:31:58.056 [ 1] 1 FocusManager:releaseChannel:channelName=Earcon
2023-06-26 15:31:58.059 [ e:10] 5 FocusManager:releaseChannelHelper:channelToRelease=Earcon
2023-06-26 15:31:58.060 [ e:10] 0 Channel:releaseActivityFailed::Observer not found
2023-06-26 15:31:58.060 [ e:10] E FocusManager:releaseChannelHelper:reason=releaseActivityFailed,channel=0xfff360,interface=
2023-06-26 15:31:58.061 [ 1] 5 ContextManager:removeStateProvider
2023-06-26 15:31:58.061 [ 1] 5 ContextManager:removeStateProvider
2023-06-26 15:31:58.061 [ 1] 5 ProgressTimer:stop
2023-06-26 15:31:58.062 [ 1] 1 AudioPlayer:executeStop:playNextItem=false,m_currentState=IDLE,sourceId=0
2023-06-26 15:31:58.062 [ 1] 9 PooledMediaPlayerFactory:~PooledMediaPlayerFactory
2023-06-26 15:31:58.063 [ 1] 5 ContextManager:removeStateProvider
2023-06-26 15:31:58.064 [ 1] 9 AlertsCapabilityAgent:releaseChannel
2023-06-26 15:31:58.066 [ 1] 5 Renderer:doShutdown
2023-06-26 15:31:58.066 [ 1] 9 MediaPlayer:removeObserverCalled:name=AlertsMediaPlayer
2023-06-26 15:31:58.066 [ 13] 0 MediaPlayer:handleRemoveObserverCalled:name=AlertsMediaPlayer
2023-06-26 15:31:58.067 [ 1] 5 ConditionVariableWrapper:notifyAll
2023-06-26 15:31:58.068 [ 1] 5 ContextManager:removeStateProvider
2023-06-26 15:31:58.068 [ 1] 9 DirectiveSequencer:doShutdown
2023-06-26 15:31:58.068 [ 1] 5 ConditionVariableWrapper:notifyOne
2023-06-26 15:31:58.068 [ d] 9 PowerMonitor:getInstance
2023-06-26 15:31:58.068 [ d] 9 PowerMonitor:removeThreadPowerResource:threadId=1784648704
2023-06-26 15:31:58.069 [ 1] 9 DirectiveProcessor:queueAllDirectivesForCancellationLocked
2023-06-26 15:31:58.070 [ 1] 5 ConditionVariableWrapper:notifyOne
2023-06-26 15:31:58.070 [ c] 9 DirectiveProcessor:processCancelingQueueLocked:size=0
2023-06-26 15:31:58.070 [ c] 9 PowerMonitor:getInstance
2023-06-26 15:31:58.070 [ c] 9 PowerMonitor:removeThreadPowerResource:threadId=1801434112
2023-06-26 15:31:58.072 [ 1] 9 DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=System,name=ReportState,handler=0x1212408,policy= Mediums:MEDIUMS_NONE00 .isBlocking:False
2023-06-26 15:31:58.073 [ 1] 9 DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=System,name=SetTimeZone,handler=0x12105c8,policy= Mediums:MEDIUMS_NONE00 .isBlocking:False
2023-06-26 15:31:58.073 [ 1] 9 DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=System,name=SetLocales,handler=0x1211100,policy= Mediums:MEDIUMS_NONE00 .isBlocking:False
2023-06-26 15:31:58.073 [ 1] 9 DirectiveRouter:removeDirectiveHandlers:action=removed,namespace=System,name=ResetUserInactivity,handler=0xf46a94,policy= Mediums:MEDIUMS_NONE00 .isBlocking:False
2023-06-26 15:31:58.074 [ 1] 9 DirectiveRouter:onDeregisteredCalled:handler=0x1212408
2023-06-26 15:31:58.074 [ 1] 9 DirectiveRouter:onDeregisteredCalled:handler=0x12105c8
2023-06-26 15:31:58.074 [ 1] 9 DirectiveRouter:onDeregisteredCalled:handler=0x1211100
2023-06-26 15:31:58.074 [ 1] 9 DirectiveRouter:onDeregisteredCalled:handler=0xf46a94
2023-06-26 15:31:58.074 [ 1] 9 SettingEventSender:cancel
2023-06-26 15:31:58.074 [ 1] 5 ConditionVariableWrapper:notifyAll
2023-06-26 15:31:58.075 [ 1] 5 Executor:destroyed:moniker= e:33
2023-06-26 15:31:58.075 [ 1] 5 Executor:destroyed:moniker= e:31
2023-06-26 15:31:58.076 [ 1] 5 Executor:destroyed:moniker= e:32
2023-06-26 15:31:58.076 [ 1] 5 AVSConnectionManager:doShutdown:this=0xfbe600
2023-06-26 15:31:58.076 [ 1] 5 AVSConnectionManager:disable:this=0xfbe600
2023-06-26 15:31:58.076 [ 1] I MessageRouter:disable
2023-06-26 15:31:58.076 [ 1] I MessageRouter:disconnectAllTransportsLocked:reason=ACL_CLIENT_REQUEST,sizeOf m_transports=0,m_activeTransport=0
2023-06-26 15:31:58.076 [ 1] I MessageRouter:setConnectionStatusLocked:status=DISCONNECTED,reason=ACL_CLIENT_REQUEST
2023-06-26 15:31:58.077 [ 1] I MessageRouter:disable
2023-06-26 15:31:58.077 [ 1] I MessageRouter:disconnectAllTransportsLocked:reason=ACL_CLIENT_REQUEST,sizeOf m_transports=0,m_activeTransport=0
2023-06-26 15:31:58.077 [ 1] I MessageRouter:setConnectionStatusLocked:status=DISCONNECTED,reason=ACL_CLIENT_REQUEST
2023-06-26 15:31:58.077 [ 1] 5 Executor:destroyed:moniker= e:b
2023-06-26 15:31:58.079 [ 1] 5 Executor:destroyed:moniker= e:14
2023-06-26 15:31:58.079 [ 1] 5 Executor:destroyed:moniker= e:21
2023-06-26 15:31:58.080 [ 1] 5 Executor:destroyed:moniker= e:25
2023-06-26 15:31:58.081 [ 1] 5 AuthorizationManager:doShutdown
2023-06-26 15:31:58.081 [ 1] 9 MediaPlayer:doShutdown:name=SpeakMediaPlayer
2023-06-26 15:31:58.082 [ 1] 9 MediaPlayer:doShutdown:name=AudioMediaPlayer
2023-06-26 15:31:58.082 [ 1] 9 MediaPlayer:doShutdown:name=AudioMediaPlayer
2023-06-26 15:31:58.082 [ 1] 9 MediaPlayer:doShutdown:name=NotificationsMediaPlayer
2023-06-26 15:31:58.082 [ 1] 9 MediaPlayer:doShutdown:name=BluetoothMediaPlayer
2023-06-26 15:31:58.082 [ 1] 9 MediaPlayer:doShutdown:name=RingtoneMediaPlayer
2023-06-26 15:31:58.082 [ 1] 9 MediaPlayer:doShutdown:name=AlertsMediaPlayer
2023-06-26 15:31:58.082 [ 1] 9 MediaPlayer:doShutdown:name=SystemSoundMediaPlayer
2023-06-26 15:31:58.082 [ 1] 5 CapabilitiesDelegate:doShutdown
2023-06-26 15:31:58.082 [ 1] 5 CapabilitiesDelegate:resetCurrentDiscoveryEventSender
2023-06-26 15:31:58.083 [ 1] 9 PowerMonitor:getInstance
2023-06-26 15:31:58.083 [ 1] 9 PowerMonitor:deactivate
2023-06-26 15:31:58.083 [ 1] 5 SDKPrimitivesProvider:getInstance
2023-06-26 15:31:58.083 [ 1] 5 SDKPrimitivesProvider:terminate
2023-06-26 15:31:58.083 [ 1] 5 SDKPrimitivesProvider:reset
2023-06-26 15:31:58.084 [ 1] 9 MediaPlayer:~MediaPlayer:name=NotificationsMediaPlayer
2023-06-26 15:31:58.085 [ 1] 9 MediaPlayer:resetPipeline:name=NotificationsMediaPlayer
2023-06-26 15:31:58.086 [ 1] 9 MediaPlayer:~MediaPlayer:name=BluetoothMediaPlayer
2023-06-26 15:31:58.087 [ 1] 9 MediaPlayer:resetPipeline:name=BluetoothMediaPlayer
2023-06-26 15:31:58.087 [ 1] 9 MediaPlayer:~MediaPlayer:name=RingtoneMediaPlayer
2023-06-26 15:31:58.089 [ 1] 9 MediaPlayer:resetPipeline:name=RingtoneMediaPlayer
2023-06-26 15:31:58.089 [ 1] 9 MediaPlayer:~MediaPlayer:name=AlertsMediaPlayer
2023-06-26 15:31:58.090 [ 1] 9 MediaPlayer:resetPipeline:name=AlertsMediaPlayer
2023-06-26 15:31:58.092 [ 1] E ShutdownManager:shutdownAlreadyCalled
2023-06-26 15:31:58.093 [ 1] 5 ExternalMediaPlayer:setObserver
2023-06-26 15:31:58.093 [ 1] 1 AudioPlayer:setObserver
2023-06-26 15:31:58.093 [ 1] W Executor:execute:reason=shutdownState
2023-06-26 15:31:58.094 [ 1] 5 DefaultClient:EndpointRegistrationManagerShutdown
2023-06-26 15:31:58.095 [ 1] 5 CapabilitiesDelegate:removeCapabilitiesObserver:observer=0x120becc
2023-06-26 15:31:58.095 [ 1] W CapabilitiesDelegate:removeCapabilitiesObserverFailed:reason=observerNotAdded
2023-06-26 15:31:58.096 [ 1] 5 DefaultClient:AIPShutdown
2023-06-26 15:31:58.096 [ 1] 0 AudioInputProcessor:executeResetState
2023-06-26 15:31:58.098 [ 1] 5 DefaultClient:SpeechSynthesizerShutdown
2023-06-26 15:31:58.099 [ 1] 9 SpeechSynthesizer:doShutdown
2023-06-26 15:31:58.099 [ 1] 5 ContextManager:removeStateProvider
2023-06-26 15:31:58.099 [ 1] 9 MediaPlayer:removeObserverCalled:name=SpeakMediaPlayer
2023-06-26 15:31:58.100 [ 1] 9 MediaPlayer:~MediaPlayer:name=SpeakMediaPlayer
2023-06-26 15:31:58.101 [ 1] 9 MediaPlayer:resetPipeline:name=SpeakMediaPlayer
2023-06-26 15:31:58.102 [ 1] 5 DefaultClient:CertifiedSenderShutdown.
2023-06-26 15:31:58.103 [ 1] 5 DefaultClient:CallApiGatewayCapabilityAgentShutdown.
2023-06-26 15:31:58.103 [ 1] 5 DefaultClient:EqualizerCapabilityAgentShutdown
2023-06-26 15:31:58.106 [ 1] 5 Executor:destroyed:moniker= e:11
2023-06-26 15:31:58.106 [ 1] 5 InteractionModel:~InteractionModelCapabilityAgent
2023-06-26 15:31:58.107 [ 1] 5 Executor:destroyed:moniker= e:26
2023-06-26 15:31:58.108 [ 1] 5 Executor:destroyed:moniker= e:30
2023-06-26 15:31:58.109 [ 1] 5 Executor:destroyed:moniker= e:28
2023-06-26 15:31:58.111 [ 1] 5 Executor:destroyed:moniker= e:5
2023-06-26 15:31:58.112 [ 1] 5 Executor:destroyed:moniker= e:34
2023-06-26 15:31:58.112 [ 1] 5 AVSGatewayManager:~AVSGatewayManager
2023-06-26 15:31:58.114 [ 1] 5 Executor:destroyed:moniker= e:8
2023-06-26 15:31:58.115 [ 1] 5 Executor:destroyed:moniker= e:e
2023-06-26 15:31:58.117 [ 1] 5 Executor:destroyed:moniker= e:23
2023-06-26 15:31:58.121 [ 1] 5 AudioPlayer:~AudioPlayer
2023-06-26 15:31:58.122 [ 1] 5 Executor:destroyed:moniker= e:22
2023-06-26 15:31:58.122 [ 1] 9 MediaPlayer:~MediaPlayer:name=AudioMediaPlayer
2023-06-26 15:31:58.124 [ 1] 9 MediaPlayer:resetPipeline:name=AudioMediaPlayer
2023-06-26 15:31:58.125 [ 1] 9 MediaPlayer:~MediaPlayer:name=AudioMediaPlayer
2023-06-26 15:31:58.127 [ 1] 9 MediaPlayer:resetPipeline:name=AudioMediaPlayer
2023-06-26 15:31:58.128 [ 1] 5 Executor:destroyed:moniker= e:2f
2023-06-26 15:31:58.130 [ 1] 5 ProgressTimer:stop
2023-06-26 15:31:58.131 [ 1] 5 Executor:destroyed:moniker= e:2d
2023-06-26 15:31:58.132 [ 1] 5 ConditionVariableWrapper:notifyOne
2023-06-26 15:31:58.132 [ 1] 5 ConditionVariableWrapper:notifyOne
2023-06-26 15:31:58.132 [ 16] 9 CertifiedSender:CertifiedSender worker thread done. Exiting mainloop.
2023-06-26 15:31:58.132 [ 16] 9 PowerMonitor:getInstance
2023-06-26 15:31:58.133 [ 16] 9 PowerMonitor:removeThreadPowerResource:threadId=1776256000
2023-06-26 15:31:58.133 [ 1] 5 Executor:destroyed:moniker= e:15
2023-06-26 15:31:58.135 [ 1] 5 Executor:destroyed:moniker= e:10
2023-06-26 15:31:58.135 [ 1] 5 Executor:destroyed:moniker= e:f
2023-06-26 15:31:58.136 [ 1] 5 Executor:destroyed:moniker= e:18
2023-06-26 15:31:58.136 [ 1] 5 Executor:destroyed:moniker= e:17
2023-06-26 15:31:58.137 [ 1] 5 Executor:destroyed:moniker= e:1c
2023-06-26 15:31:58.137 [ 1] 9 SettingEventSender:cancel
2023-06-26 15:31:58.137 [ 1] 5 ConditionVariableWrapper:notifyAll
2023-06-26 15:31:58.137 [ 1] 5 Executor:destroyed:moniker= e:1e
2023-06-26 15:31:58.138 [ 1] 9 SettingEventSender:cancel
2023-06-26 15:31:58.138 [ 1] 5 ConditionVariableWrapper:notifyAll
2023-06-26 15:31:58.138 [ 1] 9 SettingEventSender:cancel
2023-06-26 15:31:58.138 [ 1] 5 ConditionVariableWrapper:notifyAll
2023-06-26 15:31:58.138 [ 1] 5 Executor:destroyed:moniker= e:1d
2023-06-26 15:31:58.138 [ 1] 9 SettingEventSender:cancel
2023-06-26 15:31:58.138 [ 1] 5 ConditionVariableWrapper:notifyAll
2023-06-26 15:31:58.139 [ 1] 5 Executor:destroyed:moniker= e:19
2023-06-26 15:31:58.139 [ 1] 9 SettingEventSender:cancel
2023-06-26 15:31:58.139 [ 1] 5 ConditionVariableWrapper:notifyAll
2023-06-26 15:31:58.139 [ 1] 5 Executor:destroyed:moniker= e:20
2023-06-26 15:31:58.139 [ 1] 5 Executor:destroyed:moniker= e:1f
2023-06-26 15:31:58.140 [ 1] 5 Executor:destroyed:moniker= e:12
Failed to create SampleApplication!
2023-06-26 15:31:58.190 [0] C RequiresShutdown:ShutdownMonitor:reason=never deleted,name=AudioInputProcessor
2023-06-26 15:31:58.190 [0] C RequiresShutdown:ShutdownMonitor:reason=never deleted,name=CapabilitiesDelegate
2023-06-26 15:31:58.190 [0] C RequiresShutdown:ShutdownMonitor:reason=never deleted,name=DirectiveSequencer
2023-06-26 15:31:58.190 [0] C RequiresShutdown:ShutdownMonitor:reason=never deleted,name=EndpointRegistrationManager
2023-06-26 15:31:58.190 [0] C RequiresShutdown:ShutdownMonitor:reason=never deleted,name=DirectiveRouter
2023-06-26 15:31:58.190 [0] C RequiresShutdown:ShutdownMonitor:reason=never deleted,name=AVSConnectionManager
2023-06-26 15:31:58.190 [0] C RequiresShutdown:ShutdownMonitor:reason=no shutdown() call,name: =LocaleAssetsManager
2023-06-26 15:31:58.191 [0] C RequiresShutdown:ShutdownMonitor:reason=never deleted,name=LocaleAssetsManager
2023-06-26 15:31:58.191 [0] C RequiresShutdown:ShutdownMonitor:reason=never deleted,name=AuthorizationManager
2023-06-26 15:31:58.191 [0] C RequiresShutdown:ShutdownMonitor:reason=never deleted,name=SystemSoundMediaPlayer
What version of the AVS Device SDK are you using?
Tell us what hardware you're using:
Tell us about your OS (Type & version):
The text was updated successfully, but these errors were encountered: