Open joshua-stone opened 11 months ago
1.3.1
Fedora 39
cargo/flatpak-cargo-generator.py
python3 ./flatpak-cargo-generator.py Cargo.lock --output generated-sources.json
https://github.com/rustdesk/rustdesk
https://gist.github.com/joshua-stone/d0e706b8772336f760de174424475f71
Running python3 ./flatpak-cargo-generator.py Cargo.lock --output generated-sources.json for rustdesk will result in the the following error:
toml.decoder.TomlDecodeError: An implicitly defined table can't be an array (line 64 column 1 char 1903)
If I remove the cacao package from Cargo.lock, then sources will successfully generate:
cacao
[[package]] name = "cacao" version = "0.4.0-beta2" source = "git+https://github.com/clslaid/cacao?branch=feat/set-file-urls#05e1536b0b43aaae308ec72c0eed703e875b7b95" dependencies = [ "bitmask-enum", "block2", "core-foundation 0.9.3 (git+https://github.com/madsmtm/core-foundation-rs.git?rev=7d593d016175755e492a92ef89edca68ac3bd5cd)", "core-graphics 0.23.1", "dispatch", "lazy_static", "libc", "objc2", "os_info", "percent-encoding", "url", ]
flatpak-builder version
1.3.1
Linux distribution and version
Fedora 39
Affected flatpak-builder tool
cargo/flatpak-cargo-generator.py
flatpak-builder tool cli args
python3 ./flatpak-cargo-generator.py Cargo.lock --output generated-sources.json
Source repository URL
https://github.com/rustdesk/rustdesk
Flatpak-builder manifest URL
https://gist.github.com/joshua-stone/d0e706b8772336f760de174424475f71
Description
Running
python3 ./flatpak-cargo-generator.py Cargo.lock --output generated-sources.json
for rustdesk will result in the the following error:If I remove the
cacao
package from Cargo.lock, then sources will successfully generate: