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

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

Open
artofka opened this issue May 17, 2017 · 9 comments
Open

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

artofka opened this issue May 17, 2017 · 9 comments

Comments

@artofka
Copy link

artofka commented May 17, 2017

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>

@BigRoy
Copy link
Member

BigRoy commented May 18, 2017

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.

@artofka
Copy link
Author

artofka commented May 18, 2017

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

@artofka artofka closed this as completed May 18, 2017
@artofka artofka reopened this May 18, 2017
@artofka
Copy link
Author

artofka commented May 18, 2017

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

@BigRoy
Copy link
Member

BigRoy commented May 18, 2017

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?

@artofka
Copy link
Author

artofka commented May 19, 2017 via email

@BigRoy
Copy link
Member

BigRoy commented May 22, 2017

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.

@artofka
Copy link
Author

artofka commented May 22, 2017

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

@BigRoy
Copy link
Member

BigRoy commented May 31, 2017

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
Copy link
Member

BigRoy commented Jul 15, 2018

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

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

2 participants