XPlane2Blender icon indicating copy to clipboard operation
XPlane2Blender copied to clipboard

Error import ioxplane in Blender 3.4.1 thanks Ben.

Open tomstar52 opened this issue 2 years ago • 9 comments

error 3 4 1

tomstar52 avatar Feb 05 '23 09:02 tomstar52

What version of the exporter are you using?

bsupnik avatar Sep 08 '23 16:09 bsupnik

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 avatar Nov 11 '23 14:11 melbo911

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
.
.
.

melbo911 avatar Nov 11 '23 15:11 melbo911

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

-df

DWmFrancis avatar Nov 12 '23 19:11 DWmFrancis

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

melbo911 avatar Nov 13 '23 11:11 melbo911

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

DWmFrancis avatar Nov 13 '23 15:11 DWmFrancis

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/

melbo911 avatar Nov 13 '23 17:11 melbo911

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 avatar Nov 14 '23 02:11 DWmFrancis

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

DWmFrancis avatar Nov 14 '23 03:11 DWmFrancis