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

115分享不支持32位架构,failed get objs: failed to list objs: json: cannot unmarshal number 2755523652316298479 into Go struct field ShareFile.data.list.cid of type int #6704

Closed
4 tasks done
ThomasChooo opened this issue Jul 4, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@ThomasChooo
Copy link

Please make sure of the following things

  • I have read the documentation.
    我已经阅读了文档

  • I'm sure there are no duplicate issues or discussions.
    我确定没有重复的issue或讨论。

  • I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational).
    我确定是AList的问题,而不是其他原因(例如网络依赖操作)。

  • I'm sure this issue is not fixed in the latest version.
    我确定这个问题在最新版本中没有被修复。

AList Version / AList 版本

v3.35.0

Driver used / 使用的存储驱动

115 Cloud / Share

Describe the bug / 问题描述

32位系统,armv7l,挂载115分享链接报的错,文件夹能看到,点进去文件夹看不到文件报的错,挂载自己的115网盘没问题,看报错是超过int范围了。

Reproduction / 复现链接

Config / 配置

32位系统,armv7l,安装的alist版本alist-linux-musleabihf-armv7l.tar.gz,底包Armbian-unofficial_24.5.0-trunk_Onecloud_bullseye_current_6.6.21_minimal.burn.img,Casaos系统。

Logs / 日志

捕获

@ThomasChooo ThomasChooo added the bug Something isn't working label Jul 4, 2024
Copy link

welcome bot commented Jul 4, 2024

Thanks for opening your first issue here! Be sure to follow the issue template!

@ThomasChooo
Copy link
Author

修改建议:
将Go结构体中cid字段的类型从int更改为能够处理大数字的类型,例如int64、uint64或string。

@ThomasChooo ThomasChooo changed the title failed get objs: failed to list objs: json: cannot unmarshal number 2755523652316298479 into Go struct field ShareFile.data.list.cid of type int 115分享不支持32位架构,failed get objs: failed to list objs: json: cannot unmarshal number 2755523652316298479 into Go struct field ShareFile.data.list.cid of type int Jul 6, 2024
@xindongzetong
Copy link

夸克上传文件也有这个问题,32位会出错,64位就没问题#6572

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants