Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trackback errors | Sim Update 5 #16

Open
azgoodaz opened this issue Aug 2, 2021 · 9 comments
Open

Trackback errors | Sim Update 5 #16

azgoodaz opened this issue Aug 2, 2021 · 9 comments

Comments

@azgoodaz
Copy link

azgoodaz commented Aug 2, 2021

Blender not opening up models anymore? I've been on 2.83 Stable LTS of Blender for over a year now and never had issues opening models now. But I tried to open up a few aircraft models now and I just get Trackback errors now when opening up a model.

Traceback (most recent call last):
  File "C:\Users\Azgoodaz\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_msfs_gltf.py", line 283, in execute
    return import_msfs_gltf(context, self.filepath, self.report)
  File "C:\Users\Azgoodaz\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_msfs_gltf.py", line 255, in import_msfs_gltf
    objects = create_objects(gltf, meshes)
  File "C:\Users\Azgoodaz\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_msfs_gltf.py", line 221, in create_objects
    obj.scale = node['scale']
KeyError: 'scale'

location: <unknown location>:-1
@bestdani
Copy link
Owner

bestdani commented Aug 2, 2021

Can someone with the latest MSFS update maybe veryify the issue? Would be deleting / just ignoring the missing scale node in this case just work? Unfortunately I have no MSFS subscription currently due to lack of time for this hobby and cannot investigate what has been changed in the latest update.

@azgoodaz
Copy link
Author

azgoodaz commented Aug 2, 2021

Can someone with the latest MSFS update maybe veryify the issue? Would be deleting / just ignoring the missing scale node in this case just work? Unfortunately I have no MSFS subscription currently due to lack of time for this hobby and cannot investigate what has been changed in the latest update.

A non-developer fixed the issue. Maybe you can push this update? https://forums.flightsimulator.com/t/3d-livery-painting-on-the-msfs-models/257637/128

@RoscoHead
Copy link

I can confirm the problem, and that the linked version fixes it :)

@RoscoHead
Copy link

However, I notice the UV map for the prop on the 152 is massively out of scale - might this be related?
https://www.fsdeveloper.com/forum/threads/prop-texture-in-c152.453243/

@bestdani
Copy link
Owner

bestdani commented Aug 6, 2021

Since the issue seems to be caused by some missing scale node information that had been used before and now is simply ignored when they are "missing", this would explain the out of scale UV map in this case if it didn't happen before.

Maybe Microsoft / Asobo changed the file format as part of the optimizaion process or so? Unfortunately there's nothing really left from the Khronos glTF standard anymore in these MS / Asobo "glTF" files anyway.

@timothyj6767
Copy link

timothyj6767 commented Sep 19, 2021

Cannot import aircraft traceback error ..Newest update blender and the sim..
Python: Traceback (most recent call last):
File "C:\Users\t_han\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\io_msfs_gltf.py", line 327, in execute
return import_msfs_gltf(context, self.filepath, self.report)
File "C:\Users\t_han\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\io_msfs_gltf.py", line 302, in import_msfs_gltf
objects = create_objects(gltf['nodes'], meshes)
File "C:\Users\t_han\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\io_msfs_gltf.py", line 238, in create_objects
scale = node['scale']
KeyError: 'scale'

location: :-1

I have the sim installed on a different drive than C if that matters?

@timothyj6767
Copy link

I get this error using the latest version of blender and the latest update ..please fix..
import_error

@JackMcLeanGSY
Copy link

JackMcLeanGSY commented Sep 26, 2021

Do you get this error on every aircraft?

@Slowe09
Copy link

Slowe09 commented Dec 20, 2023

I get this error using the latest version of blender and the latest update ..please fix.. import_error

Hey,
I want to do my own livery too but have the same problem. I just wanted to ask if you found the solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants