bugZoneCheck - Bugs: bug #35190, ERREUR: uninitialized constant...

 
 

bug #35190: ERREUR: uninitialized constant Psych::ParseError

Submitted by:  None
Submitted on:  Wed 28 Dec 2011 10:32:34 PM UTC  
 
Category: configSeverity: High
Priority: 5 - NormalItem Group: Crash/Error
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 18 Nov 2014 05:21:00 PM UTC, comment #5:

Fixed in debian with two simple patches: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676173#12

I can confirm them working on FreeBSD 10.1 / ruby 2.0. (and using them on debian)

geoffroy desvernay <dgeo>
Wed 11 Apr 2012 10:12:26 AM UTC, comment #4:

We found a dirty fix here,
I don't know why but the new ruby YAML engine cannot parse ./etc/zonecheck/rootservers

To fix it you can load the old parser, to do it edit :
./libexec/zonecheck/test/rootserver.rb

and add YAML::ENGINE.yamler = 'syck'
after the yaml require

Hope this will help

Grégory KLEIN <tos>
Tue 13 Mar 2012 07:47:17 AM UTC, comment #3:

This is probably due to Ruby 1.9's new encoding engine. Go with Ruby 1.8. If that's not possible try (not tested) patching installer.rb like this, but you might encounter other similar woes.

Kim Minh Kaplan <kmkaplan>
Project Administrator
Mon 12 Mar 2012 04:01:27 PM UTC, comment #2:

Absolutely no idea. Ruby expert required.

Stephane Bortzmeyer <bortzmeyer>
Project Administrator
Mon 12 Mar 2012 02:24:50 PM UTC, comment #1:

Same error. Ruby 1.9 w/ gems, FreeBSD 8.1 x64...

Anonymous
Wed 28 Dec 2011 10:32:34 PM UTC, original submission:

Hi,
I encountered a problem using the last ZC version 3.0.5
I try to install it on a Arch Linux :
kernel 3.1.5-1-ARCH
ruby 1.9.3p0

Nothing special during the installation except :
[snip]
==> Patching HTML pages
./installer.rb:183:in `gsub!': invalid byte sequence in US-ASCII (ArgumentError)
from ./installer.rb:183:in `block (2 levels) in patch_cgi'
from ./installer.rb:182:in `each'
from ./installer.rb:182:in `block in patch_cgi'
from ./installer.rb:180:in `each'
from ./installer.rb:180:in `patch_cgi'
from ./installer.rb:229:in `rule_all'
from ./installer.rb:287:in `block in <main>'
from ./installer.rb:286:in `each'
from ./installer.rb:286:in `<main>'

But, as i just want to use ZC as a cli, I think I should not care....

After the installation, each time I want to ask something, I get :
First of all a Warning like this :
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.

Then this error :
ERREUR: uninitialized constant Psych::ParseError

Finally .... Nothing.

Could you help me please or give me clue.

Thanks in advance.

Cheers.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by dgeo (Posted a comment)
  • -unavailable- added by tos (Posted a comment)
  • -unavailable- added by kmkaplan (Posted a comment)
  • -unavailable- added by bortzmeyer (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1