You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "C:\Users\hanne\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\modules\plugget_qt\__init__.py", line 140, in search_packages
packages = cmd.search(self.search_field.text())
File "C:\Users\hanne\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\modules\plugget\commands\__init__.py", line 159, in search
manifest_paths = _discover_manifest_paths(name=name, search_paths=search_paths)
File "C:\Users\hanne\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\modules\plugget\commands\__init__.py", line 173, in _discover_manifest_paths
package_dirs = [package_dir for package_dir in app_path.iterdir() if package_dir.is_dir()]
File "C:\Users\hanne\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\modules\plugget\commands\__init__.py", line 173, in <listcomp>
package_dirs = [package_dir for package_dir in app_path.iterdir() if package_dir.is_dir()]
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\python\lib\pathlib.py", line 1015, in iterdir
for name in self._accessor.listdir(self):
strange since we check if folder exists before iter
def_discover_manifest_paths(search_paths, name=None):
"""search for manifest files"""manifest_paths= [] # get the manifestsforapp_pathinsearch_paths: # iter app foldersifnotapp_path.exists():
continuepackage_dirs= [package_dirforpackage_dirinapp_path.iterdir() ifpackage_dir.is_dir()]
forpackage_dirinpackage_dirs: # iter package foldersformanifest_pathinpackage_dir.glob("*.json"): # iter manifestssource_name=package_dir.name# this checks for manifest name, not name in package todoifnameisNoneorname.lower() insource_name.lower(): # todo we search manifest file name, instead of name in the packagemanifest_paths.append(manifest_path)
returnmanifest_paths
The text was updated successfully, but these errors were encountered:
strange since we check if folder exists before iter
The text was updated successfully, but these errors were encountered: