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

AttributeError: 'str' object has no attribute 'Material' #66

Closed
Heath123 opened this issue Jul 13, 2021 · 0 comments
Closed

AttributeError: 'str' object has no attribute 'Material' #66

Heath123 opened this issue Jul 13, 2021 · 0 comments

Comments

@Heath123
Copy link
Contributor

Traceback (most recent call last):
  File "/home/heath/Downloads/abmatt/abmatt/__main__.py", line 29, in <module>
    main()
  File "/home/heath/Downloads/abmatt/abmatt/__main__.py", line 22, in main
    files = load_config.parse_args(argv, base_path)
  File "/home/heath/Downloads/abmatt/abmatt/load_config.py", line 358, in parse_args
    if not Command.run_commands(cmds):
  File "/home/heath/Downloads/abmatt/abmatt/command.py", line 705, in run_commands
    cmd.run_cmd()
  File "/home/heath/Downloads/abmatt/abmatt/command.py", line 769, in run_cmd
    return self.run_convert()
  File "/home/heath/Downloads/abmatt/abmatt/command.py", line 837, in run_convert
    mdl = converter.load_model(model)
  File "/home/heath/Downloads/abmatt/abmatt/converters/convert_dae.py", line 43, in load_model
    self._before_encoding()
  File "/home/heath/Downloads/abmatt/abmatt/converters/convert_lib.py", line 123, in _before_encoding
    self.encode_materials()
  File "/home/heath/Downloads/abmatt/abmatt/converters/convert_dae.py", line 57, in encode_materials
    self._encode_material(material.Material(material))
AttributeError: 'str' object has no attribute 'Material'

model.zip

Robert-N7 added a commit that referenced this issue Aug 6, 2021
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