Comments (3)
No need to be sorry. You pave the way for the future of using Blender in the scientific environment. Glitches are expected :-)
Thank you very much for the tip. It does help us. I will rise a separate ticket about the problem with the debug mode, to keep the conversation clean.
from pycharm-blender-plugin.
Another fact: on the Linux machine, when I try to debug my addon, I get the following output on the Blend-Charm panel:
Starting debug server at port 8,132
Use the following code to connect to the debugger:
import pydevd_pycharm
pydevd_pycharm.settrace('localhost', port=8132, stdoutToServer=True, stderrToServer=True, suspend=False)
Waiting for process connection…
/snap/bin/blender --python /tmp/BlendCharm/pycharm_connector.py --
And the status bar keeps displaying "Waiting for process connection...".
from pycharm-blender-plugin.
Hi Adam,
Sadly the bpy module is not included in almost every python libs by default since it's a specific Blender module.
In any case your IDE does not require to recognize the module for your add-on to work in Blender, but it's definetly better to have less red lines and auto-completition while coding.
To fix it, there are a lot of python packages that replicate the structure of that module, the one that I use is fake-bpy-module.
It's very simple to install, you can use pip and after that all your IDEs should be able to find the module correctly!
For the second issue... I didn't test my plugin in a Linux enviroment since I have none at hand right now.
It may require me to use a VM so it may take a while to find the cause.
One question... it looks you started it in debug-mode, does everything work in the default run-mode?
Thanks and sorry for the issues~
from pycharm-blender-plugin.
Related Issues (20)
- 'exe' dependency for adding instance HOT 5
- Debug mode seems to be inactive HOT 4
- Is it possible to output to the console? HOT 6
- Environment Variables HOT 8
- Can't Debug with 2023.1 HOT 5
- No option to mark folder as Blender Add-On, bpy module not found HOT 2
- Configure Blender Executable
- cann't connect to blender? HOT 1
- Plugin does not want to install PyCharm 2023.1 and 2023.2 Community's Edition HOT 8
- Blender 4.0 Crash HOT 3
- Crash loading blender program with pycharm
- Marking projects or folders as addons does not exist in the menu HOT 4
- Blender no longer starts
- Pycharm 2024.1 says 'Blend-Charm' plugin is no longer compatible HOT 1
- print nothing HOT 3
- Reload on Save not working HOT 14
- Windows: only works with traditionally installed Blender HOT 2
- Linux: Random NullPointerException
- No connection to the Blender while using the debug mode
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 pycharm-blender-plugin.