Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Fusion Exporter) os module missing #949

Closed
HunterBarclay opened this issue Oct 27, 2023 · 0 comments · Fixed by #950 or #944
Closed

(Fusion Exporter) os module missing #949

HunterBarclay opened this issue Oct 27, 2023 · 0 comments · Fixed by #950 or #944
Assignees

Comments

@HunterBarclay
Copy link
Member

HunterBarclay commented Oct 27, 2023

Description

A couple of users have encountered a bug in which their Fusion exporter addins crash due to the following:

ImportError: cannot import name '__file__' from 'os' (unknown location)

How to Reproduce

I've found that updating Fusion generally causes this but the versions in which we've updated to has varied. The latest version of Fusion in which we haven't been able to reproduce the bug was in 2.0.16490 on Windows 10.

The most effective way for reproducing it, we've found so far, is by updating Fusion. We also haven't been able to reproduce it on MacOS yet.

Current Work Arounds

Both @BrandonPacewic and I have found that after starting the addin in debug mode then restarting Fusion 360, the addin begins to work as expected and the issue is no longer reproducible. This worked in #948 but failed with another user on Discord.

@HunterBarclay HunterBarclay linked a pull request Nov 7, 2023 that will close this issue
3 tasks
@HunterBarclay HunterBarclay reopened this Nov 9, 2023
@HunterBarclay HunterBarclay linked a pull request Nov 9, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants