Project

General

Profile

Actions

Defect #12279

closed

error with large files in filesystem repo

Defect #12279: error with large files in filesystem repo

Added by chad merritt about 14 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
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 2 (0 open — 2 closed)

Related to Redmine - Defect #30411: Filesystem adapter does not show correct size for large filesClosedJean-Philippe LangActions
Has duplicate Redmine - Defect #8806: Error when access to repository: bignum too big to convert into `unsigned long'ClosedActions

Updated by Toshi MARUYAMA about 14 years ago Actions #1

  • Category set to SCM

Updated by Go MAEDA about 8 years ago Actions #2

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 8 years ago Actions #3

  • Related to Defect #30411: Filesystem adapter does not show correct size for large files added

Updated by Go MAEDA almost 8 years ago Actions #4

  • Status changed from New to Closed
  • Resolution set to Cant reproduce

Updated by Go MAEDA over 7 years ago Actions #5

  • Has duplicate Defect #8806: Error when access to repository: bignum too big to convert into `unsigned long' added
Actions

Also available in: PDF Atom