블렌더 애드온 오류 - beullendeo aedeuon olyu

Can't believe I'm saying this but... obviously, prman can do this parsing, should oslquery have been written in pure python (ctypes) so it doesn't care what python version Blender (or anyone) is using? In 2022 is that really the answer?

A decade or two ago Py_LIMITED_API looked so promising, it has not turned out to be all that helpful.

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

Assignees

Labels

bug fixed

fixed and awaiting merge into master

Comments

Hey, I am trying to install the addon into blender but I keep running into this error when trying to enable it:
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 2.91\2.91\scripts\modules\addon_utils.py", line 382, in enable
mod.register()
AttributeError: module 'io_pdx_mesh' has no attribute 'register'

Any idea what the cause might be?

The cause is you're using new a version of Blender that is less than a day old! 😉 Looks like something changed with registering addons and I will look into that.

Please use 2.90 with the addon in the meanwhile.

Yes, it's actually a 1 line fix! The addon doesn't register correctly in 2.91 because my code checks sys.executable expecting it to be either Blender.exe or Maya.exe before booting up for either software.

From the release notes:

sys.executable now points to the Python interpreter (instead of the Blender executable)

Figured it was something along those lines, great to hear it's a quick and dirty!

Fixed by 09127bc in the bugfixes branch.
This issue will be closed once the fix is in a release.

@ross-g I am an artist with no experience coding, and am experiencing the same issue as the original post. I can see it says "fixed" under your comment "Fixed by 09127bc in the bugfixes branch." but I cant parse that at all. is there an easy way to put this in laymans terms for me?
If context helps, I am an illustrator with some experience in blender, trying to contribute to a crusader kings 3 mod

That's a great point 😄 in this instance it means that I've found the problem and uploaded the fix to Github. But haven't released a new "official" version to download yet.

You can download the work-in-progress version (the bugfixes branch) if you want, but caveats apply as obviously this contains changes as I make them so isn't guaranteed to work! This link should always download the latest wip version of the tool and can be installed into Blender as normal.
https://github.com/ross-g/io_pdx_mesh/archive/bugfixes.zip
It will even install safely side-by-side with the official released version (just don't turn them both "on" at once)

블렌더 애드온 오류 - beullendeo aedeuon olyu

Ooh, I didn't know you had a bug fixes release, I'll check it out cuz I've been dying to export some models I've been working on!

Sorry if I'm being stupid, but I'm not sure how to import the .mesh files

블렌더 애드온 오류 - beullendeo aedeuon olyu

Labels

bug fixed

fixed and awaiting merge into master