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: Run Entire Set-Up and Set Up Chracter #122

Open
honestcactus opened this issue May 27, 2024 · 3 comments
Open

Error: Run Entire Set-Up and Set Up Chracter #122

honestcactus opened this issue May 27, 2024 · 3 comments

Comments

@honestcactus
Copy link

Tested in Blender 3.4, 4.0, 4.1

Attempting to Set Up Character results in the same error message. Tested with 4 different characters from varying sources.

3.4 & 4.0

Python: Traceback (most recent call last):
  File "\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\setup_wizard\genshin_import_character_model.py", line 83, in execute
    self.import_character_model(character_model_file_path_or_directory, is_character_model_file)
  File "\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\setup_wizard\genshin_import_character_model.py", line 115, in import_character_model
    bpy.ops.better_import.fbx(
  File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\scripts\modules\bpy\ops.py", line 107, in __call__
    ret = _op_call(self.idname_py(), kw, C_exec, C_undo)
TypeError: Converting py args to operator properties:  BETTER_IMPORT_OT_fbx.filepath doesn't support None from string types

4.1

Python: Traceback (most recent call last):
  File "\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\setup_wizard\genshin_import_character_model.py", line 83, in execute
    self.import_character_model(character_model_file_path_or_directory, is_character_model_file)
  File "\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\setup_wizard\genshin_import_character_model.py", line 115, in import_character_model
    bpy.ops.better_import.fbx(
  File "C:\Program Files\Blender Foundation\Blender 4.1\4.1\scripts\modules\bpy\ops.py", line 107, in __call__
    ret = _op_call(self.idname_py(), kw, C_exec, C_undo)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Converting py args to operator properties:  BETTER_IMPORT_OT_fbx.filepath doesn't support None from string types
@michael-gh1
Copy link
Owner

Hi @honestcactus, looks like the error you're getting is the same for each of the versions you tried.

While the addon doesn't support 3.4 and 4.1, I do think the issue you're specifically having is unrelated to the Blender version you're using.

This error suggests to me that the Setup Wizard is not finding an .fbx file in the folder you are selecting. Could you provide your setup (folder structure, where is the .fbx file and what you're selecting) and steps to reproduce your issue?

For example, I'm able to reproduce this error if I select a folder with no .fbx file in it. But if I select the exact .fbx file or the folder containing the .fbx file, I am able to successfully import the character model.

@zhangjiading152
Copy link

Hello, the tutorial address you linked cannot be opened and the display is invalid. Can you re-upload the video tutorial?

@honestcactus
Copy link
Author

Hi @honestcactus, looks like the error you're getting is the same for each of the versions you tried.

While the addon doesn't support 3.4 and 4.1, I do think the issue you're specifically having is unrelated to the Blender version you're using.

This error suggests to me that the Setup Wizard is not finding an .fbx file in the folder you are selecting. Could you provide your setup (folder structure, where is the .fbx file and what you're selecting) and steps to reproduce your issue?

For example, I'm able to reproduce this error if I select a folder with no .fbx file in it. But if I select the exact .fbx file or the folder containing the .fbx file, I am able to successfully import the character model.

Ah that seems to be the issue, the official models are offered as .pmx not .fbx files. Here's is one folder in question.
image

I did also attempt to import the .pmx model via a MMD addon but that doesn't seem to work either.

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

3 participants