inkscape-figures icon indicating copy to clipboard operation
inkscape-figures copied to clipboard

Unable to lock on the pidfile

Open ChrissyyyLi opened this issue 2 years ago • 2 comments

Everything ran fine on my old MacOS 11.3, but somehow I decided to update to 12.3.1 Monterey... What a terrible mistake. Now when running Inkscape-figures watch for the first time as part of my ~/.zprofile, an error occurs: "Unable to lock on the pidfile." Subsequently cmd+s in Inkscape will no longer save properly.

However, when running with the Inkscape-figures watch --no-daemon option, there is no such error.

A temporary solution to this issue appears to be: in a separate terminal, run Inkscape-figures watch --no-daemon every time you need it to work.

Is there a better fix?

ChrissyyyLi avatar May 19 '22 01:05 ChrissyyyLi

Unable to lock pid file probably means that it is already running. Can you check that? Or kill the program with killall inkscape-figures or whatever the equivalent is on MacOS.

gillescastel avatar May 19 '22 14:05 gillescastel

I have the similar problem. But in my case, if I just input "inkscape-figures watch" in my terminal , it works well. When I want to stop the process, if I input "killall inkscape-figures", it will say "No matching processes belonging to you were found". If I input "killall fswatch"(since my system version is macos 12.6, main.py uses fswatch. ) , it will stop smoothly. However, after that if I input "inkscape-figures watch" again, it will say "Unable to lock on the pidfile."

I don't know why it can't work in this situation. Is there any help?

BLACKSWORD0 avatar Mar 18 '23 05:03 BLACKSWORD0