Message from discussion Weird problem with serializing .co.uk domains [Solved-kind of]
The group you are posting to is a Usenet group
. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From: Simone Carletti <wep...@weppos.net>
Date: Thu, 25 Aug 2011 09:51:18 +0200
Local: Thurs, Aug 25 2011 3:51 am
Subject: Re: Weird problem with serializing .co.uk domains [Solved-kind of]
Unfortunately, I had the same problem. My solution was to use JSON as
serialization format instead of YAML.
It's also an order of magnitude faster.
On Thu, Aug 25, 2011 at 7:43 AM, Randall <rw950...
> I didnt get back to the original post before it closed so for the sake
> of anyone else arriving here with the same problem.
> The problem is that the .co.uk WHOIS response includes some --- chars
> that confuse the Ruby YAML parser.
> Essentially, this is a Syck (the Ruby YAML library) bug.
> Syck is no longer maintained and it's going to be replaced with Psyck,
> the library created by Aaron Patterson.
> In Ruby 1.9.2 you can already switch to Psyck.
> See http://opinionated-programmer.com/2011/04/parsing-yaml-1-1-with-ruby/
Site & Blog: http://www.simonecarletti.com
You must Sign in
before you can post messages.
You do not have the permission required to post.