Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Simply does nothing after clicking Run #3

Open
jkbecker opened this issue Sep 18, 2020 · 3 comments
Open

Simply does nothing after clicking Run #3

jkbecker opened this issue Sep 18, 2020 · 3 comments
Labels
question Further information is requested

Comments

@jkbecker
Copy link

I added the directory, selected the script and hit run, it seems like simply nothing happens.

This is on Mac OS 10.14.6 using 2.0.5357 using a "Fusion 360 Student" plan.

Could this be a Mac OS issue? At first glance I'm not seeing any OS-specific code that could fail... also, nothing seems to actively "fail" (no Exceptions thrown, it feels like it simply doesn't run in the first place)...?

I also found a "Debug" button in the drop-down area of the Run button, but it doesn't do anything either, as far as I can tell...

@Jnesselr
Copy link
Owner

That's definitely weird. I tested it on Mac OS 10.15.6 primarily.

An annoying thing with Fusion is that if it can't parse the file, it'll just... not do anything. It could be that fusion is running the script with a python version that the script is incompatible with. I tried to make sure it was compatible with 2 aside from the type hints which I imported the future requirement for.

For debugging to work in Fusion, you have to have set it up with visual studio code. You can see more info about that here: http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-743C88FB-CA3F-44B0-B0B9-FCC378D0D782#Editing

@jkbecker
Copy link
Author

Hm, ok... I'm a little overloaded with other things right now, will look into debugging. I'm on these Python versions, respectively:

/Users/johannes $ python --version
Python 2.7.16
/Users/johannes $ python3 --version
Python 3.8.5

@Jnesselr
Copy link
Owner

I don't know if the python version that runs in your terminal matches the one that Fusion uses, but the from future import should work on 2.7.16 just fine so... I'm honestly not sure.

The best I can recommend is opening up the Console program on your mac, filter by the "Autodesk Fusion 360" process, then try to open this add-in and hope it logs why it's failing.

@Jnesselr Jnesselr added the question Further information is requested label Sep 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants