plugget / plugget-unreal-plugin

unreal plugin to search & install plugget packages
2 stars 0 forks source link

AttributeError: property 'actions' of 'Package' object has no setter #22

Closed hannesdelbeke closed 1 week ago

hannesdelbeke commented 1 week ago

image

on plugget qt launch I get an error, which likely is related to the new right click menu

LogPython: Error: Traceback (most recent call last):
LogPython: Error:   File "D:\Program Files\Epic Games\UE_5.4\Engine\Binaries\ThirdParty\Python3\Win64\Lib\site-packages\plugget_qt\__init__.py", line 144, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
LogPython: Error:   File "D:\Program Files\Epic Games\UE_5.4\Engine\Binaries\ThirdParty\Python3\Win64\Lib\site-packages\plugget_qt\__init__.py", line 230, in search_packages
    packages = cmd.search(self.search_field.text(), use_cache=use_cache, app=app)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
LogPython: Error:   File "D:\Program Files\Epic Games\UE_5.4\Engine\Binaries\ThirdParty\Python3\Win64\Lib\site-packages\plugget\commands\__init__.py", line 196, in search
    meta_packages = [PackagesMeta(manifests_dir=manifest_dir) for manifest_dir in manifest_dirs]
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
LogPython: Error:   File "D:\Program Files\Epic Games\UE_5.4\Engine\Binaries\ThirdParty\Python3\Win64\Lib\site-packages\plugget\commands\__init__.py", line 196, in <listcomp>
    meta_packages = [PackagesMeta(manifests_dir=manifest_dir) for manifest_dir in manifest_dirs]
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
LogPython: Error:   File "D:\Program Files\Epic Games\UE_5.4\Engine\Binaries\ThirdParty\Python3\Win64\Lib\site-packages\plugget\data\packages_meta.py", line 19, in __init__
    self.packages: "list" = self.load_packages(manifests_dir)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
LogPython: Error:   File "D:\Program Files\Epic Games\UE_5.4\Engine\Binaries\ThirdParty\Python3\Win64\Lib\site-packages\plugget\data\packages_meta.py", line 26, in load_packages
    packages = [Package.from_json(manifest_path) for manifest_path in manifest_paths]
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
LogPython: Error:   File "D:\Program Files\Epic Games\UE_5.4\Engine\Binaries\ThirdParty\Python3\Win64\Lib\site-packages\plugget\data\packages_meta.py", line 26, in <listcomp>
    packages = [Package.from_json(manifest_path) for manifest_path in manifest_paths]
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
LogPython: Error:   File "D:\Program Files\Epic Games\UE_5.4\Engine\Binaries\ThirdParty\Python3\Win64\Lib\site-packages\plugget\data\package.py", line 339, in from_json
    return cls(**json_data)  #package_name=package_name
           ^^^^^^^^^^^^^^^^
LogPython: Error:   File "D:\Program Files\Epic Games\UE_5.4\Engine\Binaries\ThirdParty\Python3\Win64\Lib\site-packages\plugget\data\package.py", line 108, in __init__
    self.load_attrs_from_installed_manifest()
LogPython: Error:   File "D:\Program Files\Epic Games\UE_5.4\Engine\Binaries\ThirdParty\Python3\Win64\Lib\site-packages\plugget\data\package.py", line 527, in load_attrs_from_installed_manifest
    self.load_manifest_dict(json_data)
LogPython: Error:   File "D:\Program Files\Epic Games\UE_5.4\Engine\Binaries\ThirdParty\Python3\Win64\Lib\site-packages\plugget\data\package.py", line 392, in load_manifest_dict
    setattr(self, key, value)
hannesdelbeke commented 1 week ago

think this might relate to not latest plugget on pypi. local plugget dev repo seems to fix this.

hannesdelbeke commented 1 week ago

closed by https://github.com/plugget/plugget/releases/tag/0.1.16