Project

General

Profile

Actions

Defect #12971

closed

Redmine zip archives on RubyForge are corrupted since version 2.1.4

Added by Vincent Mathon about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Website (redmine.org)
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Zip archives downloaded from http://rubyforge.org/frs/?group_id=1850 are corrupted since redmine version 2.1.4. For instance SVG/Graph/Graph.rb file has systematically an extra line break for each line.

Starting webrick fails with following error:

Exiting
SyntaxError: C:/usr/redmine/redmine-2.1.4/lib/SVG/Graph/Graph.rb:979: can't find
 string "EOL" anywhere before EOF
             require at org/jruby/RubyKernel.java:1027
             require at C:/jruby-1.7.2/lib/ruby/gems/shared/gems/activesupport-3
.2.8/lib/active_support/dependencies.rb:251
     load_dependency at C:/jruby-1.7.2/lib/ruby/gems/shared/gems/activesupport-3
.2.8/lib/active_support/dependencies.rb:236
             require at C:/jruby-1.7.2/lib/ruby/gems/shared/gems/activesupport-3
.2.8/lib/active_support/dependencies.rb:251
.........

I have systematically downloaded each redmine 2.x archive and found that the problem started since version 2.1.4 (this also proves that the problem is not due to my firewall).
Workaround: sources from redmine git repository are OK.

Actions #1

Updated by Jan Niggemann (redmine.org team member) about 11 years ago

I can't confirm this:
Version OS tool result
2.2.2. Win 7 Pro 7-Zip 9.20 no errors
2.2.1 Win 7 Pro 7-Zip 9.20 no errors
2.2.2 Debian stable UnZip 6.00 no errors
2.2.1 Debian stable UnZip 6.00 no errors
2.1.5 Debian stable UnZip 6.00 no errors
Actions #2

Updated by Etienne Massip about 11 years ago

  • Category set to Website (redmine.org)
  • Status changed from New to Confirmed
  • Target version set to Candidate for next minor release

I can.

Althouh the Zip files integrity is Ok, EOL sequences in Graph.rb have been converted from CRLF to CRCRLF.

Usually Redmine repository files EOL sequence is Unix LF and this file is an exception.

Actions #3

Updated by Jan Niggemann (redmine.org team member) about 11 years ago

Zip archives downloaded from http://rubyforge.org/frs/?group_id=1850 are corrupted

Serves me well for only reading the first paragraph...

Actions #4

Updated by Toshi MARUYAMA about 11 years ago

  • Status changed from Confirmed to Needs feedback

Please check 2.2.3 zip.

Actions #5

Updated by Toshi MARUYAMA about 11 years ago

  • Target version deleted (Candidate for next minor release)
Actions #6

Updated by Vincent Mathon about 11 years ago

The SVG/Graph/Graph.rb file is correct and I have deployed the 2.2.3 zip archive successfully with webrick.
For me the issue is solved, thank you.

Actions #7

Updated by Toshi MARUYAMA about 11 years ago

  • Status changed from Needs feedback to Closed

Thank you for your feedback.

Actions

Also available in: Atom PDF