Re: Issue Saving a Patch

IOhannes m zmölnig via Pd-list <[email protected]>
Newsgroups gmane.comp.multimedia.puredata.general
Message-ID <[email protected]>
On 26/11/2025 21:06, Jim Ruxton wrote:
> I am using Pd 0.56.0 (Linux/amd64 - single precision) version of Pure Data
> on Ubuntu 24.04 and having a strange issue I'm having trouble tracking
> down. Wondering if anyone has come across this issue and found a solution.
> I have a patch that I am working on and after working on it for a while I
> can no longer save it . If I open that patch, make a quick change and save
> it, that works fine. After editing it for a while doing simple things like
> adding comments I can go to the file menu and save it, though it appears to
> work it doesn't actually save the file. The way I know it hasn't saved the
> file is if I then go to close the file , the prompt comes up asking if I
> want to save the file even though I just did save it. Also at that point I
> can't quit the program. It again asks if I want to save the program and I
> say yes but it doesn't quit. I then quit it in the console with cntrl c.
> And when reopening see that it hasn't saved my changes. The patch is
> working fine before and after I try to save and close it. Except there is a
> strange anomaly which is that I am playing short audio wav files using Else
> player and each time it goes to play the file there is a message in the
> console saying it can't find the file. Even though it plays the file it
> says it can't find. I don't have other instances of PD open or other panels
> that would prevent me from closing PD. It is a very strange issue I've
> never seen but it's driving me a bit bonkers as it appears pretty random
> when it decides it can no longer be saved. Any thoughts on what could be
> causing this strangeness?
> 
my guess would be that your Pd process has run out of file-handles.

to check, get the PID of the pd process ("ps aux | grep -w pd"), and 
then use  `lsof -p $PID`, or simply "ls -lha /proc/$PID/fd".

to see the allowed number of simultaneously open files, use "prlimit -p 
$PID", or simply "cat /proc/$PID/limits".

most likely a bug in some external, that opens files but doesn't close 
them (i would have expected this to pop up earlier/more often, if it was 
a problem in Pd itself)

gamdsr
IOhannes

---
[email protected] - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/JP6VGGMUBI6PVSDI23BJKIKAVRB5MQ7Z/

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEdAXnRVdICXNIABVttlAZxH96NvgFAmknYjAFAwAAAAAACgkQtlAZxH96Nvhj
JA/6A4aunCfwuHvUI2zMgEKDQR51W/dcCzsNE1zoekeNtAv4qR4DMgl6Goe6vWo854zsPd8D5Alb
TOwG8SfFzJxIjThifr7uSzSUwUdoxqIag8UndQeKaJJ7sXbn/aCXytcTsSlOhDgdLQbQA/a1vwgY
cyGoWOkOta1BH3zOgpPiBgz2T+m5kmPuWrA0+J/th8BNF0V1NLf2uhacdDYd6wXxmfvQHDLcz4kc
c5vktLSP3BFBid0Du+F3U2DkklwbTXFL5WCqtqsIyk9IGj+H1sjm91dQnuiPhdQNUN+wJyrnS8IY
IjYYe67UOuPklHTgJFHTR4PK/6AR2w1LYaGT5qwrROGKguixkSC3yNXQIKLC/eK58tynwGunhP67
yVmFNTdRhZK7Z5U6AyK5Lw1rjM71/aqkriveijLKJfpeQv95i/wUXP8WjAR4pkE/iTj5QasIEHkw
lghiJ1Q/azQNLRVYx0+iGNgqLgcHt5kLqIQG8oMun2BTIp5CxBuvGoxEjiT5sk9/pTAEA9TUKB5j
dtlBGXFC99xcEk4XCAO70VsAUMUfDOafL574JxpB1ypQ3mZEXYtghKAHQLmMThpgc3AZHzGOmP10
YbH8Fr8jW4Z+q2nCrrsq/BuGMEdpv2rrW3woNoEQrU0lI3n3FPaJ82JcKNLyF+YrfklI5itT4Zg5
YNM=
=RNc5
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.