Open loueeee opened 9 months ago
"/Applications/Blender.app/Contents/Resources/3.5/scripts/addons/OGRECave blender2ogre master io_ogre/init.py", line 114, in register bpy.utils.register_class(clazz) ValueError: register_class(...): already registered as a subclass 'OGRE_MT_mini_report'
What is up with that path?
Is it really installed at "addons/OGRECave blender2ogre master io_ogre/"?
It should be "addons/io_ogre"...
You have to copy the folder "io_ogre" from the downloaded zip to the Blenders "addons" folder.
Thank you for your answer.
I am not sure why this path shows up. I added the zip in the Blenders "addons" folder. Would it be possible for my computer to look for these files in other folders?
I am not sure why this path shows up. I added the zip in the Blenders "addons" folder. Would it be possible for my computer to look for these files in other folders?
No, that was a mistake.
The proper way to install the plugin is to download the zip in some folder, uncompress it and then copy only the io_ogre
folder into Blenders add-ons folder
I thought that's what I did, is the io_ogre folder the ogre folder that we can see from my picture?
I am sorry if this is common sense, I am not used to doing this type of thing.
I used this folder zipped to install the add on
I used this folder zipped to install the add on
Oh, you zipped the folder io_ogre folder and then installed it?
I don't know what would that do, the "proper" way would be to unzip what you downloaded from the github repo and then from that zip copy only the "io_ogre" folder into the Blender add-ons folder.
From the screenshot it seems that you only have the contents of "io_ogre" in your addons Blender folder and that seems wrong.
In you Blenders add-on folder you should have other folders with io_something.
I understand that our way of installing the add-on is not the best.
I don't remember now why it was not possible to simply create an installable zip as other plugins do.
I only dowloaded the "io_ogre" folder from the GitHub, I then unzip it and copied that folder to the Blender "addons".
"From the screenshot it seems that you only have the contents of "io_ogre" in your addons Blender folder and that seems wrong." Do you mean that there should be an extra folder in the "addons" folder called "io_ogre" with all the contents that I currently have?
"In your Blenders add-on folder you should have other folders with io_something." The io_something folders should be the other preinstalled Blender addons?
I found other io_something files but in another path than where they are suppose to be in?
There might be something different in MacOS, unfortunately I'm not familiar with that Operating System.
The "ioogre" folder should be with the other "io{something}" folders.
That should be the "proper" way to install the addon.
I was just recapping how the Blender install addon works and that is incompatible with the way that github packages the repository and that is why we are not doing it that way.
Ok, no worries! Thank you very much for your help. I will keep on trying to understand this and hopefully make it work.
I am now having a different error.
Edit: It was a typo in the code, it runs now. However, another error pops up
It seems that you didn't configure the plugin.
When you activate the plugin from the Blenders add-ons options there are some settings to configure like the path to your OGRE binaries
Also, the bug you found is legit (should be "Report.errors")
Ok thanks! Do I need to change something here ?
Are OgreXMLConverter
and OgreMeshUpgrader
in those paths?
No, they should be with the other files in addons, right?
No, they are from your OGRE installation.
This add-on is to convert Blender files into OGRE .mesh files.
You should have OGRE already installed to use this.
Yes, I have OGRE installed but not those specific files OgreXMLConverter and OgreMeshUpgrader
How did you install it (OGRE)?
Without those files (OgreXMLConverter
being the most important) you won't be able to convert Blender files to OGRE mesh.
Are you sure those files are not present? Perhaps in Mac they have another extension.
I downloaded it from https://www.ogre3d.org/download/sdk/sdk-ogre and followed the steps. I cannot seem to find those files, unfortunately.
Sorry this is frustrating, I have just never dealt with anything of this kind.
But, which one did you download?
I think it would be better to continue the conversation in gitter
Because it is more interactive.
You can log in with your github account
Ok, I joined Gitter now!
I downloaded the source code, but I am not sure if there is anything else I need to do to install it ?
Oh, you just downloaded the source code?
You have to build it...
Yes :( Building is referring to "installing" it? I saw that I might need to use Cmake ?
Is there a way where I do not need to build it ?
It does not seem like it for MacOS
You have to build it and then install it, yes using CMake
Ok, this will then be my next challenge. Thank you for your continuous help!
You can use ogre-python to avoid having to compile things and it is more user friendly
Hello,
I am completely new to this and I am trying to export an environment (scene?) from Blender to OGRE. I installed it, following the readme and it worked fine. However, now when I want to "select" it by clicking the box I get this error. Does anyone have an idea of how to fix it? Thank you so much in advance!
Traceback (most recent call last): File "/Applications/Blender.app/Contents/Resources/3.5/scripts/modules/addon_utils.py", line 369, in enable mod.register() File "/Applications/Blender.app/Contents/Resources/3.5/scripts/addons/OGRECave blender2ogre master io_ogre/init.py", line 114, in register bpy.utils.register_class(clazz) ValueError: register_class(...): already registered as a subclass 'OGRE_MT_mini_report'