State:New|TargetRelease:No Target|icon_bug|database:public|icon_mari|Resolution:Fixed|BugID:230873|
Problem summary
The command to reload utils including scripts, mari.utils.reloadAll(), crashes on Vector tools.
Customer reported version
3.2v1
Customer reported platform
Multiple platforms.
Steps to reproduce
1) Open any Mari project
2) Enter the below code into the python console:
mari.utils.reloadAll()
3) Evaluate code
4) Returns error:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "D:/Mari/Installs/Mari3.2v1.000240a/Bundle/Media/Scripts\Mari\utils\misc.py", line 85, in reloadAll
reload(module)
File "D:/Mari/Installs/Mari3.2v1.000240a/Bundle/Media/Scripts\Mari\examples\vector_brush.py", line 147, in <module>
_init()
File "D:/Mari/Installs/Mari3.2v1.000240a/Bundle/Media/Scripts\Mari\examples\vector_brush.py", line 141, in _init
toolbar.addAction('/Mari/Scripts/Setup Vector Brush', [0,0], False)
ValueError: Path '/Mari/Scripts/Setup Vector Brush' already exists in the ToolBar
Workaround
Unknown.
Reproduced by support
OS: Windows 7, MacOS Sierra, Linux Centos 5
Versions: 3.0v4, 3.1v1, 3.1v3, 3.2v1,4.2v2
Regression
Last working version - Mari 3.0v3
Expected behaviour
Should reload all scripts.
Actual behaviour
Returns a ValueError in regards to Vector tools
We're sorry to hear that
Please tell us why