maya-capture-gui icon indicating copy to clipboard operation
maya-capture-gui copied to clipboard

Error "Writing JSON file" in Capture GUI (OpenSUSE)

Open artofka opened this issue 8 years ago • 9 comments

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>

artofka avatar May 17 '17 09:05 artofka

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.

BigRoy avatar May 18 '17 08:05 BigRoy

No, it message i view when try to exist UI. But UI don't open.

artofka avatar May 18 '17 10:05 artofka

inside capturegui.json: { "Presets": { "selected": null }, "Resolution": { "height": 1080, "mode": "From Render Settings", "percent": 1.0, "width": 1920 } }

artofka avatar May 18 '17 11:05 artofka

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?

BigRoy avatar May 18 '17 15:05 BigRoy

Anything not change

artofka avatar May 19 '17 13:05 artofka

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.

BigRoy avatar May 22 '17 10:05 BigRoy

Before runung: image After: image After runing "capture_gui.main()": image

artofka avatar May 22 '17 11:05 artofka

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?

BigRoy avatar May 31 '17 10:05 BigRoy

@artofka did you ever end up getting this functional for you?

BigRoy avatar Jul 15 '18 21:07 BigRoy