Error when Trying to Create New Add-In

Error when Trying to Create New Add-In

Anonymous
Not applicable
1,508 Views
7 Replies
Message 1 of 8

Error when Trying to Create New Add-In

Anonymous
Not applicable

Hey All,

 

I am getting a pop-up error when trying to create a new Add-In using Fusion 360:

 

"Unable to find default manifest!+Script with same name already exists!

 

Does anyone know how to resolve this issue? I broke my Fusion! 😞 

 

ErrorBox.PNG

0 Likes
Accepted solutions (1)
1,509 Views
7 Replies
Replies (7)
Message 2 of 8

copypastestd
Advocate
Advocate

I have the same problem, and haven't found how to fix it yet.

 

P.S. I have such problems only with Python - JS and C++ work fine.

0 Likes
Message 3 of 8

ekinsb
Alumni
Alumni

I've never run into that before but am able to reproduce the problem.  The reason I've never seen it before is that I always change the default name "NewAddInX" to some other name that's more identifiable for what my add-in will be doing.  Try that and see if you can now create a new script or add-in.  It should be working with the default name though and I'll log a defect.


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
0 Likes
Message 4 of 8

copypastestd
Advocate
Advocate

Hello Brian,

tnx for your reply.

But it seems that your hypothesis is not correct.

 

Check my screencast plz.

 

0 Likes
Message 5 of 8

ekinsb
Alumni
Alumni

You're right.  Thanks for letting me know.  This must be a recent regression because I create new add-ins all the time.  I'll update the defect with this additional information and raise the priority.  A workaround for now would be to go to the folder where add-ins are created and copy an existing one where you'll need to rename the folder, the .py file and the .manifest file to the new name of your add-ins.  You'll then be able to open it and edit the code.


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
0 Likes
Message 6 of 8

Anonymous
Not applicable

Hey All,

 

The same thing is happening for me - there is no workaround or name that I can find that will let me create the application. 

 

-Kyle 

0 Likes
Message 7 of 8

ekinsb
Alumni
Alumni
Accepted solution

The problem is that with the latest Fusion update some files are missing that are needed to create a new Python add-in.  We've fixed it and the fix will be available in the update in April but until then you can use the files I've attached. To create a new add-in, unpack the files either in the default location for add-ins or any location.  You'll need to rename the folder and the .py and .manifest file to have the same name and be the name of the add-in.  You should also edit the id in the .manifest file to be a unique GUID.  Here's an online tool you can use for that.  https://www.guidgen.com/  If you put the files in the default location, Fusion should now see the add-in and it will be the list of add-ins.  If you put it somewhere else you'll need to use the green "+" in the Scripts and Add-Ins dialog to add it to the add-in list.  Now you should be able to edit and run it as usual.


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
0 Likes
Message 8 of 8

copypastestd
Advocate
Advocate

After last update - I could finally create Python add-inn.

The problem is solved, tnx a lot.

0 Likes