Skip to content

Export fails with AttributeError in _get_target_platform_lib #3

@hemebond

Description

@hemebond

Trying to export the test project fails with:

  src/module/class_creation_info.cpp:73 - �[91;1mTraceback (most recent call last):
  �[0m�[91;1;2m  File "godot/_python_extension/editor/export_plugin.py", line 86, in _export_begin
      platform_lib = _get_target_platform_lib(platform, arch)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  �[0m�[91;1m  File "godot/_python_extension/editor/export_plugin.py", line 70, in _get_target_platform_lib
      if path.exists():
         ^^^^^^^^^^^
  �[0m�[91;1mAttributeError: 'str' object has no attribute 'exists'
  �[0m�[91;1;2m  While calling: godot._python_extension.editor.export_plugin.PythonExportPlugin._export_begin
  �[0m
  Cannot get class 'ExampleMin'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingexportrelated to project export

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions