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

Error upon model import on Blender 4.3.2 #49

Open
synthicyde opened this issue Jan 11, 2025 · 0 comments
Open

Error upon model import on Blender 4.3.2 #49

synthicyde opened this issue Jan 11, 2025 · 0 comments

Comments

@synthicyde
Copy link

Tring to import models. It was working fine but then broke. I get this error upon first import:

Python: Traceback (most recent call last):
  File "C:\Users\flaky\AppData\Roaming\Blender Foundation\Blender\4.3\extensions\user_default\sonic_adventure_io\source\register\operators\base.py", line 27, in execute
    return self._execute(context)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\flaky\AppData\Roaming\Blender Foundation\Blender\4.3\extensions\user_default\sonic_adventure_io\source\register\operators\import_operators.py", line 126, in _execute
    load_dotnet()
  File "C:\Users\flaky\AppData\Roaming\Blender Foundation\Blender\4.3\extensions\user_default\sonic_adventure_io\source\dotnet\__init__.py", line 51, in load_dotnet
    library.load()
  File "C:\Users\flaky\AppData\Roaming\Blender Foundation\Blender\4.3\extensions\user_default\sonic_adventure_io\source\dotnet\textcopy.py", line 9, in load
    from TextCopy import ClipboardService # pylint: disable=import-error
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1229, in _handle_fromlist
System.TypeLoadException: Could not load type 'System.Threading.Tasks.Task`1' from assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.

   at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)

   at System.Reflection.RuntimeMethodInfo.ToString()

   at Python.Runtime.MethodObject..ctor(MaybeType type, String name, MethodBase[] info, Boolean allow_threads)

   at Python.Runtime.ClassManager.GetClassInfo(Type type, ClassBase impl)

   at Python.Runtime.ClassManager.InitClassBase(Type type, ClassBase impl, ReflectedClrType pyType)

   at Python.Runtime.ReflectedClrType.GetOrCreate(Type type)

   at Python.Runtime.ModuleObject.GetAttribute(String name, Boolean guess)

   at Python.Runtime.ModuleObject.tp_getattro(BorrowedReference ob, BorrowedReference key)

Then I get the following error upon continued imports:

Python: Traceback (most recent call last):
  File "C:\Users\flaky\AppData\Roaming\Blender Foundation\Blender\4.3\extensions\user_default\sonic_adventure_io\source\register\operators\base.py", line 27, in execute
    return self._execute(context)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\flaky\AppData\Roaming\Blender Foundation\Blender\4.3\extensions\user_default\sonic_adventure_io\source\register\operators\import_operators.py", line 126, in _execute
    load_dotnet()
  File "C:\Users\flaky\AppData\Roaming\Blender Foundation\Blender\4.3\extensions\user_default\sonic_adventure_io\source\dotnet\__init__.py", line 51, in load_dotnet
    library.load()
  File "C:\Users\flaky\AppData\Roaming\Blender Foundation\Blender\4.3\extensions\user_default\sonic_adventure_io\source\dotnet\sa3d_common.py", line 9, in load
    from SA3D.Common.Lookup import (  # pylint: disable=import-error
ModuleNotFoundError: No module named 'SA3D'

I have .NET 8.0.11 installed.

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

1 participant