Crash from requests.dynamic fed with requests with network URIs instead of files. #4306
AEManov20
started this conversation in
User Support
Replies: 1 comment 1 reply
-
Hi! Thanks for reporting. Most likely, this is an exception that should not be surfaced. I think that, due to the logic of your script, some of the request are created empty or failed to resolve. However, the code responsible for logging the failure has a bug that raises an exception. #4307 should take care of the exception. Once it's merged, the runtime should properly describe the underlying request resolution failure. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Greetings,
In my script i have a
requests.dynamic
variable which stores the main song queue of the radio withprefetch = 2
. It fetches the songs from the following function:The
playlist_filenames
variable is a list with all of the playlist's songs' URIs and the function just goes over the list in order and then loops over when the playlist is over. The behaviour of course is different whenis_shuffle()
is true.During runtime after the 2nd song is over the script crashes (stack trace below) and the error seems to originate from
Request.initial_uri
beingNone
.This error popped up amidst the process of migrating from Liquidsoap version 2.2.5 to 2.3.0. The same script works perfectly fine on 2.2.5.
Any ideas where the error could originate from?
Thanks in advance!
Stack trace:
Beta Was this translation helpful? Give feedback.
All reactions