Jump to content

Hugo737

Members
  • Posts

    5
  • Joined

  • Last visited

Reputation

2 Neutral

Contact Methods

Profile Information

  • About me
    Glory for the South!
  • Location
    South Hugolandian Monarchy
  • Interests
    Launching glorious missiles.
  1. Hm, for some reason I get another error log. I'm now on Blender 2.83 which is the version the addon was made for and I'm trying to open a non-modded aircraft. bpy.ops.import_object.ksp_craft(filepath="C:\\Program Files (x86)\\Steam\\steamapps\\common\\Kerbal Space Program\\saves\\par défaut\\Ships\\VAB\\test.craft") Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\addons\io_object_mu\import_craft\import_craft.py", line 106, in execute return import_craft_op(self, context, **keywords) File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\addons\io_object_mu\import_craft\import_craft.py", line 80, in import_craft_op obj = import_craft(filepath) File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\addons\io_object_mu\import_craft\import_craft.py", line 44, in import_craft gamedata = GameData(Preferences().GameData) File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\addons\io_object_mu\import_craft\gamedata.py", line 140, in __init__ self.models = Model.Preloaded() File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\addons\io_object_mu\model\model.py", line 95, in Preloaded preloaded[url] = Model(None, url) File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\addons\io_object_mu\model\model.py", line 106, in __init__ obj, mu = import_mu(model, path, False, False) File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\addons\io_object_mu\import_mu\import_mu.py", line 199, in import_mu if not mu.read(filepath): File "C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\addons\io_object_mu\mu.py", line 1181, in read self.file = open(filepath, "rb") TypeError: expected str, bytes or os.PathLike object, not NoneType location: <unknown location>:-1 Thanks in advance for your help.
  2. Looks like what I had at first, make sure you put the game directory here :
  3. Ah, thanks, I didn't even notice the inputs under the addon in the list in Blender. Though I now have this error after a couple of seconds of loading : Python: Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.92\2.92\scripts\addons\io_object_mu\import_craft\import_craft.py", line 106, in execute return import_craft_op(self, context, **keywords) File "C:\Program Files\Blender Foundation\Blender 2.92\2.92\scripts\addons\io_object_mu\import_craft\import_craft.py", line 80, in import_craft_op obj = import_craft(filepath) File "C:\Program Files\Blender Foundation\Blender 2.92\2.92\scripts\addons\io_object_mu\import_craft\import_craft.py", line 60, in import_craft part = gamedata.parts[pname].get_model() File "C:\Program Files\Blender Foundation\Blender 2.92\2.92\scripts\addons\io_object_mu\import_craft\part.py", line 64, in get_model self.cfg, loaded_parts_collection()) File "C:\Program Files\Blender Foundation\Blender 2.92\2.92\scripts\addons\io_object_mu\model\model.py", line 49, in compile_model obj = mdl.instantiate(f"{name}:submodel", position, rotation, scale) AttributeError: 'NoneType' object has no attribute 'instantiate' location: <unknown location>:-1
  4. Hello, I have some trouble using this addon. I'm running the latest version of Blender, as I just updated it before installing the addon (from github). Here's what I get when trying to import a .craft file : bpy.ops.import_object.ksp_craft(filepath="C:\\Users\\Hugo\\Desktop\\_Geost__1.craft") bpy.ops.outliner.item_activate(extend=False, deselect_all=True) bpy.ops.outliner.delete(hierarchy=True) bpy.ops.outliner.item_activate(extend=False, deselect_all=True) Python: Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.92\2.92\scripts\addons\io_object_mu\import_craft\import_craft.py", line 106, in execute return import_craft_op(self, context, **keywords) File "C:\Program Files\Blender Foundation\Blender 2.92\2.92\scripts\addons\io_object_mu\import_craft\import_craft.py", line 80, in import_craft_op obj = import_craft(filepath) File "C:\Program Files\Blender Foundation\Blender 2.92\2.92\scripts\addons\io_object_mu\import_craft\import_craft.py", line 44, in import_craft gamedata = GameData(Preferences().GameData) File "C:\Program Files\Blender Foundation\Blender 2.92\2.92\scripts\addons\io_object_mu\import_craft\gamedata.py", line 146, in __init__ self.create_db() File "C:\Program Files\Blender Foundation\Blender 2.92\2.92\scripts\addons\io_object_mu\import_craft\gamedata.py", line 129, in create_db recurse_tree(self.root, self.build_db) File "C:\Program Files\Blender Foundation\Blender 2.92\2.92\scripts\addons\io_object_mu\import_craft\gamedata.py", line 29, in recurse_tree files = os.listdir(path) FileNotFoundError: [WinError 3] Le chemin d’accès spécifié est introuvable: '' location: <unknown location>:-1 Thanks in advance for your help. Hugo.
×
×
  • Create New...