Giter Site home page Giter Site logo

Comments (3)

adamryczkowski avatar adamryczkowski commented on August 24, 2024 1

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.

adamryczkowski avatar adamryczkowski commented on August 24, 2024

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.

BlackStartx avatar BlackStartx commented on August 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.