Spyder does not instal on mac

Spyder does not instal on mac

TrippyLighting
Consultant Consultant
1,106 Views
7 Replies
Message 1 of 8

Spyder does not instal on mac

TrippyLighting
Consultant
Consultant

I am trying to edit an existing script for the first time using Spyder. Ive edited scripts before using Sublime edit, but need the debugging abilities of Spyder.

The only thing that's happening after selecting a scrip and clicking on "Edit" , however, is that a terminal symbol pops up in the doc and vanishes and that's it. Spyder does not run 😕

 

I am running macOS 10.12.5.

 

Any help would be appreciated.


EESignature

0 Likes
1,107 Views
7 Replies
Replies (7)
Message 2 of 8

neil.liu
Autodesk
Autodesk

Hi @TrippyLighting,

 

In general there are three scenarios for Spyder install:

1. if Fusion Live update is WIP, in this case you cannot download/install Spyder. 

2. If Fusion Live update is complete, but you do not restart Fusion, in this case you can download/install Spyder, but cannot launch it.

3. If there is no Fusion Live update, in this case you can download/install Fusion, and you can launch Spyder as well.  

 

For 1# and 2# there should be a warning message in the notification center. In these cases you can just finish the Fusion live update, and restart Fusion, then you should be able to download/install/launch Spyder. 

 

Please let me know if this works for you. 

 

Thanks, 

-Neil Liu

0 Likes
Message 3 of 8

TrippyLighting
Consultant
Consultant

No that did not work. Canned answers rarely do 😉

 

I watched an Autodesk University recording from @ekinsb and in it he mentions that Spyder is installed the first time one attempts to edit a script (or so).

Upon trying to edit a script - I've repeated this about 5-6 times over different days now including a complete restart of my machine and fusion 360 I still get the same behavior.

 

The little terminal logo pops up briefly in the doc and then vanishes again. after another period of time I only see the SPOD and then Fusion 360 crashes:

 

CER report 

CER_151106614

 

Also, the whole purpose of this exercise at this moment is to edit an existing plugin CSVbom. While I can select other addins from the list shown below and the Edit button appears operable, when I select the CSVbom script ad the button is greyed out. What controls this ?

Screen Shot 2017-07-03 at 4.06.18 PM.png

 

What I want to add to the script/UI and consequently into the output .csv file is the Part Number in the Component properties.

 

Screen Shot 2017-07-03 at 4.27.32 PM.png


EESignature

0 Likes
Message 4 of 8

neil.liu
Autodesk
Autodesk

Hi @TrippyLighting,

 

I am sorry this occurred. Though I cannot reproduce the issue, I took a look at the code and guess this might be that some Spyder state is not correct in its cached files. Can you please check if there is a folder named ".spyder2-py3" in "\Users\<user>" on your mac machine? This folder is invisible. I use "EasyFind" from App Store to find it. If you find it, can you please delete it from your computer and restart your Fusion 360 to check if your issue is resolved? 

 

If you cannot edit a script, you can right-click the script/add-in, and click 'Open File Location' from the menu. In the folder, you can find a file with 'manifest' as the ext. Open it and edit the value of "editEnabled" from 'false' to 'true', restart your Fusion 360, now you can edit the script. 

 

Thanks, 

-Neil Liu

 

 

 

0 Likes
Message 5 of 8

TrippyLighting
Consultant
Consultant

Hi Neil,


Your tip on being able to edit an addin/script worked. Thanks!

 

The folder you are referring to in respect to Spyder does not exist.

I've worked with Linux/Unix systems for 10+ years and am fairly confident in my terminal abilities so usually I don't need to resort to tools such as EasyFind, but I did download EasyFind and the folder could not be located either manually or through EasyFind.

 

Also, since your typing indicates you are more of a Windows user, showing hidden files got a lot easier with macOS Sierra.

 


EESignature

0 Likes
Message 6 of 8

neil.liu
Autodesk
Autodesk

Hi Peter,

 

Thanks for your help on how to work on mac. You are right, i am a new guy on mac, i began to use mac when i got a macbook pro two months ago. 

 

I am sorry you didn't locate the folder '.spyder2-py3' on your mac machine. Can you try if there is an invisible folder which contains 'spyder2' in your '\Users\<name>'? If there is, i assume this should be the one. You may rename the folder so that Spyder IDE will create a new folder for its usage. https://github.com/spyder-ide/spyder/issues/3351 may also provide you some help. 

 

I am on a travelling, and cannot access my mac machine. I will be back next Monday. If your issue still exists at that time, i will continue the investigation. 

 

Thanks,

-Neil Liu

0 Likes
Message 7 of 8

TrippyLighting
Consultant
Consultant

No, that folder does not exist. However, Ive solved the problem. I has happened with other software as well - CAD and other - and I find it absolutely mind blowing that this still happens so often!

 

I run two accounts on my mac, an administrator account and a regular user account with restricted permissions as should be n any unix machine.

I've operated Linux since before Win 3.1 was on the market and this has always been a good habit.

Usually I use the user account for regular work, Fusion 360 in this case.

 

So I logged into the admin account, installed Fusion 360 and then started editing a script to start the installation process for Spyder. Worked perfectly!

No in my Admin's account user directory I dod have a .spyder3-py3 folder.

I copied that to my user accounts home directory, made sure the file permissions were OK and violá I was able to edit a script in Spyder.

 

Some form of error message would have gone a long way to clear this up earlier!!!

 

Actually I consider this a bug and would like to have the FUSxxxx number for that.

I have started recording the Fusion 360 bugs I report 😉

 

 


EESignature

0 Likes
Message 8 of 8

neil.liu
Autodesk
Autodesk

Hi Peter, 

 

That is really great to know that you resolved this issue!

 

I tried to create two accounts on my mac, one is administrator, one is standard. I installed Fusion 360 with this standard account and Spyder can work well.

 

It looks this issue was resolved in the new Spyder version. We would consider to upgrade Spyder in the future.

 

BTW, any bugs are welcomed:) 

 

Thanks, 

-Neil

 

0 Likes