Comments (3)
Yeap, can't get it to run on my pi4 via portainer. the error is related to wrong architecture
standard_init_linux.go:228: exec user process caused: exec format error
from genie-server.
So I just found out about this project and have been very excitedly researching it.. I saw the build didn't support rpi in docker hub..
I was however able to build an image for docker/podman for arm64.
Step 1) git clone https://github.com/stanford-oval/almond-server.git
Step 2) cd almond-server
Step 3) docker build -t almond-server .
OR if you are using podman
podman build -t almond-server .
Why this works: building the container image yourself lets your docker/podman engine try to build from the base image that works for your architecture.
Downside- I have built the container successfully, but I can't get it to run.. but I think this is related to some pulse issue I'm going to try to work out since I run RPI headless with a server distro and no pulse.
current runtime error:
> [email protected] start /opt/almond
> node dist/main.js
Frontend initialized in development mode
Failed to load translations: The expression evaluated to a falsy value:
assert_1.default(fs.existsSync(modir))
Snowboy initialized
Uncaught exception: Not available
Error: Not available
at new Context (/opt/almond/node_modules/canberra/index.js:102:24)
at new SoundEffectsApi (/opt/almond/dist/service/platform/index.js:201:21)
at ServerPlatform._ensurePulseAudio (/opt/almond/dist/service/platform/index.js:371:38)
at ServerPlatform.hasCapability (/opt/almond/dist/service/platform/index.js:417:22)
at new AssistantEngine (/opt/almond/node_modules/genie-toolkit/dist/lib/engine/index.js:96:22)
at init (/opt/almond/dist/main.js:62:15)
at main (/opt/almond/dist/main.js:147:19)
Cleaning up
from genie-server.
The error indicates that PulseAudio is not available in the container. You need to mount it from outside, using the podman command in the README.
from genie-server.
Related Issues (20)
- Podman container failed on Ubuntu Mate 21.04 running image almond-server:latest HOT 2
- Why are you using podman? HOT 1
- Training data HOT 7
- Handle gracefully if PulseAudio goes down or restarts
- Genie podman container crashing on startup HOT 2
- PipeWire support HOT 1
- genie-server/node_modules/genie-toolkit/dist/tool/genie.js not found
- Installation instructions contain errors HOT 1
- Request: Instructions for building a real stand-alone server (without dependency on Microsoft) HOT 1
- Running into npm error message on the Pinephone with podman version HOT 3
- Docker port mapping websocket errors HOT 2
- Install on wsl (Windows Subsystem for Linux)
- cannot access http://127.0.0.1:3000 HOT 2
- Server configuration file? HOT 4
- Can not get authorization to work HOT 5
- Certificate has expired. HOT 2
- Issue with USB mic with Genie Home Assistant
- Podman run fails with Error: statfs /genie-server: no such file or directory HOT 2
- Thingpedia Schema Request 404
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from genie-server.