GithubHelp home page GithubHelp logo

Cannot launch since 1.20 about sdimv HOT 18 OPEN

MNeMoNiCuZ avatar MNeMoNiCuZ commented on June 13, 2024
Cannot launch since 1.20

from sdimv.

Comments (18)

maagic6 avatar maagic6 commented on June 13, 2024

I'm 100% sure it has something to do with the settings when the application loads. Could you download and run this which should display a console and log the error, then copy and paste it here?
https://file.io/DiZ8ECyyyerK

from sdimv.

MNeMoNiCuZ avatar MNeMoNiCuZ commented on June 13, 2024

Here's the output:

PyInstaller\loader\pyimod02_importers.py:419: PythonQtWarning: Selected binding 'pyqt5' could not be found; falling back to 'pyqt6'
Traceback (most recent call last):
File "SDIMV.py", line 357, in handleItemSelectionChanged
File "SDIMV.py", line 215, in viewMetadata
File "pathlib.py", line 1407, in exists
File "pathlib.py", line 1221, in stat
File "pathlib.py", line 742, in fspath
File "pathlib.py", line 735, in str
RecursionError: maximum recursion depth exceeded while calling a Python object

from sdimv.

maagic6 avatar maagic6 commented on June 13, 2024

It seems that some filepath loaded from the settings is causing the recursion error. You could remove the values of selectedFiles from 'Computer\HKEY_CURRENT_USER\SOFTWARE\maagic6\SDIMV' in Registry Editor for a quick fix, but if it's not too much trouble could you run this which should log the filepath that's causing the recursion and see if there's anything odd about it?
https://file.io/gtu8zGj4bRvQ

from sdimv.

MNeMoNiCuZ avatar MNeMoNiCuZ commented on June 13, 2024

I removed the regedit before running the debug, sorry if it was the wrong order!
Removing the regedit fixed it.

Here's the output of the debug after:
PyInstaller\loader\pyimod02_importers.py:419: PythonQtWarning: Selected binding 'pyqt5' could not be found; falling back to 'pyqt6'
C:/AI/stable-diffusion-webui/outputs/txt2img-images/2023-12-18/2023-12-18 - 01.10.21.png
C:/AI/stable-diffusion-webui/outputs/txt2img-images/2023-12-18/2023-12-18 - 01.10.21.png

I took a screenshot of the regedit before removing the keys & folders:
Clipboard Image

Here's an example file that was in that registry data. It's a ComfyUI-generated piece.
2023-12-04 - 01 21 58

from sdimv.

maagic6 avatar maagic6 commented on June 13, 2024

No worries! I won't be able to tell exactly what caused the error but I'll set the follow_symlinks argument in exists() to false just in case it was caused by passing a symlink that points to itself. I'll close this for now until this can be reproduced.

from sdimv.

MNeMoNiCuZ avatar MNeMoNiCuZ commented on June 13, 2024

The issue keeps coming back.
It works for a few days, and then it breaks again.

from sdimv.

maagic6 avatar maagic6 commented on June 13, 2024

Same exact issue? If you still have the debug exe I sent (or alternatively download it again from https://file.io/4SztJR2xpnvn), could you run it and paste the console output here before you clear the registry this time?

from sdimv.

MNeMoNiCuZ avatar MNeMoNiCuZ commented on June 13, 2024

I think it's the same issue. I cleared it again. I'll do this next time it gets messed up.
Is regedit necessary? Wouldn't a settings.ini-file that you save to work just as well and also make it portable and non-obtrusive? Who wants more shit in their regedit? :)

from sdimv.

maagic6 avatar maagic6 commented on June 13, 2024

True. It's not necessary really, all I'd have to do is change a single line to use an .ini file instead of the registry. I'll change that in the next release, though I'd still really like to know what's causing the bug

from sdimv.

MNeMoNiCuZ avatar MNeMoNiCuZ commented on June 13, 2024

from sdimv.

soyatlas avatar soyatlas commented on June 13, 2024

Hi. I had get this same error. I erased the indicated before in Registry, and now runing ok.

My problem was that My computer hang with the program running.

Fantastic program !

I take this opportunity to suggest the following.
The degree files in COMFYUI have a plug-in that allows you to view the "node program" with which the image has been created. It would be interesting to be able to open the viewer and from that window be able to study and copy some data together.

Congratulations on the program.

THANK YOU

PD.: In this web You can see the plugin of nodes diagram:
https://openart.ai/workflows/openart/-/S6PuWxBpXPB9PxSMhgUb

from sdimv.

MNeMoNiCuZ avatar MNeMoNiCuZ commented on June 13, 2024

Can you please upload the debugger again?
It's broken again for me now :)

from sdimv.

maagic6 avatar maagic6 commented on June 13, 2024

Apologies for the late reply, uploaded to drive: https://drive.google.com/file/d/1tp4uAbqu-AFjhFJI1OTC8Rm70A_OmLCZ/view?usp=sharing

from sdimv.

maagic6 avatar maagic6 commented on June 13, 2024

@soyatlas Could you give me some more details on your suggestion? Are you suggesting a node viewer?

from sdimv.

MNeMoNiCuZ avatar MNeMoNiCuZ commented on June 13, 2024

The debug closes immediately, but I think I managed to get the errors to be:
PyInstaller\loader\pyimod02_importers.py:419: PythonQtWarning: Selected binding 'pyqt5' could not be found; falling back to 'pyqt6'

and

Clipboard Image

from sdimv.

maagic6 avatar maagic6 commented on June 13, 2024

Before the traceback the filepath causing the error should be printed out. Could you see how the filepath is formatted? (forward slash, backward slash, double forward slashes etc.)

from sdimv.

MNeMoNiCuZ avatar MNeMoNiCuZ commented on June 13, 2024

Ah, I didn't notice, will check next time...

from sdimv.

MNeMoNiCuZ avatar MNeMoNiCuZ commented on June 13, 2024

image

It seems to repeat these 2 lines over and over:
image

It's really hard to be able to pause the debugger before it closes, but I manage to get this from the top:
PyInstaller\loader\pyimod02_importers.py:419: PythonQtWarning: Selected binding 'pyqt5' could not be found; falling back to 'pyqt6'

from sdimv.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.