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

魔盘挂载大于4G的文件会出现bug,报错无法下载,请求修复 #4734

Closed
4 tasks done
twogo opened this issue Jul 9, 2023 · 1 comment
Closed
4 tasks done
Labels
bug Something isn't working

Comments

@twogo
Copy link

twogo commented Jul 9, 2023

Please make sure of the following things

  • I have read the documentation.
  • I'm sure there are no duplicate issues or discussions.
  • I'm sure it's due to alist and not something else(such as Dependencies or Operational).
  • I'm sure I'm using the latest version

Alist Version / Alist 版本

v3.20.1-4-g2b533e4-dirty

Driver used / 使用的存储驱动

魔盘

Describe the bug / 问题描述

从魔盘官方客户端上传大于或者等于4G大小的文件,挂载之后,只要进入包含这些文件,就会报错。这个是alist的错误提示信息:failed get objs: failed to list objs: json: cannot unmarshal string into Go struct field File.fileListAO.fileList.size of type int64

Reproduction / 复现链接

没有复现链接,只要文件大于等于4G,进入包含这个文件的文件夹内,就会出现这个错误提示:failed get objs: failed to list objs: json: cannot unmarshal string into Go struct field File.fileListAO.fileList.size of type int64

猜测可能是文件大约等于4G后,返回的文件size字段的类型可能是string类型。但是alist定义的文件size的类型是int64,导致的出错

Logs / 日志

控制台无报错

@twogo twogo added the bug Something isn't working label Jul 9, 2023
@welcome
Copy link

welcome bot commented Jul 9, 2023

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

foxxorcat added a commit to foxxorcat/alist that referenced this issue Jul 9, 2023
foxxorcat added a commit to foxxorcat/alist that referenced this issue Jul 9, 2023
@xhofe xhofe closed this as completed in 3529023 Jul 10, 2023
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

1 participant