I have checked the .yml file. See attached to my post. The error refers to a comment line. Nothing before the line 74 looks wrong. No tabulation reached. I have moved the yml file and install again ruby with the installer.exe. The old yml file and the new one matches, no diff?rence found. Pretty strange ... Attachments: http://www.ruby-forum.com/attachment/5544/yaml.rb -- Posted via http://www.ruby-forum.com/.
Sorry, I have found many tabulation in this file replaced them with space caracter but the problem remained. -- Posted via http://www.ruby-forum.com/.
On Mon, Dec 13, 2010 at 10:20 AM, Sebastien Perret <lists at ruby-forum.com> wrote:> I have checked the .yml file. See attached to my post. The error refers > to a comment line. Nothing before the line 74 looks wrong. No tabulation > reached.You attached the ruby file from YAML, but if you look at the reference in the output: `load'': syntax error on line 74, col 21: ` authentication: : login'' You have a YAML file that contains a ": login" that is not a symbol. There should not be spaces for symbols. Please check your yaml files, not the YAML parser.> I have moved the yml file and install again ruby with the installer.exe. > The old yml file and the new one matches, no diff?rence found. Pretty > strange ...This has nothing to do with the YAML parser or Ruby, is one of your configuration files. -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exup?ry
On Mon, Dec 13, 2010 at 10:30 AM, Sebastien Perret <lists at ruby-forum.com> wrote:> Sorry, I have found many tabulation in this file replaced them with > space caracter but the problem remained. >Can you pastie the file that contains the authentication line I mentioned before? There must be a syntax error there you''re not seeing. -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exup?ry
You solved my problem ! It was amazing for a php devlopper like me to see the starting ruby service was parsing a yml file I edited one week ago in the redmine application whereas redmine was still working fine yesterday. Anyway thanks a lot for your help Luis, I would not think about searching in my redmine directory the solution. regards. -- Posted via http://www.ruby-forum.com/.