Project

General

Profile

Problem running Redmine on a Synology

Added by nicolas b over 13 years ago

Hello,

I've tried to install Redmine on my NAS,

After one day, I manage to make it working.

This is what I'm using : Ruby 1.9 / Rail 2.3.5 / Redmine 1.1 from SVN trunk

I know the 1.9 is not supported but I couldn't install Ruby 1.8.x from the source on the Synology

This is the annoying crash I have :

Encoding::CompatibilityError (incompatible character encodings: UTF-8 and ASCII-8BIT):
(eval):1:in `block in evaluate_method'
app/models/journal.rb:43:in `save'
app/models/issue.rb:848:in `create_journal'
app/models/issue.rb:554:in `block in save_issue_with_child_records'
app/models/issue.rb:536:in `save_issue_with_child_records'
app/controllers/issues_controller.rb:167:in `update'
<internal:prelude>:8:in `synchronize'
/opt/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/opt/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/opt/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'

It appears when I tried to update an issue

Thanks for your help
Regards !


Replies (3)

RE: Problem running Redmine on a Synology - Added by nicolas b over 13 years ago

After some tweaking in phpmyadmin, it seems the problem comes from a accent in the title of the issue

RE: Problem running Redmine on a Synology - Added by Felix Schäfer over 13 years ago

nicolas b wrote:

Encoding::CompatibilityError (incompatible character encodings: UTF-8 and ASCII-8BIT):

That's an error from ruby 1.9: the internal representation of strings and encodings has been totally revamped from 1.8 to 1.9, and has compatibility problems with any string but ASCII ones. I fear you'll either have to downgrade ruby or live with it.

RE: Problem running Redmine on a Synology - Added by nicolas b over 13 years ago

I guess I live without accent for the moment.

I hope ruby 1.9 will be planned soon ... For now it's "unplanned" :-(

There are lot of people willing to use redmine in the synology community, but it seams all the people have some problem at a moment because of the former version of ruby, which doesn't compile easily on the NAS

Regards

    (1-3/3)