You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: <built-in function max> is not JSON serializable
for minimal_demo.py
All the other demos are working perfectly.
I am quite intrigued by Gooey, kudos for this great tool!
Thanks!
Full error report:
Writing Build Config to: ...Gooey\gooey\examples\gooey_config.json
Traceback (most recent call last):
File "...Gooey\gooey\examples\minimal_demo.py", line 18, in <module>
main()
File "C:\Anaconda\lib\site-packages\gooey\python_bindings\gooey_decorator.py", line 58, in inner2
return payload(*args, **kwargs)
File "...Gooey\gooey\examples\minimal_demo.py", line 13, in main
args = parser.parse_args()
File "C:\Anaconda\lib\site-packages\gooey\python_bindings\gooey_decorator.py", line 52, in run_gooey
f.write(json.dumps(build_spec, indent=2))
File "C:\Anaconda\lib\json\__init__.py", line 250, in dumps
sort_keys=sort_keys, **kw).encode(obj)
File "C:\Anaconda\lib\json\encoder.py", line 209, in encode
chunks = list(chunks)
File "C:\Anaconda\lib\json\encoder.py", line 434, in _iterencode
for chunk in _iterencode_dict(o, _current_indent_level):
File "C:\Anaconda\lib\json\encoder.py", line 408, in _iterencode_dict
for chunk in chunks:
File "C:\Anaconda\lib\json\encoder.py", line 332, in _iterencode_list
for chunk in chunks:
File "C:\Anaconda\lib\json\encoder.py", line 408, in _iterencode_dict
for chunk in chunks:
File "C:\Anaconda\lib\json\encoder.py", line 408, in _iterencode_dict
for chunk in chunks:
File "C:\Anaconda\lib\json\encoder.py", line 442, in _iterencode
o = _default(o)
File "C:\Anaconda\lib\json\encoder.py", line 184, in default
raise TypeError(repr(o) + " is not JSON serializable")
TypeError: <built-in function max> is not JSON serializable
The text was updated successfully, but these errors were encountered:
Error
for minimal_demo.py
All the other demos are working perfectly.
I am quite intrigued by Gooey, kudos for this great tool!
Thanks!
Full error report:
The text was updated successfully, but these errors were encountered: