Randomly, during a radio stream play, I am getting this error:
Dec 21 11:40:29 pab mopidy[491]: OverflowError: Python int too large to convert to C long
Dec 21 11:40:29 pab mopidy[491]: The above exception was the direct cause of the following exception:
Dec 21 11:40:29 pab mopidy[491]: Traceback (most recent call last):
Dec 21 11:40:29 pab mopidy[491]: File "/usr/local/lib/python3.9/dist-packages/mopidy/audio/actor.py", line 212, in on_message
Dec 21 11:40:29 pab mopidy[491]: elif msg.type == Gst.MessageType.BUFFERING:
Dec 21 11:40:29 pab mopidy[491]: SystemError: <built-in method get_value of gi.FieldInfo object at 0x74a97dd0> returned a result with an error set
Dec 21 11:41:20 pab mopidy[491]: OverflowError: Python int too large to convert to C long
Dec 21 11:41:20 pab mopidy[491]: The above exception was the direct cause of the following exception:
Dec 21 11:41:20 pab mopidy[491]: Traceback (most recent call last):
Dec 21 11:41:20 pab mopidy[491]: File "/usr/local/lib/python3.9/dist-packages/mopidy/audio/actor.py", line 212, in on_message
Dec 21 11:41:20 pab mopidy[491]: elif msg.type == Gst.MessageType.BUFFERING:
Dec 21 11:41:20 pab mopidy[491]: SystemError: <built-in method get_value of gi.FieldInfo object at 0x74a97dd0> returned a result with an error set
We’ve had reports elsewhere of that. If you are still seeing the issue with the latest release (on a more recent supported version of Python) than we can look.
I have just upgraded to Bookworm (and Python 3.11). This is the error in the log:
Dec 22 11:57:39 pab mopidy[996]: OverflowError: Python int too large to convert to C long
Dec 22 11:57:39 pab mopidy[996]: The above exception was the direct cause of the following exception:
Dec 22 11:57:39 pab mopidy[996]: Traceback (most recent call last):
Dec 22 11:57:39 pab mopidy[996]: File "/usr/lib/python3/dist-packages/mopidy/audio/actor.py", line 212, in on_message
Dec 22 11:57:39 pab mopidy[996]: elif msg.type == Gst.MessageType.BUFFERING:
Dec 22 11:57:39 pab mopidy[996]: ^^^^^^^^
I don’t think this issue in in Mopidy code but we can probably suppress the error caused by trying to use the buffering message. Does everything work OK otherwise ?