sleepymalc / VSCode-LaTeX-Inkscape

✍️ A way to integrate LaTeX, VS Code, and Inkscape in macOS
https://pbb.wtf/posts/VSCode-LaTeX-Inkscape/
MIT License
332 stars 21 forks source link

Inkscape Figure Manager Failed #22

Closed cxzhou35 closed 1 year ago

cxzhou35 commented 1 year ago

I have replaced all the inkscapefigures files with yours, but I still can't make it available, when I type 'inkscape-figures watch' in terminal or use 'C-f' in VsCode with VISUAL mode, nothing happened, without the error 'Unable to lock on the pidfile.'. After I create a figure with inkscape and save it. There is just one file called *.svg without other two files. I can't find some way to solve it, may I have some methods to check whether the 'inkscapefigures' works?

My OS: macos Ventura 13.1(M2) Inkscape Version: 1.2.2

cxzhou35 commented 1 year ago
image
sleepymalc commented 1 year ago

Can you try to execute this in Code/tex/Report instead of Code/tex/Report/Figures? Also, to check whether inkscape-figures works, maybe try which inkscape-figures.

cxzhou35 commented 1 year ago
image

Same as before. :(

sleepymalc commented 1 year ago

Have you tried restarting your laptop?

cxzhou35 commented 1 year ago

Yeah, I have restarted my laptop twice, the situation is what above like.

sleepymalc commented 1 year ago

This is quite weird. Can you run inkscape-figures --help?

cxzhou35 commented 1 year ago

Yeah, but the command inkscape-figures watch still takes no effect.

sleepymalc commented 1 year ago

In this case I really don't know how to proceed... I guess you might need to directly modify the watch function in inkscapefigures/main.py to directly debug...

cxzhou35 commented 1 year ago

Thanks, I will have a try.

sleepymalc commented 1 year ago

Maybe tried brew install fswatch? I found this here.