Comments (18)
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.
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.
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.
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:
Here's an example file that was in that registry data. It's a ComfyUI-generated piece.
from sdimv.
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.
The issue keeps coming back.
It works for a few days, and then it breaks again.
from sdimv.
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.
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.
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.
from sdimv.
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.
Can you please upload the debugger again?
It's broken again for me now :)
from sdimv.
Apologies for the late reply, uploaded to drive: https://drive.google.com/file/d/1tp4uAbqu-AFjhFJI1OTC8Rm70A_OmLCZ/view?usp=sharing
from sdimv.
@soyatlas Could you give me some more details on your suggestion? Are you suggesting a node viewer?
from sdimv.
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
from sdimv.
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.
Ah, I didn't notice, will check next time...
from sdimv.
It seems to repeat these 2 lines over and over:
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)
- Feature suggestion - Press ENTER to VIEW image HOT 1
- Feature suggestion - Support drag/dropping files onto the .exe HOT 3
- Bug: Dragging and dropping multiple files onto the .exe opens multiple instances HOT 4
- Feature request: Automatically view image data HOT 2
- Bug: Pressing CLEAR doesn't clear the metadata, only the file list. HOT 2
- Bug: Lora's are reported twice in the lora field HOT 5
- Feature request: Browse to folder of image HOT 5
- Feature request: Drag/drop folder onto the program to open all files/images inside HOT 2
- Feature request: Single click to "View" image data HOT 3
- Feature suggestion: Global arrow hotkeys, or keyboard to select text HOT 4
- Feature suggestion: Change size of image list and preview image HOT 4
- Feature suggestion: SETTINGS menu, + option to maintain aspect ratio of image HOT 2
- Feature suggestion: View image large when clicked HOT 2
- Feature Request: Edit metadata HOT 4
- Garbage box icon looks like "Delete this image" HOT 1
- File List cache/storing should be an option HOT 1
- [Feature Request] Remove Metadata and Multiple Selection HOT 1
- jpeg missing in list selector
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdimv.