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

SA2 Event Importing: E0017 Import Failure #27

Open
Marswastakenwastaken opened this issue Aug 10, 2024 · 0 comments
Open

SA2 Event Importing: E0017 Import Failure #27

Marswastakenwastaken opened this issue Aug 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Marswastakenwastaken
Copy link

Marswastakenwastaken commented Aug 10, 2024

Issue

When attempting to import E0017, the addon throws an error mentioning upgrades and armatures.

Edit: September 9th, 2024

After looking into the event's data using splitEvent, I found that the event is pointing to data for the model for Tails's windshield, which this event does not have. My guess is that when attempting to import E0017, it tries to find a model for Tails's windshield but can't because it does not exist, causing it to fail. Removing that data from the cutscene causes it to import properly.

The Error

Python: Traceback (most recent call last):
  File "C:\Users\Mars1\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\saio\sonic_adventure_io\source\register\operators\base.py", line 27, in execute
    return self._execute(context)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Mars1\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\saio\sonic_adventure_io\source\register\operators\import_operators.py", line 404, in _execute
    importer.process(import_data)
  File "C:\Users\Mars1\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\saio\sonic_adventure_io\source\importing\i_event.py", line 640, in process
    self._categorize_models()
  File "C:\Users\Mars1\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\saio\sonic_adventure_io\source\importing\i_event.py", line 358, in _categorize_models
    self._setup_attach_upgrade(
  File "C:\Users\Mars1\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\saio\sonic_adventure_io\source\importing\i_event.py", line 321, in _setup_attach_upgrade
    if target_object.type == "ARMATURE":
       ^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'type'
@Justin113D Justin113D added the bug Something isn't working label Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants