Skip to content
New issue

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

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

Already on GitHub? # to your account

Error popping up in coding, according to Blender #55

Open
zmand97a opened this issue Mar 18, 2022 · 3 comments
Open

Error popping up in coding, according to Blender #55

zmand97a opened this issue Mar 18, 2022 · 3 comments

Comments

@zmand97a
Copy link

I'm trying to fix an error that Blender says is on line 103 in init.py since the traceback error is preventing me from using blemd, but i don't know how to fix it. I'm attaching a picture of the code sample and the error message to this post; the latter is the message from Blender. Is there a way to fix this or a particular method?
Screen Shot 2022-03-18 at 1 50 04 PM
Screen Shot 2022-03-18 at 1 31 27 PM

@niacdoial
Copy link
Owner

Are you using blender 2.79?
Sorry, I changed what blender version needed to be used somewhat recently, and now you need at least blender 2.8x (I tested it on 2.83 and blender 3.0).
Did I leave something misleading in the docs ?

If using blender 2.79 was something you chose yourself, you'll have to use the version of BleMD at commit 130ad91.

@zmand97a
Copy link
Author

I tried using different versions of blender. What I eventually tried doing in one of my attempts was to try replacing some of the syntaxes in the init.py file.

@niacdoial
Copy link
Owner


and did you get different error messages with blender 2.83 and an unmodified __init__.py file ?

The big difference between the 2.7x and 2.8x version series is that blender 2.7x versions want the property = PropertyType(…) syntax, while the 2.8x versions and above want property: PropertryType(…) instead. But that's far from the only change in blender's API, so you'll need to use a version of BleMD that is designed to work with the version of blender you are using.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants