"ERROR: PyError ($(Expr(:escape, :(ccall(#= C:\Users\Public\TongYuan.julia\packages\PyCall\9ZDyP\src\pyfncall.jl:43 =# @pysym(:PyObject_Call), PyPtr, (PyPtr, PyPtr, PyPtr), o, pyargsptr, kw))))) <class 'AttributeError'>
AttributeError("'NoneType' object has no attribute 'setIconSize'")
File "formatting_and_annotation/mw_figure.py", line 17, in ty_figure
File "mw_main.py", line 140, in init
File "mw_actions.py", line 2069, in init_toolbar
Stacktrace:
[1] pyerr_check
@ C:\Users\Public\TongYuan.julia\packages\PyCall\9ZDyP\src\exception.jl:75 [inlined]
[2] pyerr_check
@ C:\Users\Public\TongYuan.julia\packages\PyCall\9ZDyP\src\exception.jl:79 [inlined]
[3] _handle_error(msg::String)
@ PyCall C:\Users\Public\TongYuan.julia\packages\PyCall\9ZDyP\src\exception.jl:96
[4] macro expansion
@ C:\Users\Public\TongYuan.julia\packages\PyCall\9ZDyP\src\exception.jl:110 [inlined]
[5] (::PyCall.var"#119#120"{PyCall.PyObject, Ptr{PyCall.PyObject_struct}, PyCall.PyObject, Ptr{Nothing}})()
@ PyCall C:\Users\Public\TongYuan.julia\packages\PyCall\9ZDyP\src\pyfncall.jl:43
[6] disable_sigint
@ .\c.jl:473 [inlined]
[7] __pycall!
@ C:\Users\Public\TongYuan.julia\packages\PyCall\9ZDyP\src\pyfncall.jl:42 [inlined]
[8] _pycall!(ret::PyCall.PyObject, o::PyCall.PyObject, args::Tuple{Nothing, Nothing, Dict{Symbol, Union{}}}, nargs::Int64, kw::Ptr{Nothing})
@ PyCall C:\Users\Public\TongYuan.julia\packages\PyCall\9ZDyP\src\pyfncall.jl:29
[9] _pycall!(ret::PyCall.PyObject, o::PyCall.PyObject, args::Tuple{Nothing, Nothing, Dict{Symbol, Union{}}}, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ PyCall C:\Users\Public\TongYuan.julia\packages\PyCall\9ZDyP\src\pyfncall.jl:11
[10] (::PyCall.PyObject)(::Nothing, ::Vararg{Any}; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ PyCall C:\Users\Public\TongYuan.julia\packages\PyCall\9ZDyP\src\pyfncall.jl:86
[11] (::PyCall.PyObject)(::Nothing, ::Vararg{Any})
@ PyCall C:\Users\Public\TongYuan.julia\packages\PyCall\9ZDyP\src\pyfncall.jl:86
[12] ty_figure(num::Any; kwargs::Base.Pairs{Symbol, V, Tuple{Vararg{Symbol, N}}, NamedTuple{names, T}} where {V, N, names, T<:Tuple{Vararg{Any, N}}})
@ TyPlot C:\Users\Public\TongYuan.julia\packages\TyPlot\nRtjn\src\Formatting and Annotation\ty_figure.jl:27
[13] ty_figure(num::Any)
@ TyPlot C:\Users\Public\TongYuan.julia\packages\TyPlot\nRtjn\src\Formatting and Annotation\ty_figure.jl:19
[14] ty_figure()
@ TyPlot C:\Users\Public\TongYuan.julia\packages\TyPlot\nRtjn\src\Formatting and Annotation\ty_figure.jl:19
[15] top-level scope
@ Untitled-1.jl:36"