Inkscape的Python3.6脚本卡住了

时间:2019-06-18 21:04:53

标签: python-3.x ubuntu inkscape

在www.castel.dev之后,我希望能够在Inkscape中为LaTex笔记绘制图形。在运行他的快捷方式管理器的Python3脚本(可在此处使用:https://github.com/gillescastel/inkscape-shortcut-manager)时,文件main.py被卡住了,我不知道如何解决它。有人咨询吗?

我正在Ubuntu 18.04.2上运行Python3.6作为VMware Fusion中的远程桌面。我尝试重新安装XLib,使用wget从上述链接重新下载文件,并仔细检查文件,但无法弄清为什么main.py卡住了。

这是在按下ctrl-c卡住main.py后停止它的输出。

  File "main.py", line 91, in <module>
    main()
  File "main.py", line 78, in main
    evt = disp.next_event()
  File "/usr/lib/python3/dist-packages/Xlib/display.py", line 187, in next_event
    return self.display.next_event()
  File "/usr/lib/python3/dist-packages/Xlib/protocol/display.py", line 218, in next_event
    self.send_and_recv(event = 1)
  File "/usr/lib/python3/dist-packages/Xlib/protocol/display.py", line 562, in send_and_recv
    rs, ws, es = select.select([self.socket], writeset, [], timeout)
KeyboardInterrupt ```

I expected main.py to run without errors so that I can use the shortcuts in Inkscape, but instead the file gets stuck and does nothing. No actual errors are produced, however.

0 个答案:

没有答案