Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeptMap Standalone: No Video generation #454

Open
Five-Birds opened this issue Jun 24, 2024 · 0 comments
Open

DeptMap Standalone: No Video generation #454

Five-Birds opened this issue Jun 24, 2024 · 0 comments

Comments

@Five-Birds
Copy link

I installed the standalone Version of the script and all its requirements. Depthmaps and 3d inpainetd meshs are working, but i cannot render a video out of the results. The following error occurs:

Loading mesh ..
Traceback (most recent call last):
File "D:\Depthmap\stable-diffusion-webui-depthmap-script\src\core.py", line 512, in run_3dphoto_videos
vispy.use(app='PyQt5')
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\util\wrappers.py", line 93, in use
use_app(app)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app_default_app.py", line 47, in use_app
default_app = Application(backend_name)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app\application.py", line 47, in init
self._use(backend_name)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app\application.py", line 233, in _use
import(mod_name, globals(), level=1)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app\backends_pyqt5.py", line 32, in
from . import _qt # noqa
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app\backends_qt.py", line 91, in
_check_imports('PyQt5')
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app\backends_qt.py", line 63, in _check_imports
raise RuntimeError("Refusing to import %s because %s is already "
RuntimeError: Refusing to import PyQt5 because PyQt6.QtCore is already imported.

Trying an alternative...
WARNING: pyqt5 already imported, cannot switch to pyqt5
On PyQt5
Traceback (most recent call last):
File "D:\Depthmap\stable-diffusion-webui-depthmap-script\src\core.py", line 512, in run_3dphoto_videos
vispy.use(app='PyQt5')
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\util\wrappers.py", line 93, in use
use_app(app)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app_default_app.py", line 47, in use_app
default_app = Application(backend_name)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app\application.py", line 47, in init
self._use(backend_name)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app\application.py", line 233, in _use
import(mod_name, globals(), level=1)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app\backends_pyqt5.py", line 32, in
from . import _qt # noqa
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app\backends_qt.py", line 91, in
_check_imports('PyQt5')
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app\backends_qt.py", line 63, in _check_imports
raise RuntimeError("Refusing to import %s because %s is already "
RuntimeError: Refusing to import PyQt5 because PyQt6.QtCore is already imported.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\Depthmap\stable-diffusion-webui-depthmap-script\src\core.py", line 523, in run_3dphoto_videos
vispy.use(app=u)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\util\wrappers.py", line 93, in use
use_app(app)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app_default_app.py", line 47, in use_app
default_app = Application(backend_name)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app\application.py", line 47, in init
self._use(backend_name)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app\application.py", line 263, in _use
self._backend = self.backend_module.ApplicationBackend()
AttributeError: module 'vispy.app.backends._pyqt5' has no attribute 'ApplicationBackend'

WARNING: pyqt5 already imported, cannot switch to pyqt6
On PyQt6
Traceback (most recent call last):
File "D:\Depthmap\stable-diffusion-webui-depthmap-script\src\core.py", line 512, in run_3dphoto_videos
vispy.use(app='PyQt5')
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\util\wrappers.py", line 93, in use
use_app(app)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app_default_app.py", line 47, in use_app
default_app = Application(backend_name)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app\application.py", line 47, in init
self._use(backend_name)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app\application.py", line 233, in _use
import(mod_name, globals(), level=1)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app\backends_pyqt5.py", line 32, in
from . import _qt # noqa
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app\backends_qt.py", line 91, in
_check_imports('PyQt5')
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app\backends_qt.py", line 63, in _check_imports
raise RuntimeError("Refusing to import %s because %s is already "
RuntimeError: Refusing to import PyQt5 because PyQt6.QtCore is already imported.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\Depthmap\stable-diffusion-webui-depthmap-script\src\core.py", line 523, in run_3dphoto_videos
vispy.use(app=u)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\util\wrappers.py", line 93, in use
use_app(app)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app_default_app.py", line 47, in use_app
default_app = Application(backend_name)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app\application.py", line 47, in init
self._use(backend_name)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app\application.py", line 263, in _use
self._backend = self.backend_module.ApplicationBackend()
AttributeError: module 'vispy.app.backends._pyqt6' has no attribute 'ApplicationBackend'

On egl
Traceback (most recent call last):
File "D:\Depthmap\stable-diffusion-webui-depthmap-script\src\core.py", line 512, in run_3dphoto_videos
vispy.use(app='PyQt5')
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\util\wrappers.py", line 93, in use
use_app(app)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app_default_app.py", line 47, in use_app
default_app = Application(backend_name)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app\application.py", line 47, in init
self._use(backend_name)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app\application.py", line 233, in _use
import(mod_name, globals(), level=1)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app\backends_pyqt5.py", line 32, in
from . import _qt # noqa
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app\backends_qt.py", line 91, in
_check_imports('PyQt5')
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app\backends_qt.py", line 63, in _check_imports
raise RuntimeError("Refusing to import %s because %s is already "
RuntimeError: Refusing to import PyQt5 because PyQt6.QtCore is already imported.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\Depthmap\stable-diffusion-webui-depthmap-script\src\core.py", line 523, in run_3dphoto_videos
vispy.use(app=u)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\util\wrappers.py", line 93, in use
use_app(app)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app_default_app.py", line 47, in use_app
default_app = Application(backend_name)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app\application.py", line 47, in init
self._use(backend_name)
File "C:\Users\Five-\AppData\Local\Programs\Python\Python310\lib\site-packages\vispy\app\application.py", line 240, in _use
raise RuntimeError(msg)
RuntimeError: Could not import backend "EGL":
EGL library not found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant