X-Plane / XPlane2Blender

Scenery & Aircraft export addon for Blender and X-Plane
GNU General Public License v3.0
190 stars 67 forks source link

Error import ioxplane in Blender 3.4.1 thanks Ben. #722

Open tomstar52 opened 1 year ago

tomstar52 commented 1 year ago

error 3 4 1

bsupnik commented 8 months ago

What version of the exporter are you using?

melbo911 commented 6 months ago

got the same error when trying in install plugin version 4.2.0 (io_xplane2blender_4_2_0-alpha_1-101_20211103174028.zip) into Blender 3.3 on macOS Monterey (intel) any idea what could cause this ?

Screenshot 2023-11-11 at 15 28 54 Screenshot 2023-11-11 at 15 28 36
melbo911 commented 6 months ago

hm... changing 3 lines in the "xplane_keyframe_collection.py" seems to fix it

import copy
import math
#from collections import Iterable, namedtuple                  <----
from collections import namedtuple                                   <----
from collections.abc import Iterable,MutableSequence    <----
from typing import List, Tuple
.
.
.
DWmFrancis commented 6 months ago

Is someone going to test this and update the release package to accommodate it?

-df

melbo911 commented 6 months ago

just found that the current plugin version 4.3.0 already has the same change:

import copy
import math
from collections import namedtuple
from collections.abc import MutableSequence, Iterable
from typing import List, Tuple

. https://github.com/X-Plane/XPlane2Blender/blob/master/io_xplane2blender/xplane_types/xplane_keyframe_collection.py

DWmFrancis commented 6 months ago

Any chance one of you might consider fixing the issues with the alpha-1 release that included the ability to import x-plane objects?

melbo911 commented 6 months ago

after applying the change from above 4.2.0a1 runs basically for me.. with exports ... but no chance importing anything

getting this error regardless which OBJ I'm trying to import:

Screenshot 2023-11-13 at 18 32 31

did not figure out yet why that happens

however, i found this on the web, but it relates to another plugin and Linux:

https://jkhub.org/forums/topic/12512-trying-to-set-blender-back-up-and-ive-encountered-a-weird-glitch/

DWmFrancis commented 6 months ago

I don't think the files that support importing were included in builds after the 4.2.0 Alpha-1 build of xplane2blender. The import function works well with Blender 2.93, but not later releases. Ted Green was leading the development effort, but I don't think he's working with Laminar currently.

DWmFrancis commented 6 months ago

Development on the 4.2.0 Alpha-1 branch - which had import capability - stopped over a year ago, about when Ted Green left Laminar.

The last version of Blender that Alpha-1 worked with was 2.93.

-df