Category | Farming Simulator 19 |
Created | 30.03.2019 18:43 |
Sparky Twenty (Sparky20Modding) | 30.03.2019 18:43 |
---|---|
Can someone please help me, I downloaded Blender 2.79 a month ago, and then recently I tried to install the exporter and this error happened: The error is: Traceback (most recent call last): File "C:\Program Files\Blender Foundation\ Blender\2.79\scripts\modules\addon_utils.py", line 33l, in enable mod_import_(module_name) File "C:\Users\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\io_export_i3d\_init_.py", line 40, in <module> from . import 'i3d_ui ImportError:cannot import name 'i2d_ui' |
Bilbo Beutlin (BBeutlin) | 30.03.2019 23:54 |
---|---|
You MUST install "as administrator" - else the installer has not the rights to write files into certain folders (due to Windows UAC/DEP). |
Sparky Twenty (Sparky20Modding) | 03.04.2019 17:12 |
---|---|
OK, I am new to Pc computers, I am just wondering how to do it, I am kind of a Noob at these sort of things |
Unknown | 05.06.2019 21:28 |
---|---|
It's not about installing as an admin. They've botched the addon structure, their __init__.py tries to import from i3d_ui.py which is not included in the zip. If you extract both version 8's addon and version 7's addon, and check the __init__.py from both, you'll see that version 7's __init__ imports from i3d_UIexport, which is included in the addon. I'll try to fix the import statements to be like in editor version 7, and see what happens. But not tonight, though. |
Aidan Cole (AC_2500s) | 07.06.2020 03:11 |
---|---|
found a fix copy and past this over the existing _init_.py in notpad++; # ##### BEGIN GPL LICENSE BLOCK ##### # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software Foundation, # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # ##### END GPL LICENSE BLOCK ##### print(__file__) bl_info = { "name": "GIANTS I3D Exporter Tools", "author": "GIANTS Software", "blender": ( 2, 7, 8 ), "version": ( 7, 1, 0 ), "location": "GIANTS I3D", "description": "GIANTS Utilities and Exporter", "warning": "", "wiki_url": "http://gdn.giants-software.com", "tracker_url": "http://gdn.giants-software.com", "category": "Game Engine"} global DCC_PLATFORM DCC_PLATFORM = "blender" if "bpy" in locals(): import importlib importlib.reload(i3d_UIexport) importlib.reload(i3d_IOexport) else: from . import i3d_UIexport from . import i3d_IOexport import bpy #------------------------------------------------------------------------------- # I3D Menu Class #------------------------------------------------------------------------------- class I3D_Menu( bpy.types.Menu ): bl_label = "GIANTS I3D" bl_idname = "i3d_menu" def draw( self, context ): layout = self.layout layout.label( text = "v {0}".format(bl_info["version"]) ) layout.operator( "i3d.menu_export" ) #------------------------------------------------------------------------------- # I3D Menu Draw #------------------------------------------------------------------------------- def draw_I3D_Menu( self, context ): self.layout.menu( I3D_Menu.bl_idname ) #------------------------------------------------------------------------------- # Register #------------------------------------------------------------------------------- def register(): i3d_UIexport.register() bpy.utils.register_class( I3D_Menu ) bpy.types.INFO_HT_header.append( draw_I3D_Menu ) def unregister(): i3d_UIexport.unregister() bpy.utils.unregister_class( I3D_Menu ) bpy.types.INFO_HT_header.remove( draw_I3D_Menu ) if __name__ == "__main__": register() #------------------------------------------------------------------------------- |
Note: Log in to post. Create a new account here.