Hi Gerda, when clicking "save", your patch only sets the name of the pool used ("katze"), but not the file name... this remains empty, therefore the error message. There's no file written. (you have to send a "file whatever.txt" to route to set the file name) The same applies to loading, although i can't say why your patch actually wants to load from a file when there's no actual file given - this seems to be special for unix. Will switch to it later. Why it is crashing is yet another question that is completely out of my reach.
best greetings, Thomas
Gerda Strobl schrieb:
Hallo Thomas,
attached is testpool.pd (it is from caretaker.pd /rradical/memento) As soon as I click on the save message pd tells me. pool - save: error saving data the load message leads to the described crash.
I hope that patch is useful for you.
best, Gerda
Thomas Grill wrote:
Hi Gerda, as always it would be important to know what you are doing _exactly_ to provoke the crash. From the backtrace i can see that something is wrong with the post function, but i can't believe this is the reason as this hasn't changed for ages and is ultimately trivial. So please, a reproducible walkthrough would be highly appreciated! (including the pool data file that you are trying to load)
best greetings, Thomas
#N canvas 0 0 450 300 10; #X obj 198 219 pool; #X obj 123 147 symbol $1; #X msg 199 119 pool $1; #X obj 153 89 t b s; #X msg 130 169 save $1; #X obj 282 149 symbol $1; #X msg 319 180 load $1; #X msg 337 120 pool $1; #X obj 282 90 t b s; #X obj 93 67 symbol; #X obj 174 59 symbol; #X obj 259 68 symbol; #X obj 148 33 route file save load; #X msg 92 2 save katze; #X msg 190 2 load katze; #X connect 1 0 4 0; #X connect 2 0 0 0; #X connect 3 0 1 0; #X connect 3 1 2 0; #X connect 4 0 0 0; #X connect 5 0 6 0; #X connect 6 0 0 0; #X connect 7 0 0 0; #X connect 8 0 5 0; #X connect 8 1 7 0; #X connect 9 0 1 1; #X connect 9 0 5 1; #X connect 10 0 3 0; #X connect 11 0 8 0; #X connect 12 0 9 0; #X connect 12 1 10 0; #X connect 12 2 11 0; #X connect 13 0 12 0; #X connect 14 0 12 0;