The Wayback Machine - https://web.archive.org/web/20201201045316/https://github.com/leon-ai/leon/issues/37
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a tutorial to install on a Raspberry Pi #37

Open
borisrorsvort opened this issue Feb 22, 2019 · 19 comments
Open

Add a tutorial to install on a Raspberry Pi #37

borisrorsvort opened this issue Feb 22, 2019 · 19 comments

Comments

@borisrorsvort
Copy link

@borisrorsvort borisrorsvort commented Feb 22, 2019

Documentation Is:

  • Missing
  • Needed
  • Confusing
  • Not Sure?

Explanation

I guess the ideal setup would be to install it on a raspberry pi or similar board, make it listen in the current room, and plug it to your favorite speakers.

Proposal

It might be nice to add some tutorial about small boards install.

@louistiti
Copy link
Member

@louistiti louistiti commented Feb 22, 2019

Hello @borisrorsvort,

Thanks for suggesting, and yes, I plan to create such contents later on.

However, if you want to get your hands dirty by doing it, then you are more than welcome 😉

@asabya
Copy link

@asabya asabya commented Mar 1, 2019

@louistiti, can I hijack this one?? 😅😅

@louistiti
Copy link
Member

@louistiti louistiti commented Mar 1, 2019

Hello @Sab94,

Yes with pleasure! Let us know once you have something.

@Thibaud-A
Copy link

@Thibaud-A Thibaud-A commented Mar 2, 2019

Hello,

I tried to do it on my own but unfortunatly I got this error :
image
If you get the way to fix it by loading another library it could interrested me ;-)
I'm on a Pi 2 B.

@mbwhite
Copy link

@mbwhite mbwhite commented Apr 26, 2019

I've started on some notes here...
https://gist.github.com/mbwhite/2de7326d4680591101a27a53315a11b8

At present though I want to learn more about how Leon is working on vanilla ubuntu before heading back to the PI.

@radiohazard-dev
Copy link

@radiohazard-dev radiohazard-dev commented May 4, 2019

I have an older Raspberry Pi to test this on, and I could test it once I get back from traveling at the moment. I had a newer Pi 3, like @mbwhite's but I broke an I/O component while testing the GPIO pins.

@louistiti
Copy link
Member

@louistiti louistiti commented May 4, 2019

Nice! Looking forward to see that then. I'll also need to jump into that topic later on.

Enjoy your trip! 😄

@kominoshja
Copy link

@kominoshja kominoshja commented May 4, 2019

I'm planning to write a blog about installing Leon on Ubuntu 18.04 if that helps anyone

@radiohazard-dev
Copy link

@radiohazard-dev radiohazard-dev commented May 4, 2019

@kominoshja, as I always run into one error and another, It'd be much appreciated. Thanks!

@louistiti
Copy link
Member

@louistiti louistiti commented May 4, 2019

@kominoshja awesome, let us know once you are done with it, I'll add the blog post link to the How-To section of the docs.

@Shrubhog oh really, do not hesitate to open issues then 😉

@radiohazard-dev
Copy link

@radiohazard-dev radiohazard-dev commented May 5, 2019

I have started building and installing Leon's dependencies. My notes can be found here. I have also diagnosed the issue with the Pi 3 and might fix it and test Leon there as well.

@radiohazard-dev
Copy link

@radiohazard-dev radiohazard-dev commented May 5, 2019

I will clone the latest branch first.

@radiohazard-dev
Copy link

@radiohazard-dev radiohazard-dev commented May 5, 2019

It seems my Pi does not have enough space to support it right now. I'll try deleting some other files later.

@louistiti
Copy link
Member

@louistiti louistiti commented May 5, 2019

Hello @Shrubhog,

Alright, thanks for keeping us updated and for handling it!

@shashwataggarwal
Copy link

@shashwataggarwal shashwataggarwal commented Nov 10, 2019

@borisrorsvort @louistiti is this issue still open?

@louistiti
Copy link
Member

@louistiti louistiti commented Nov 10, 2019

Yes it is. I'm taking my time on my current project but will come back to work on Leon later on for sure 😉

@Tejaswgupta
Copy link

@Tejaswgupta Tejaswgupta commented Feb 16, 2020

I see that it is not assigned to anyone . can I work on this.

@louistiti
Copy link
Member

@louistiti louistiti commented Feb 16, 2020

Sure you can work on it. I'll need to also take a look at it once I'll be back.

This was referenced Feb 19, 2020
@Tetsujinfr
Copy link

@Tetsujinfr Tetsujinfr commented Oct 6, 2020

Hi
did anyone managed to get it working on RPI?
I did sudo install all the dependencies without issues.
I am trying to install it on the Jetson NX, I have have some mysterious errors during the SUDO NPM INSTALL:

...
CXX(target) Release/obj.target/gpr/deps/grpc/src/core/lib/gpr/wrap_memcpy.o
CXX(target) Release/obj.target/gpr/deps/grpc/src/core/lib/gprpp/fork.o
CXX(target) Release/obj.target/gpr/deps/grpc/src/core/lib/gprpp/thd_posix.o
CXX(target) Release/obj.target/gpr/deps/grpc/src/core/lib/gprpp/thd_windows.o
CXX(target) Release/obj.target/gpr/deps/grpc/src/core/lib/profiling/basic_timers.o
CXX(target) Release/obj.target/gpr/deps/grpc/src/core/lib/profiling/stap_timers.o
AR(target) Release/obj.target/libgpr.a
COPY Release/libgpr.a
CXX(target) Release/obj.target/grpc_node/ext/byte_buffer.o
In file included from ../../nan/nan_new.h:189:0,
from ../../nan/nan.h:223,
from ../ext/byte_buffer.cc:21:
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan:👿:FactoryBasev8::StringObject::return_t Nan:👿:Factoryv8::StringObject::New(v8::Localv8::String)’:
../../nan/nan_implementation_12_inl.h:356:37: error: no matching function for call to ‘v8::StringObject::New(v8::Localv8::String&)’
return v8::StringObject::New(value).Asv8::StringObject();
^
In file included from /home/tetsfr/.cache/node-gyp/12.17.0/include/node/node.h:67:0,
from ../../nan/nan.h:53,
from ../ext/byte_buffer.cc:21:
/home/tetsfr/.cache/node-gyp/12.17.0/include/node/v8.h:5531:23: note: candidate: static v8::Localv8::Value v8::StringObject::New(v8::Isolate*, v8::Localv8::String)
static Local New(Isolate* isolate, Local value);
^~~
/home/tetsfr/.cache/node-gyp/12.17.0/include/node/v8.h:5531:23: note: candidate expects 2 arguments, 1 provided
In file included from ../../nan/nan_new.h:189:0,
from ../../nan/nan.h:223,
from ../ext/byte_buffer.cc:21:
../../nan/nan_implementation_12_inl.h:356:58: error: expected primary-expression before ‘>’ token
return v8::StringObject::New(value).Asv8::StringObject();
^
../../nan/nan_implementation_12_inl.h:356:60: error: expected primary-expression before ‘)’ token
return v8::StringObject::New(value).Asv8::StringObject();
^
grpc_node.target.mk:186: recipe for target 'Release/obj.target/grpc_node/ext/byte_buffer.o' failed
make: *** [Release/obj.target/grpc_node/ext/byte_buffer.o] Error 1
make: Leaving directory '/media/tetsfr/SSD/leon/node_modules/grpc/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 4.9.140-tegra
...

Not sure where this one comes from? the compilation did start ok and ran fine for like 5 mins and then crashed. seems to be related to some string function compile error on Arm8 (Jetson NX cpu), not 100% sure though.

thanks for your help on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.