Re: [PD] open multiple files limits?

2024-01-11 Thread Albert Rafetseder

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




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] open multiple files limits?

2024-01-11 Thread Albert Rafetseder

(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 "):


* Up to 4069 (sic!) characters, everything is fine. [openpanel] prints 
all filenames.

* At 4070, [openpanel] does not [print] anything.
* Above 4070, I get an error message with just the part of the filename 
exceeding 4070 characters, like "a: no such object".
* For yet larger values, I get an error message "float: 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




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] open multiple files limits?

2024-01-11 Thread Christof Ressi

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___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] open multiple files limits?

2024-01-11 Thread Remmy Canedo
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