Comments (8)
Hmmm. I'm not really sure. Maybe something to do with the windows user having restricted permissions or something?
Does that path that's it's giving a permission denied on actually exist on your machine?
from fusionidea.
I also initially thought about permissions, and tried to change them, but to no avail, that folder says "Read only".
That path does exist, I also checked it. I even reinstalled PyCharm to a new location, but nothing happens.
from fusionidea.
I just tried it with the same version of pycharm, and it's working fine for me. I'm also on the same version of windows, and fusion.
from fusionidea.
Hi, I had the same issue, and debuged the add-in and the plugin to get to this conclusion:
When you start the IDE, the "Run/Debug in Fusion 360" is disabled:
To enable the "Run in Fusion 360" option you should run it first with any configuration. It will fail, but the "Run in Fusion 360" option will be available after that.
The problem is that it seems if you have run configuration set up, you had to fill it out properly even if you don't run that but you run.
You have to provide "script" in the configuration, otherwise the plugin will send the "jbr/bin" folder as script, which is not a file but a folder hence "Permission Denied" error is generated.
Set it up, to point your script file, and it will work.
from fusionidea.
Interesting, thanks for digging into it. Were you using PyCharm as well? I'll see if I can reproduce and hopefully fix/improve this.
from fusionidea.
Yes:
PyCharm 2022.3.2 (Community Edition)
Build #PC-223.8617.48, built on January 24, 2023
Runtime version: 17.0.5+1-b653.25 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 750M
Cores: 20
Non-Bundled Plugins:
org.jf.fusionIdea (0.6.5)
from fusionidea.
I confirm my problem was solved following your advice, thank you very much.
from fusionidea.
I'm not able to reproduce the problem here. When I follow the steps at https://github.com/JesusFreke/fusionIdea/wiki/Getting-started-with-PyCharm-(Windows), the "Run in Fusion 360" and "Debug in Fusion 360" options in the editor context menu and in the run menu are enabled and work fine.
The only thing I can think of is that the plugin checks for either an adsk.core or adsk.fusion import, and the presence of a top level run() function, and doesn't show/enable the "Run/Debug in Fusion 360" options for that file if it doesn't find them.
from fusionidea.
Related Issues (20)
- Only working once and without debugger HOT 9
- Exception using PyCharm 2020.1 on mac HOT 1
- Question about relative imports HOT 6
- Upload new version to jetbrains repo HOT 1
- Mac IPv6 SSDP not working HOT 3
- Fail to load plugin descriptor from file fusion_idea-0.6.2.zip in PyCharm 2021.1.2 HOT 5
- "Unhandled exception while importing and running script" HOT 8
- Breakpoint right after pydevd.settrace call HOT 6
- Mac PyCharm HOT 1
- Couldn't start ssdp server exception HOT 2
- Cannot find facet in Intellij HOT 36
- Improving the startup user experience HOT 1
- Access is allowed from write thread only HOT 3
- Connection to Python debugger failed, Accept timed out HOT 10
- Documentation request HOT 4
- stdout truncated after 1000 bytes HOT 3
- Mac support HOT 92
- Plugin not working 100% with latest version Fusion 360 with python 3.7 HOT 2
- Starts with wrong interpreter HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fusionidea.