Hello,
I'm trying to open 189 files with
[bang( | [openpanel 2]
file names are 1.wav, 2.wav, 3.wav... 189.wav with different sizes from 48,2 to 343,5 KiB
when I use short paths, like home/user/Music/test_samples I'm able to open 112 files with long paths, for ex: home/user/FOLDER_1/Folder_002/Folder_3/folder_4/folder_5/test_samples I can only open 53 files max. more than that, it gives me an error in console: av: no such object
If anyone can explain why this happens and how to overcome these limits I would be very grateful.
thanks in advance! remmy
Pd version 0.52.1 System: Kernel: 5.15.0-91-lowlatency x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Xfce 4.18.1 tk: Gtk 3.24.33 wm: xfwm dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Hi,
looks like there's a size limit for the callback message. I'd suggest to open a ticket on GitHub!
Christof
On 11.01.2024 15:20, Remmy Canedo wrote:
Hello,
I'm trying to open 189 files with
[bang( | [openpanel 2]
file names are 1.wav, 2.wav, 3.wav... 189.wav with different sizes from 48,2 to 343,5 KiB
when I use short paths, like home/user/Music/test_samples I'm able to open 112 files with long paths, for ex: home/user/FOLDER_1/Folder_002/Folder_3/folder_4/folder_5/test_samples I can only open 53 files max. more than that, it gives me an error in console: av: no such object
If anyone can explain why this happens and how to overcome these limits I would be very grateful.
thanks in advance! remmy
Pd version 0.52.1 System: Kernel: 5.15.0-91-lowlatency x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Xfce 4.18.1 tk: Gtk 3.24.33 wm: xfwm dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->https://lists.puredata.info/listinfo/pd-list
(CC: Remmy, not sure if on the Pd mailing list)
looks like there's a size limit for the callback message.
...and it's around 4 kilobytes, from a quick test with very-long-filename-files and the [openpanel] help patch which [print]s the result of [openpanel].
I see one OK and three bad results, depending on the combined length of filenames (which I measure from the output of [print] in the console, i.e. everything after "print: list "):
all filenames.
exceeding 4070 characters, like "aaaaa: no such object".
(Didn't yet bisect the concrete value, 4260 sure triggers it.) Are the error messages length-limited as well? :-)
I'd suggest to open a ticket on GitHub!
Remmy: I can help with that if you like.
Christof
On 11.01.2024 15:20, Remmy Canedo wrote:
Hello,
I'm trying to open 189 files with
[bang( | [openpanel 2]
file names are 1.wav, 2.wav, 3.wav... 189.wav with different sizes from 48,2 to 343,5 KiB
when I use short paths, like home/user/Music/test_samples I'm able to open 112 files with long paths, for ex: home/user/FOLDER_1/Folder_002/Folder_3/folder_4/folder_5/test_samples I can only open 53 files max. more than that, it gives me an error in console: av: no such object
If anyone can explain why this happens and how to overcome these limits I would be very grateful.
thanks in advance! remmy
Pd version 0.52.1 System: Kernel: 5.15.0-91-lowlatency x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Xfce 4.18.1 tk: Gtk 3.24.33 wm: xfwm dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
I'd suggest to open a ticket on GitHub!
Remmy: I can help with that if you like.
Sorry, I missed that it's already here: https://github.com/pure-data/pure-data/issues/2170