Actions
Defect #12279
closederror with large files in filesystem repo
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Cant reproduce
Affected version:
Description
I've got a filesystem repo that contains DVD ISO images. When I try to view the repo I get
An error occurred when trying to access the repository: bignum too big to convert into `unsigned long'
It seems like Redmine is only calculating the size of the files in Bytes, which blows up the variable here. I don't know Ruby enough to try and modify it so that it can calculate sizes in kb/mb/gb so as not to throw this error.. This is all my theory of course.
Redmine 1.4.4.stable (MySQL)
Debian 6.0.5 Squeeze
ruby 1.8.7
Related issues
Updated by Go MAEDA about 6 years ago
In my environment, the error doesn't occur but wrong size value is displayed in the repository browser. Probably because of 32-bit integer overflow.
Environment: Redmine version 3.4.6.devel.17618 Ruby version 2.3.7-p456 (2018-03-28) [x86_64-darwin16] Rails version 5.2.1 Environment development Database adapter SQLite Mailer queue ActiveJob::QueueAdapters::AsyncAdapter Mailer delivery smtp
Updated by Go MAEDA almost 6 years ago
- Related to Defect #30411: Filesystem adapter does not show correct size for large files added
Updated by Go MAEDA almost 6 years ago
- Status changed from New to Closed
- Resolution set to Cant reproduce
Updated by Go MAEDA over 5 years ago
- Has duplicate Defect #8806: Error when access to repository: bignum too big to convert into `unsigned long' added
Actions