-
Notifications
You must be signed in to change notification settings - Fork 288
Closed
Description
I'm experiencing some frustration. I'd set up the venv for the catalog using python 3.10, but started getting an error with an unmet dependency for typing_extensions
even though I'd re-tan pip install -r tools/requirements.txt
. I saw the comments about fixing a bug for python 3.13, so figured I'd try that. I removed the venv folder and generated it again with python 3.13. However, now I get a new error when trying to validate the bundle, and this happens both on my branch as well as main
:
18:08:13.974 [I] Deploying SDK for f7
18:08:13.974 [I] Fetching version info for UpdateChannel.RELEASE from https://update.flipperzero.one/firmware/directory.json
18:08:14.208 [I] Using version: 1.2.0
18:08:14.208 [I] uFBT SDK dir: /Users/bettse/.ufbt/current
18:08:14.208 [I] SDK is up-to-date
18:08:14.310 [I] Working in '/private/var/folders/44/zftr3xj92fn8yl2byq89ph9m0000gn/T/tmpccwrexy3'
18:08:14.311 [I] Loaded app manifest from applications/NFC/passy/manifest.yml
18:08:14.311 [I] Cloning https://github.com/bettse/passy.git to /private/var/folders/44/zftr3xj92fn8yl2byq89ph9m0000gn/T/tmpv0gnhi7k
Cloning into '/private/var/folders/44/zftr3xj92fn8yl2byq89ph9m0000gn/T/tmpv0gnhi7k'...
remote: Enumerating objects: 461, done.
remote: Counting objects: 100% (66/66), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 461 (delta 59), reused 55 (delta 55), pack-reused 395 (from 1)
Receiving objects: 100% (461/461), 35.53 MiB | 39.00 MiB/s, done.
Resolving deltas: 100% (251/251), done.
18:08:15.811 [I] Cloned. Checking out commit 68ec04137545db662a6f5da222cfad0c213bd384
HEAD is now at 68ec041 Fix username
18:08:15.851 [I] Checked out. Updating submodules
18:08:15.930 [I] Moving /private/var/folders/44/zftr3xj92fn8yl2byq89ph9m0000gn/T/tmpv0gnhi7k to /private/var/folders/44/zftr3xj92fn8yl2byq89ph9m0000gn/T/tmpccwrexy3/code
18:08:15.931 [I] Building
< SOME UNRELATED C COMPILING LINES HAVE BEEN OMITTED >
Traceback (most recent call last):
File "/Users/bettse/.ufbt/current/scripts/fbt/appmanifest.py", line 205, in load_manifest
exec(manifest_file.read())
~~~~^^^^^^^^^^^^^^^^^^^^^^
File "<string>", line 3, in <module>
File "/Users/bettse/.ufbt/current/scripts/fbt/appmanifest.py", line 186, in App
self._validate_app_params(*args, **kw)
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/Users/bettse/.ufbt/current/scripts/fbt/appmanifest.py", line 161, in _validate_app_params
if apptype in AppBuildset.dist_app_types:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'method' is not iterable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Volumes/Protected/Projects/flipper/flipper-application-catalog/tools/bundle.py", line 550, in <module>
sys.exit(Main().main())
~~~~~~~~~~~^^
File "/Volumes/Protected/Projects/flipper/flipper-application-catalog/tools/bundle.py", line 498, in main
return self.process(self.parser.parse_args())
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Volumes/Protected/Projects/flipper/flipper-application-catalog/tools/bundle.py", line 526, in process
bundler.bundle(
~~~~~~~~~~~~~~^
skip_lint=args.nolint,
^^^^^^^^^^^^^^^^^^^^^^
skip_build=args.nobuild,
^^^^^^^^^^^^^^^^^^^^^^^^
skip_source_code=args.nosourcecode,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Volumes/Protected/Projects/flipper/flipper-application-catalog/tools/bundle.py", line 78, in bundle
self._update_manifest_from_fap()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/Volumes/Protected/Projects/flipper/flipper-application-catalog/tools/bundle.py", line 187, in _update_manifest_from_fap
app_manager.load_manifest(app_manifest_path, self._code_dir)
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/bettse/.ufbt/current/scripts/fbt/appmanifest.py", line 207, in load_manifest
raise FlipperManifestException(
f"Failed parsing manifest '{app_manifest_path}' : {e}"
)
fbt.appmanifest.FlipperManifestException: Failed parsing manifest '/private/var/folders/44/zftr3xj92fn8yl2byq89ph9m0000gn/T/tmpccwrexy3/code/application.fam' : argument of type 'method' is not iterable
Is there a solution to this? I wonder if the main readme needs more detail about how someone should be setting up and keeping this up to date?
Metadata
Metadata
Assignees
Labels
No labels