Error "Writing JSON file" in Capture GUI (OpenSUSE)
Console request: from capture import capture import capture_gui capture_gui.main()
capture_gui.main()
Capture Gui : Writing JSON file: <open file '/home/user/CaptureGUI/capturegui.json', mode 'w' at 0x7f88e447bf60>
Thanks for the report @artofka
The posted log is not an error, this is a debugging logging message. You'll see this message when closing the interface when it saves the current settings that are reapplied on opening the interface again. Though I believe the message can definitely be improved, will do that now.
To be sure, is the interface showing correctly? If not, and you're referring to the fact that the UI does not work and errors around that code then it's likely it is unable to save the settings file into your user's home directory.
No, it message i view when try to exist UI. But UI don't open.
inside capturegui.json: { "Presets": { "selected": null }, "Resolution": { "height": 1080, "mode": "From Render Settings", "percent": 1.0, "width": 1920 } }
No, it message i view when try to exist UI. But UI don't open.
Interesting! :)
Before running the code below, open the script editor and enable the following:
- Script Editor > History > Line numbers in errors
- Script Editor > History > Show stack trace
Then run:
import capture_gui
capture_gui.main()
Does anything else show up in your script editor? Could you share a screenshot of all the output in the script editor?
Anything not change
Anything not change
It's very hard to debug without a clue of where it might be going wrong. If you could make a screenshot of your script editor after running the code or even perform a short screen capture of what happens there as you run the code (as described above here) then that might help to identify the source of the problem.
Before runung:
After:
After runing "capture_gui.main()":

Unfortunately these screenshots do not provide any information about why the interface is not showing. It appears to be running just fine. Might it be offscreen?
@artofka did you ever end up getting this functional for you?