error while connecting to google assistant with my raspberry pi - raspberry-pi3

I'm following this tutorial here:
https://www.hackster.io/Salmanfarisvp/googlepi-google-assistant-on-raspberry-pi-9f3677
to use Google Asistant on my Raspberry Pi 3.
I got to step 4 (using the updated SDK) but I get the following output:
INFO:root:Connecting to embeddedassistant.googleapis.com
WARNING:root:Device config not found: [Errno 2] No such file or directory: '/home/pi/.config/googlesamples-assistant/device_config.json'
INFO:root:Registering device
ERROR:root:Option --device-model-id required when registering a device instance
There are some mentions of the same error but the solution presented there doesn't work for me (I already updated the library to the latest version)
Any help would be greatly appreciated.
Thank you !

Please follow this step in the documentation to register a device model.
Then you should include the --device-model-id parameter when you run the sample.
googlesamples-assistant-pushtotalk --project-id my-dev-project --device-model-id my-model

Related

psqlodbc driver not found on heroku despite being in my app directory

I am trying to get RODBC to work on heroku. I have a rails app that calls an R script from RinRuby, which then queries the production database in order to do some analysis. It all works fine on my local Mac, so I thought the best approach was to use the binary compiled on my Max (psqlodbcw.so) into my repo, and reference it in production as well. Unfortunately, when I try to make the connection in production using this connection string:
> library(RODBC)
> dbhandle <- odbcDriverConnect('driver=./psqlodbcw.so;database=nw_server_production;trusted_connection=true;uid=nw_server')
Warning messages:
1: In odbcDriverConnect("driver=./psqlodbcw.so;database=<db_name>;trusted_connection=true;uid=<user>") :
[RODBC] ERROR: state 01000, code 0, message [unixODBC][Driver Manager]Can't open lib './psqlodbcw.so' : file not found
2: In odbcDriverConnect("driver=./psqlodbcw.so;database=<db_name>;trusted_connection=true;uid=<user>?") :
ODBC connection failed
I have seen this error in a similar post online here, but using SQL server instead of postgres. But the accepted answer on that post doesn't explain why the file isn't found, despite being in the app directory. I did follow the same approach and made my own custom buildpack (available here: https://github.com/NovaWulf/r-rodbc-buildpack). I replaced the .so file with the one I compiled on my mac, and simply deleted the .rll file and the code that copies it, since I don't have that file (and hopefully don't need it for psqlodbc?). When I run that buildpack it runs without error on heroku, but then when I reference the .so file copied from the buildpack, I get the same "file not found" error.
Is this happening because the .so file was compiled on the wrong system architecture? I tried compiling psqlodbc on linux, but I do not get a psqlodbcq.so file when I do that (let alone an .rll file). The closest thing I get is a file called libodbcpsqlS.so, which is a setup file, not a driver file.
Could someone please help me understand the best approach to this problem? Why is heroku not seeing the file that is not there? And what is the best solution? Is there a simple way to just download the correct driver file somewhere?
Any help is much appreciated!
Best,
Paul

unable to find a device matching 0451:f432

recently I bought a msp430g2553 launchpad, I use ubuntu20 as my OS and Iinstalled gcc-msp, so far ok.. but when I try to debug like this "mspdebug rf2500" but i received this error:
usbutil: unable to find a device matching 0451:f432
I am a noob so I do not how to solve.. Any idea?

Building Automotive Grade Linux for Raspberry Pi

I am currently trying to run the AGL demo platform on the RaspberryPi3.
I have proceeded according to the following instructions:
Building the AGL Demo Platform for Raspberry Pi instructions
However, the output Image tmp/deploy/images/raspberrypi3/agl-demo-platform-raspberrypi2.wic.xz as specified in the link is not created when building with bitbake.
Instead only one image file is created: tmp/deploy/images/raspberrypi3/agl-demo-platform-raspberrypi3.rpi-sdimg.xz
When trying to copy the image file to the SD card (with etcher and the following command line:
sudo dd if=./<file-Name.rpi-sdimg of>=<sdCard>) the demo cannot be started. When booting the RaspberryPi only a black screen appears.
But if I use the following .wic.xz from
raspberrypi3/deploy/images/raspberrypi3 - Files
and copy it to the SD card everything works fine.
Why does the image file not work and why does "Bitbake" not create a .wic.xz, although everything is done as described in the instructions from AGL?
I had also got a similar error.
I do not know the reason but this fixed the issue.
xzcat output-img.xz | sudo dd of=[sdcard] bs=4M

RCTSinglelineTextInputView.h file not found (RNTextInputMask.m)

When I want to build my react-native app in xCode I get an error.
RCTSinglelineTextInputView.h file not found
in file (RNTextInputMask.m)
This is connected to https://github.com/react-native-community/react-native-text-input-mask, I've done two addtional steps from the guide.

On running my first simulation of castalia, i get the following error

Simulation terminated with exit code: 139 Working directory: /home/roopali/omnetpp-4.6/samples/Castalia_proj/Simulations/Parameters Command line: ../../src/Castalia_proj -r 0 -n ..:../../src First_Obj.ini
Environment variables: PATH=/home/roopali/omnetpp-4.6/bin::/home/roopali/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games LD_LIBRARY_PATH=/home/roopali/omnetpp-4.6/lib:: OMNETPP_IMAGE_PATH=/home/roopali/omnetpp-4.6/images
I have tried making this simulation using the steps on page https://chevy67.wordpress.com/tag/castalia/
The blog post you linked (and tried to follow instructions from) refers to a very old version of Castalia. Follow the installation guidelines found in the official repo for Castalia:
https://github.com/boulis/Castalia
After you have installed Castalia successfully, read the manual (found again in the above link), especially Chapter 3, to run your first simulation.

Resources