julienduroure / ExtraGroups

20 stars 4 forks source link

Export not working Blender 2.93.1 #2

Open TACarp opened 3 years ago

TACarp commented 3 years ago

The export function is not working in Blender 2.93.1. I get the following error message:

Python: Traceback (most recent call last): File "C:\Users\troyc\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\ExtraGroups-master\ops_export.py", line 52, in execute data['version'] = sys.modules['ExtraGroups'].bl_info['version'] KeyError: 'ExtraGroups'

location: :-1


Additionally, the color picker where you are supposed to pick colors for bone groups doesn't open when I click on the color in edit mode. I don't get an error message. The color picker just doesn't open.

Based on the blender market page, I don't know if there are plans to continue to develop this addon beyond 2.8x. I thought I would report this bugs/issues in case there are. I have had no problems with the addon in 2.93 other than these.

TACarp commented 3 years ago

My mistake I wasn't in edit mode I had option selected. The color picker works fine in 2.93. (Although not selectable, but that is more of a feature request than a bug.) I still cannot get the export function to work.

julienduroure commented 3 years ago

Hello, Thanks for your report. I will have a look soon

TACarp commented 3 years ago

I was able to get it to work by removing line 52 from "ops_export.py" I am not sure what the function of this line was but removing works as a jerry rigged solution.

julienduroure commented 3 years ago

I can't reproduce with a simple case. Can I have more context (or better, can you share your file)? Is it a flie created in 2.93.1 or upgraded from 2.79 or 2.8x?

TACarp commented 3 years ago

I was able to quickly recreate the issue in blender 2.93 by: 1- Downloading and enabling the latest addon version. 2- Adding rigify meta rig. 3- Generating the rigify rig. 4- Initiating extra groups from scratch. 5- Creating a few groups and assigning bones.

6- I then tried the "export to file feature" and got the error message upon naming and pressing save for the txt file.

I haven't been able to get to get the export feature to work in 2.93 on completed rigs without my crude code edit. listed above. The above list is just how to quickly recreate the problem. I included the blend file via google drive in the link below just in case, but you don't need to follow my steps. https://drive.google.com/file/d/1L1vCjriTswp_zMGa0U900OlJ7inUKQsc/view?usp=sharing