-
Notifications
You must be signed in to change notification settings - Fork 38
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
Failure to get socket #33
Comments
Hi. That looks like you don't have network.bind_address set in your configuration file. Thanks Dave |
Tried running with a config file with the network.bind_address but got same result. Any suggestions on how to debug this further? Here is the output running in debug mode with network.bind_address=192.168.1.110 in raveloxmidi.conf pi@raspberrypi:~/pimidi-master/raveloxmidi $ raveloxmidi -d -c raveloxmidi.conf |
Hi, that config file doesn't include network.bind_address. Can you show me the debug output when that setting is in there? Can you also show me the contents of the config file? Thanks Dave |
The config file is a one-liner, the ip address is the address of the Pi. The debug output above was with the following line in the config file network.bind_address=192.168.1.110 |
When was the last time you checked out the master branch? I'm running v0.6.0 compiled from master today and I don't see the problem you do. dkelly@ubuntu:~$ cat oneliner.conf dkelly@ubuntu:~$ raveloxmidi -c oneliner.conf -d |
Out of interest, are you sure that raveloxmidi.conf is in the same directory you're in? |
I downloaded the .zip file about 2 weeks ago. The config file is being read, you can see it in the debug output. but it's interesting that in your output the file is prefixed by ./ but not in mine. Maybe I should just do a clean and rebuild. |
OK, problem solved. In my .conf file I had only one line I added a blank line after this 1st line and voila, it ran as expected. Your code probably wants to see a CR/LF at the end of the line. |
Thanks for the information. I'll check through the code and fix it up. I'm using fgets() to read each line but according to the man page, EOF will read it correctly. Glad you found a workaround. |
Here is what I get when I run raveloxmidi (on Rasberry Pi)
[1554059858] ERROR: net_socket_init: Invalid address family [(null)][0]
[1554059858] ERROR: Unable to create sockets
avahi-daemon is running
any ideas?
The text was updated successfully, but these errors were encountered: