Trying to report an bug/issue, but
https://github.com/boatbod/op25/issues doesn't work, goes to wrong place, and there is no link on the main page of it.
BUG: Program dies due to uncaught exception
Details:
When updating the metadata/"tags" to IceCast, if the connection has died for some reason, LAN goes down, what ever... There is an uncaught exception which will kill OP25 running.
1547434556.069343 set tgid=53, srcaddr=0 Exception in thread Thread-4: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/home/pi/op25/op25/gr-op25_repeater/apps/icemeta.py", line 60, in run self.send_metadata(self.msg.to_string()) File "/home/pi/op25/op25/gr-op25_repeater/apps/icemeta.py", line 77, in send_metadata r = requests.get((requestToSend), auth=("source",self.cfg['icecastPass'])) File "/usr/lib/python2.7/dist-packages/requests/api.py", line 70, in get return request('get', url, params=params, **kwargs) File "/usr/lib/python2.7/dist-packages/requests/api.py", line 56, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 488, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 609, in send r = adapter.send(request, **kwargs) File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 487, in send raise ConnectionError(e, request=request) ConnectionError: HTTPConnectionPool(host='audio.myserver.net', port=8000): Max retries exceeded with url: /admin/metadata?mount=/RedactedFeed&mode=updinfo&song=[idle] (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x691bc8d0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
This is not about an issue with the connection, there was, and eventually led to the Pi being replaced as faulty or melted down from use of OP25 :) ;)
If the max retries is exceeded or any error where the update fails, it shouldn't kill OP25 from running...
Glad to add to the issues section of github, but see top part, for some reason its not there. (??????)
I added code a little while back that is supposed to catch the connection error exception. Are you sure you are running the latest code?
Graham
On Thu, Jan 17, 2019, 8:53 AM <op25@zellners.com wrote:
Trying to report an bug/issue, but
https://github.com/boatbod/op25/issues doesn't work, goes to wrong place, and there is no link on the main page of it.
BUG: Program dies due to uncaught exception
Details:
When updating the metadata/"tags" to IceCast, if the connection has died for some reason, LAN goes down, what ever... There is an uncaught exception which will kill OP25 running.
1547434556.069343 set tgid=53, srcaddr=0 Exception in thread Thread-4: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/home/pi/op25/op25/gr-op25_repeater/apps/icemeta.py", line 60, in run self.send_metadata(self.msg.to_string()) File "/home/pi/op25/op25/gr-op25_repeater/apps/icemeta.py", line 77, in send_metadata r = requests.get((requestToSend), auth=("source",self.cfg['icecastPass'])) File "/usr/lib/python2.7/dist-packages/requests/api.py", line 70, in get return request('get', url, params=params, **kwargs) File "/usr/lib/python2.7/dist-packages/requests/api.py", line 56, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 488, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 609, in send r = adapter.send(request, **kwargs) File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 487, in send raise ConnectionError(e, request=request) ConnectionError: HTTPConnectionPool(host='audio.myserver.net', port=8000): Max retries exceeded with url: /admin/metadata?mount=/RedactedFeed&mode=updinfo&song=[idle] (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x691bc8d0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
This is not about an issue with the connection, there was, and eventually led to the Pi being replaced as faulty or melted down from use of OP25 :) ;)
If the max retries is exceeded or any error where the update fails, it shouldn't kill OP25 from running...
Glad to add to the issues section of github, but see top part, for some reason its not there. (??????)
Quoting Graham Norbury gnorbury@bondcar.com:
I added code a little while back that is supposed to catch the connection error exception. Are you sure you are running the latest code?
If this was added after 1/1/19, then no.
And just how is this updated????
Repeat the following ?????
git clone https://github.com/boatbod/op25.git
cd op25
./install.sh
On Mon, Jan 21, 2019 at 5:59 AM op25@zellners.com wrote:
Quoting Graham Norbury gnorbury@bondcar.com:
I added code a little while back that is supposed to catch the connection error exception. Are you sure you are running the latest code?
If this was added after 1/1/19, then no.
And just how is this updated????
Repeat the following ?????
git clone https://github.com/boatbod/op25.git
cd op25
./install.sh
If you still have your local clone from before, and haven't made any (conflicting) changes, you can just 'cd' there and do 'git pull', then './install.sh'.
Otherwise you could make a completely new clone, but if you added any config files inside the old one, you'd have to copy them over to the new one.
Looks like this is the change you need:
commit 01de7f817cd5e2b9f5e7a39981259b1323a078a8 Author: Graham Norbury gnorbury@bondcar.com Date: Tue Jan 8 22:18:51 2019 -0500
Added exception handler for network problems and connection timeouts
~iain
Quoting iain macdonnell - N6ML ar@dseven.org:
If you still have your local clone from before, and haven't made any (conflicting) changes, you can just 'cd' there and do 'git pull', then './install.sh'.
Otherwise you could make a completely new clone, but if you added any config files inside the old one, you'd have to copy them over to the new one.
I no changes, but yeah, I figured the configs would need to be backed up, as well as the log(s)... I keep the logs for analysis purposes... :)
We'll see if I get this far today in the lab.
Future , I will probably have to fork, and then figure out how to merge down changes to my fork as I need to make some changes in places, add some things in a couple areas for my specific needs, which appear to be already rejected upstream.
git and compiling not my thing... I just updated my python stuff, and restart. :) No compilers needed. :) ;)
Thanks.
When you fork the nice thing is that you can then "git pull upstream" and changes will automatically merge down unless there is a conflict.
Graham
On 1/23/19 11:17 AM, op25@zellners.com wrote:
Quoting iain macdonnell - N6ML ar@dseven.org:
If you still have your local clone from before, and haven't made any (conflicting) changes, you can just 'cd' there and do 'git pull', then './install.sh'.
Otherwise you could make a completely new clone, but if you added any config files inside the old one, you'd have to copy them over to the new one.
I no changes, but yeah, I figured the configs would need to be backed up, as well as the log(s)... I keep the logs for analysis purposes... :)
We'll see if I get this far today in the lab.
Future , I will probably have to fork, and then figure out how to merge down changes to my fork as I need to make some changes in places, add some things in a couple areas for my specific needs, which appear to be already rejected upstream.
git and compiling not my thing... I just updated my python stuff, and restart. :) No compilers needed. :) ;)
Thanks.
This is not about an issue with the connection, there was, and eventually led to the Pi being replaced as faulty or melted down from use of OP25 :) ;)
I too had a bricked PI - suspect that it was due to my omission -- failure to install the 2 heatsinks. Could you please confirm whether or not your failed PI had the heatsinks installed... Max On Thursday, January 17, 2019, 8:53:21 AM EST, op25@zellners.com wrote:
Trying to report an bug/issue, but
https://github.com/boatbod/op25/issues doesn't work, goes to wrong place, and there is no link on the main page of it.
BUG: Program dies due to uncaught exception
Details:
When updating the metadata/"tags" to IceCast, if the connection has died for some reason, LAN goes down, what ever... There is an uncaught exception which will kill OP25 running.
1547434556.069343 set tgid=53, srcaddr=0 Exception in thread Thread-4: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/home/pi/op25/op25/gr-op25_repeater/apps/icemeta.py", line 60, in run self.send_metadata(self.msg.to_string()) File "/home/pi/op25/op25/gr-op25_repeater/apps/icemeta.py", line 77, in send_metadata r = requests.get((requestToSend), auth=("source",self.cfg['icecastPass'])) File "/usr/lib/python2.7/dist-packages/requests/api.py", line 70, in get return request('get', url, params=params, **kwargs) File "/usr/lib/python2.7/dist-packages/requests/api.py", line 56, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 488, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 609, in send r = adapter.send(request, **kwargs) File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 487, in send raise ConnectionError(e, request=request) ConnectionError: HTTPConnectionPool(host='audio.myserver.net', port=8000): Max retries exceeded with url: /admin/metadata?mount=/RedactedFeed&mode=updinfo&song=[idle] (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x691bc8d0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
This is not about an issue with the connection, there was, and eventually led to the Pi being replaced as faulty or melted down from use of OP25 :) ;)
If the max retries is exceeded or any error where the update fails, it shouldn't kill OP25 from running...
Glad to add to the issues section of github, but see top part, for some reason its not there. (??????)
Quoting ikjtel ikj1234i@yahoo.com:
This is not about an issue with the connection, there was, and eventually led to the Pi being replaced as faulty or melted down from use of OP25 :) ;)
I too had a bricked PI - suspect that it was due to my omission -- failure to install the 2 heatsinks. Could you please confirm whether or not your failed PI had the heatsinks installed...
NO HEATSINKS.
The new one does, and actually I am putting it and others in a case(s) WITH FAN(S).
USB ports seem to be "warm" as well.