Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RangeError (length): Invalid value: Only valid value is 0: 1 #470

Closed
itsandrewpao opened this issue Jul 19, 2024 · 3 comments · Fixed by #494
Closed

RangeError (length): Invalid value: Only valid value is 0: 1 #470

itsandrewpao opened this issue Jul 19, 2024 · 3 comments · Fixed by #494
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@itsandrewpao
Copy link

描述BUG

Logs(1017)

[17:08] [Root] [WARNING]

RangeError (length): Invalid value: Only valid value is 0: 1

#0 UpgradePkginfo._parseYum (package:server_box/data/model/pkg/upgrade_info.dart)
#1 new UpgradePkginfo (package:server_box/data/model/pkg/upgrade_info.dart:17)
#2 _onPkg. (package:server_box/view/widget/server_func_btns.dart:273)
#3 MappedIterable.elementAt (dart:_internal/iterable.dart:385)
#4 ListIterator.moveNext (dart:_internal/iterable.dart:354)
#5 new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:189)
#6 new _GrowableList.of (dart:core-patch/growable_array.dart:150)
#7 new List.of (dart:core-patch/array_patch.dart:39)
#8 ListIterable.toList (dart:_internal/iterable.dart:224)
#9 _onPkg (package:server_box/view/widget/server_func_btns.dart:273)

复现步骤

期望结果

能否在 wiki 中 详细描述一下 pkg 功能

实际结果

截图

设备

更多信息

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


DESCRIPTION BUG

Logs(1017)

[17:08] [Root] [WARNING]

RangeError (length): Invalid value: Only valid value is 0: 1

#0 UpgradePkginfo._parseYum (package:server_box/data/model/pkg/upgrade_info.dart)
#1 new UpgradePkginfo (package:server_box/data/model/pkg/upgrade_info.dart:17)
#2 _onPkg. (package:server_box/view/widget/server_func_btns.dart:273)
#3 MappedIterable.elementAt (dart:_internal/iterable.dart:385)
#4 ListIterator.moveNext (dart:_internal/iterable.dart:354)
#5 new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:189)
#6 new _GrowableList.of (dart:core-patch/growable_array.dart:150)
#7 new List.of (dart:core-patch/array_patch.dart:39)
#8 ListIterable.toList (dart:_internal/iterable.dart:224)
#9 _onPkg (package:server_box/view/widget/server_func_btns.dart:273)

Steps to reproduce

Desired result

Can you describe the pkg function in detail in the wiki?

actual results

screenshot

equipment

More information

@lollipopkit lollipopkit added bug Something isn't working documentation Improvements or additions to documentation labels Jul 23, 2024
@lollipopkit
Copy link
Owner

该功能的作用仅为一键更新系统

因为该功能需要兼容众多系统, 难以维护, 且手动更新并不难, 因此决定暂时移除

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


The function of this function is only to update the system with one click

Because this function needs to be compatible with many systems and is difficult to maintain, and manual updates are not difficult, we decided to temporarily remove it.

@lollipopkit lollipopkit self-assigned this Jul 26, 2024
lollipopkit added a commit that referenced this issue Jul 26, 2024
Fixes #470
@lollipopkit lollipopkit mentioned this issue Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants