Open steven0081 opened 1 week ago
https://github.com/hiroi-sora/Umi-OCR/issues/641
我在8月31号修复了这个bug。请参考 README-docker ,下载最新的 Dockerfile ,重新 build 一个镜像。
提示是要删除临时目录下的lock文件,但系统下根本就没有这个文件。 rm /tmp/.X99-lock rm: cannot remove '/tmp/.X99-lock': No such file or directory
我在8月31号修复了这个bug。请参考 README-docker ,下载最新的 Dockerfile ,重新 build 一个镜像。
好的,谢谢,我先去试试。
我在debian12的系统下用docker 方式部署,第一次启动正常,但是后面重启就报错,启动不起来,麻烦帮看下,是什么原因,容器日志如下: Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb. /app/umi-ocr.sh: line 45: 12 Aborted (core dumped) python3 UmiOCR-data/main_linux.py "$@" Use the Python embeddable environment. p Use headless mode. (EE) Fatal server error: (EE) Server is already active for display 99 If this server is no longer running, remove /tmp/.X99-lock and start again. (EE) qt.qpa.xcb: could not connect to display :99 qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb. /app/umi-ocr.sh: line 45: 12 Aborted (core dumped) python3 UmiOCR-data/main_linux.py "$@" Use the Python embeddable environment. p Use headless mode. (EE) Fatal server error: (EE) Server is already active for display 99 If this server is no longer running, remove /tmp/.X99-lock and start again. (EE) qt.qpa.xcb: could not connect to display :99 qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb. /app/umi-ocr.sh: line 45: 12 Aborted (core dumped) python3 UmiOCR-data/main_linux.py "$@" Use the Python embeddable environment. p Use headless mode. (EE) Fatal server error: (EE) Server is already active for display 99 If this server is no longer running, remove /tmp/.X99-lock and start again. (EE) qt.qpa.xcb: could not connect to display :99 qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb. /app/umi-ocr.sh: line 45: 12 Aborted (core dumped) python3 UmiOCR-data/main_linux.py "$@" Use the Python embeddable environment. p Use headless mode. (EE) Fatal server error: (EE) Server is already active for display 99 If this server is no longer running, remove /tmp/.X99-lock and start again. (EE) qt.qpa.xcb: could not connect to display :99 qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb. /app/umi-ocr.sh: line 45: 12 Aborted (core dumped) python3 UmiOCR-data/main_linux.py "$@" Use the Python embeddable environment. p Use headless mode. (EE) Fatal server error: (EE) Server is already active for display 99 If this server is no longer running, remove /tmp/.X99-lock and start again. (EE) qt.qpa.xcb: could not connect to display :99 qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb. /app/umi-ocr.sh: line 45: 12 Aborted (core dumped) python3 UmiOCR-data/main_linux.py "$@" Use the Python embeddable environment. p Use headless mode. (EE) Fatal server error: (EE) Server is already active for display 99 If this server is no longer running, remove /tmp/.X99-lock and start again. (EE) qt.qpa.xcb: could not connect to display :99 qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb. /app/umi-ocr.sh: line 45: 12 Aborted (core dumped) python3 UmiOCR-data/main_linux.py "$@"