@Luis-Chalán it seems you don't have portaudio installed which is a dependency for pyaudio. It looks like you are using a OSX so try brew install portaudio. Also check you have the latest version of portaudio code using pip.
I love learning new things and being part of a community of mutual respect and collaboration. Being the dumbest guy in the room is invigorating because there is so much opportunity to learn.
If you want my help, you need to at least demonstrate you have made an effort to examine the problem. I'm not here to do your homework and I'm not here to help you impress your boss. I'm here to help you, to help yourself to impress your boss. Or to point you in the right direction to finish your homework.
If I'm wrong, please tell me, that's how I learn, but if you decide to be rude or unreasonably demanding, don't expect a reply. I absorb positivity and ignore negativity.
If you want drama. watch the "Real Housewives of <insert city>"
Posts made by crispyoz
RE: Cloning one onion to another
Once you clone the git repository to your local system, your source will be in /home/<user>/source
If your setup is different then just transpose my assumption to your reality.
If you want to create a file for example /etc/myapp/mydatafile that will be included in each firmware build, you would create that file in /home/<user>/source/files/etc/myapp/mydatafile
Now when you run make on the firmware source the resultant firmware image will include this file as required in /etc/myapp/mydatafile
Once you have cloned the git repository take a look in <source>/files/etc/uci-defaults you will see a load of numbered script files, these get executed in numeric order when the firmware is deployed so take a look at each of them to see if they may overwrite anything you might be deploying.
Two final hints.
make sure you follow the source installation instructions @UFD pointed you to and follow them step by step. If you take short-cuts, they'll end up being very very very long-cuts. Especially ensure you run onion-minimal-build.sh, it will save you maybe hours in building your firmware.
My last hint (ducking due to controversy) if you can, don't use a docker image it might be easier to set up but it's a dog of a thing, so better just install in a nice ubuntu 18 system and use that.
@Nagendra-yedem you should always include details of what device you have and what firmware verson you are using.
i assume you are using Python, but you didn't mention what version so this would determine how you would install smbus.
First you need to edit /etc/opkg/distfeeds.conf, uncomment line 5. Now run:
If you are using python 2.7 you run the command:
opkg install python-smbus
If you are using python 3 you run the command:
opkg install python3-smbus
RE: Omega2 Protocol Buffer lib
@Pablo-Oyarzo There is protobuf and libprotobuf-c, I've started using libprotobuf-c recently but not much experience so far.
To install edit /etc/opkg/distfeeds.conf uncomment line 5, run opkg update then you cna run
opkg install protobuf
opkg install libprotobuf-c
RE: Cloning one onion to another
@Joshua-O-Leary the typical approach to deploying multiple identical Omega devices is to create your own firmware image and simply deploy it to each device. Firmeware images can include scripts and other files, once you have it set up it's easy to manage.
@Ajit-Parundekar That is something you will need to work out for yourself, the configuration of the firewall alone can vary the impact on resource utilisation. I would suggest you purchase an Omega2+ with power dock on build a POC device. Once you have perfected your build then moe to the Omega2S+. The Omega2+ has an SD Card slot so you can experiment with expanding resources, later you can build your own custom PCB using the Omega2S+ and add an SDCard slot or eMMC if required. I use a 64GB SDCard with my custom PCBs since my app needs to meet some Aussie data retention regulations.
RE: single ubus failure during boot sequence
@Marko-Lukat Sorry I don't have a Omega LTE so I cannot test but from your report it seems you are missing /sbin/usbmode binary. I can't see it in the repos and not in the firmware source pool, so maybe check if you have the latest firmware build installed.
RE: Relay Expansion Obsolete?
@Valen-Varangu-Booth The relay expansion is available directly from Onion https://onion.io/store/relay-expansion/ and also from Mouser, I use a load of them. I don't know if Onion has deprecated it (will scream if they have) but Digikey mark stuff as obsolete when they no longer will continue to stock them.