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?
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
The saving and quitting issues could be caused by your window manager. I get this same issue when I accidentally hit ctrl-r instead of ctrl-4/5, it tries to raise the pd window but does not quite succeed leaving confusion between pd's core and the Tk gui as to what actually has focus. Clicking on the pd window gets things back to working properly. From what I remember and could tell, it is only an issue in non-compliant WMs (so not a pd bug), with tiling WMs being the worst offenders.
On Wed, Nov 26, 2025 at 2:06 PM Jim Ruxton jim.ruxton@gmail.com 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?
pd-list@lists.iem.at - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/RXVNJHBM2O...
To unsubscribe send an email to pd-list-leave@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
you might want to check if for some reason the folders or files you are working on have changed owner or privileges in the OS. I remember having an issue like this once when trying to work on folder which was not owned by my user.
On Wed, Nov 26, 2025 at 5:59 PM adam johnson ulioidle@gmail.com wrote:
The saving and quitting issues could be caused by your window manager. I get this same issue when I accidentally hit ctrl-r instead of ctrl-4/5, it tries to raise the pd window but does not quite succeed leaving confusion between pd's core and the Tk gui as to what actually has focus. Clicking on the pd window gets things back to working properly. From what I remember and could tell, it is only an issue in non-compliant WMs (so not a pd bug), with tiling WMs being the worst offenders.
On Wed, Nov 26, 2025 at 2:06 PM Jim Ruxton jim.ruxton@gmail.com 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?
pd-list@lists.iem.at - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/RXVNJHBM2O...
To unsubscribe send an email to pd-list-leave@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
pd-list@lists.iem.at - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/EC7XHVLSFQ...
To unsubscribe send an email to pd-list-leave@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/