flathub / flathub/org.pgadmin.pgadmin4
Electron source build
- Dominant language
- Shell
- Stars
- 1
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
I attempted to generate node sources using the latest [yarn.lock](https://github.com/pgadmin-org/pgadmin4/blob/master/runtime/yarn.lock) and got this error:
```
$ flatpak-node-generator yarn yarn.lock
Reading packages from lockfiles...
Traceback (most recent call last):
File "/home/user/.local/bin/flatpak-node-generator", line 8, in
sys.exit(main())
^^^^^^
File "/home/user/.local/share/pipx/venvs/flatpak-node-generator/lib/python3.12/site-packages/flatpak_node_generator/main.py", line 277, in main
asyncio.run(_async_main())
File "/usr/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/user/.local/share/pipx/venvs/flatpak-node-generator/lib/python3.12/site-packages/flatpak_node_generator/main.py", line 198, in _async_main
packages.update(lockfile_provider.process_lockfile(lockfile))
File "/home/user/.local/share/pipx/venvs/flatpak-node-generator/lib/python3.12/site-packages/flatpak_node_generator/providers/yarn.py", line 106, in process_lockfile
for name_line, package in self.parse_lockfile(lockfile).items():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.local/share/pipx/venvs/flatpak-node-generator/lib/python3.12/site-packages/flatpak_node_generator/providers/yarn.py", line 68, in parse_lockfile
key, value = shlex.split(line)
^^^^^^^^^^
ValueError: too many values to unpack (expected 2)
```
Looks like this issue would depend on completion of:
https://github.com/flatpak/flatpak-builder-tools/issues/361
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.