ruyisdk / packages-index

Package index of RuyiSDK
Apache License 2.0
3 stars 5 forks source link

Ruyi failed to fetch Pine64 Star64 Armbian image #2

Closed weilinfox closed 5 months ago

weilinfox commented 6 months ago

Ruyi version

Logs

0.8.1

Choice? (1-29) 11

The device has the following variants. Please choose the one corresponding to your hardware at hand:

  1. Pine64 Star64 (generic variant)

Choice? (1-1) ^[1
Unrecognized input ''.
Accepted choices: an integer number from 1 to 1 inclusive.
Choice? (1-1) 1

The following system configurations are supported by the device variant you have chosen. Please pick the one you want to put on the device:

  1. Armbian for Pine64 Star64

Choice? (1-1) 1

We are about to download and install the following packages for your device:

 * board-image/armbian-pine64-star64

Proceed? (y/N) y
Traceback (most recent call last):
  File "/home/hachi/.cache/ruyi/progcache/0.8.1/__main__.py", line 57, in <module>
  File "/home/hachi/.cache/ruyi/progcache/0.8.1/ruyi/cli/__init__.py", line 300, in main
  File "/home/hachi/.cache/ruyi/progcache/0.8.1/ruyi/device/provision_cli.py", line 30, in cli_device_provision
  File "/home/hachi/.cache/ruyi/progcache/0.8.1/ruyi/device/provision_cli.py", line 110, in do_provision_interactive
  File "/home/hachi/.cache/ruyi/progcache/0.8.1/ruyi/device/provision_cli.py", line 149, in do_provision_combo_interactive
  File "/home/hachi/.cache/ruyi/progcache/0.8.1/ruyi/ruyipkg/pkg_cli.py", line 225, in do_install_atoms
  File "/home/hachi/.cache/ruyi/progcache/0.8.1/ruyi/ruyipkg/atom.py", line 74, in match_in_repo
  File "/home/hachi/.cache/ruyi/progcache/0.8.1/ruyi/ruyipkg/repo.py", line 340, in get_pkg_latest_ver
ValueError: max() arg is an empty sequence

0.11.0

Choice? (1-29) 11

The device has the following variants. Please choose the one corresponding to your hardware at hand:

  1. Pine64 Star64 (generic variant)

Choice? (1-1) 1

The following system configurations are supported by the device variant you have chosen. Please pick the one you want to put on the device:

  1. Armbian for Pine64 Star64

Choice? (1-1) 1

We are about to download and install the following packages for your device:

 * board-image/armbian-pine64-star64

Proceed? (y/N) y
Traceback (most recent call last):
  File "/home/hachi/.cache/ruyi/progcache/0.11.0/__main__.py", line 53, in <module>
  File "/home/hachi/.cache/ruyi/progcache/0.11.0/ruyi/cli/__init__.py", line 319, in main
  File "/home/hachi/.cache/ruyi/progcache/0.11.0/ruyi/device/provision_cli.py", line 31, in cli_device_provision
  File "/home/hachi/.cache/ruyi/progcache/0.11.0/ruyi/device/provision_cli.py", line 107, in do_provision_interactive
  File "/home/hachi/.cache/ruyi/progcache/0.11.0/ruyi/device/provision_cli.py", line 146, in do_provision_combo_interactive
  File "/home/hachi/.cache/ruyi/progcache/0.11.0/ruyi/ruyipkg/pkg_cli.py", line 308, in do_install_atoms
  File "/home/hachi/.cache/ruyi/progcache/0.11.0/ruyi/ruyipkg/atom.py", line 74, in match_in_repo
  File "/home/hachi/.cache/ruyi/progcache/0.11.0/ruyi/ruyipkg/repo.py", line 342, in get_pkg_latest_ver
ValueError: max() arg is an empty sequence
wychlw commented 6 months ago

Seems due to the "-trunk.6" part in the toml file name results Version thinks it's a prerelease, let this board result in no image to use: image

All: []
weilinfox commented 5 months ago

Ruyi version

Logs

$ ruyi device provision

RuyiSDK Device Provisioning Wizard

This is a wizard intended to help you install a system on your device for your
development pleasure, all with ease.

You will be asked some questions that help RuyiSDK understand your device and
your intended configuration, then packages will be downloaded and flashed onto
the device's storage, that you should somehow make available on this host
system beforehand.

Note that, as Ruyi does not run as root, but raw disk access is most likely
required to flash images, you should arrange to allow your user account sudo
access to necessary commands such as dd. Flashing will fail if the sudo
configuration does not allow so.

Continue? (y/N) y

The following devices are currently supported by the wizard. Please pick your device:

  1. Allwinner Nezha D1
  2. Canaan Kendryte K230
  3. Canaan Kendryte K510
  4. Milk-V Duo
  5. Milk-V Duo S
  6. Milk-V Mars
  7. Milk-V Mars CM
  8. Milk-V Meles
  9. Milk-V Pioneer Box
  10. Milk-V Vega
  11. Pine64 Star64
  12. SiFive HiFive Unmatched
  13. Sipeed Lichee Cluster 4A
  14. Sipeed Lichee Console 4A
  15. Sipeed LicheePi 4A
  16. Sipeed Lichee RV
  17. Sipeed LicheeRV Nano
  18. Sipeed Maix-I
  19. Sipeed Tang Mega 138K Pro
  20. StarFive VisionFive
  21. StarFive VisionFive2
  22. WCH CH32V103 EVB
  23. WCH CH32V203 EVB
  24. WCH CH32V208 EVB
  25. WCH CH32V303 EVB
  26. WCH CH32V305 EVB
  27. WCH CH32V307 EVB
  28. WCH CH582F EVB
  29. WCH CH592X EVB

Choice? (1-29) 11

The device has the following variants. Please choose the one corresponding to your hardware at hand:

  1. Pine64 Star64 (generic variant)

Choice? (1-1) 1

The following system configurations are supported by the device variant you have chosen. Please pick the one you want to put on the device:

  1. Armbian for Pine64 Star64

Choice? (1-1) 1

We are about to download and install the following packages for your device:

 * board-image/armbian-pine64-star64

Proceed? (y/N) y
Traceback (most recent call last):
  File "/home/hachi/.cache/ruyi/progcache/0.12.0-beta.20240607/__main__.py", line 53, in <module>
    "你可以在这个演示程序中使用和了解 ruyi device provision 的管理功能,\n"

  File "/home/hachi/.cache/ruyi/progcache/0.12.0-beta.20240607/ruyi/cli/__init__.py", line 319, in main
  File "/home/hachi/.cache/ruyi/progcache/0.12.0-beta.20240607/ruyi/device/provision_cli.py", line 31, in cli_device_provision
  File "/home/hachi/.cache/ruyi/progcache/0.12.0-beta.20240607/ruyi/device/provision_cli.py", line 107, in do_provision_interactive
  File "/home/hachi/.cache/ruyi/progcache/0.12.0-beta.20240607/ruyi/device/provision_cli.py", line 146, in do_provision_combo_interactive
  File "/home/hachi/.cache/ruyi/progcache/0.12.0-beta.20240607/ruyi/ruyipkg/pkg_cli.py", line 308, in do_install_atoms
  File "/home/hachi/.cache/ruyi/progcache/0.12.0-beta.20240607/ruyi/ruyipkg/atom.py", line 74, in match_in_repo
  File "/home/hachi/.cache/ruyi/progcache/0.12.0-beta.20240607/ruyi/ruyipkg/repo.py", line 365, in get_pkg_latest_ver
ValueError: max() arg is an empty sequence
weilinfox commented 5 months ago

Fixed in 0.12.0 version.