alexa fehler

  • Hallo,


    ich bin mitlerweile am verzweifeln, ich habe versucht alexa auf meinem raspberry zu installieren und bin der Anleitung gefolgt...


    leider bekomme ich bei der ausführung von mvn exec:exec folgenden Fehler

    (Terminal 1 ist aktiv)


    pi@raspberrypi:~/alexa-avs-sample-app/samples/javaclient $ mvn exec:exec -e

    [INFO] Error stacktraces are turned on.

    [INFO] Scanning for projects...

    [INFO]

    [INFO] ------------------------------------------------------------------------

    [INFO] Building Alexa Voice Service Sample Java Client 20160207.8

    [INFO] ------------------------------------------------------------------------

    [INFO]

    [INFO] --- exec-maven-plugin:1.2.1:exec (default-cli) @ sample-java-client ---

    Exception in thread "main" javax.json.stream.JsonParsingException: Unexpected char 103 at (line no=1, column no=1, offset=0)

    at org.glassfish.json.JsonTokenizer.unexpectedChar(JsonTokenizer.java:532)

    at org.glassfish.json.JsonTokenizer.nextToken(JsonTokenizer.java:415)

    at org.glassfish.json.JsonParserImpl$NoneContext.getNextEvent(JsonParserImpl.java:222)

    at org.glassfish.json.JsonParserImpl$StateIterator.next(JsonParserImpl.java:172)

    at org.glassfish.json.JsonParserImpl.next(JsonParserImpl.java:149)

    at org.glassfish.json.JsonReaderImpl.readObject(JsonReaderImpl.java:101)

    at com.amazon.alexa.avs.config.DeviceConfigUtils.readConfigFile(DeviceConfigUtils.java:64)

    at com.amazon.alexa.avs.config.DeviceConfigUtils.readConfigFile(DeviceConfigUtils.java:50)

    at com.amazon.alexa.avs.App.<init>(App.java:39)

    at com.amazon.alexa.avs.App.main(App.java:34)

    [INFO] ------------------------------------------------------------------------

    [INFO] BUILD FAILURE

    [INFO] ------------------------------------------------------------------------

    [INFO] Total time: 3.772 s

    [INFO] Finished at: 2018-11-10T17:28:02+01:00

    [INFO] Final Memory: 8M/20M

    [INFO] ------------------------------------------------------------------------

    [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project sample-java-client: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]

    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project sample-java-client: Command execution failed.

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)

    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)

    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)

    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)

    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)

    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)

    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)

    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)

    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)

    at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:497)

    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)

    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

    Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution failed.

    at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:362)

    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)

    ... 20 more

    Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)

    at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377)

    at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160)

    at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:610)

    at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:352)

    ... 22 more

    [ERROR]

    [ERROR] Re-run Maven using the -X switch to enable full debug logging.

    [ERROR]

    [ERROR] For more information about the errors and possible solutions, please read the following articles:

    [ERROR] [Help 1] http://cwiki.apache.org/conflu…EN/MojoExecutionException



    BITTE UM HILFE Danke lg

  • Einen Fehler konnte ich nun finden aber leider funktioniert es immer nocvh nicht ... hier der neue Fehlerlog

    DANKE FÜR DIE HILFE


    lg

  • Mir sagt die Fehlermeldung leider auch nix - aber bist Du Sicher, dass Du Alexa am Pi haben willst? Ich habe mich auch mal damit gespielt. Leider funktioniert die Suche nach Smart Geräten am Pi nicht - daher war die Alexa am Pi für mich wertlos. Die Performance war auch nicht gerade berauschend...

    Einfacher und meines Erachtens sinnvoller ist die App reverb für Android (also am Handy oder Tablet), die auch die Alexa Funktionalität zur Verfügung stellt...

    ...wenn Software nicht so hard-ware ;-) ...

    Freue mich über jeden like :thumbup: