librelist archives

« back to archive

issues with delimiter

issues with delimiter

From:
Braxton Beyer
Date:
2011-04-26 @ 02:07
Has anyone else had any issues with delimiters.  I started having errors
here:

https://github.com/josephholsten/rets4r/blob/master/lib/rets4r/client/parsers/compact_nokogiri.rb#L33

I had to add an extra 'last' to that line to end with:
            @delimiter = attrs.last.last.to_i.chr

Not sure why I had to change this out of the blue so I was wondering if
anyone else noticed any changes from the RETS servers.

-- 
Braxton Beyer
Your Austin Realtor
braxtonbeyer.com
displet.com
512.814.7237

Re: [rets4r] issues with delimiter

From:
Brian Dunn
Date:
2011-04-26 @ 02:34
That's because your nokogiri is too new. The latest release should fix that
by locking in an older one.

If the tests are passing, though, you should bump the nokogiri back up and
subit a pull request!

Sent from my iPhone

On Apr 25, 2011, at 9:08 PM, Braxton Beyer <braxton@braxtonbeyer.com> wrote:

Has anyone else had any issues with delimiters.  I started having errors
here:

https://github.com/josephholsten/rets4r/blob/master/lib/rets4r/client/parsers/compact_nokogiri.rb#L33

I had to add an extra 'last' to that line to end with:
            @delimiter = attrs.last.last.to_i.chr

Not sure why I had to change this out of the blue so I was wondering if
anyone else noticed any changes from the RETS servers.

-- 
Braxton Beyer
Your Austin Realtor
braxtonbeyer.com
displet.com
512.814.7237

Re: [rets4r] issues with delimiter

From:
Braxton Beyer
Date:
2011-04-26 @ 04:06
Your right, thanks.  Our server was running on AWS and I had to relaunch it
after their failure last week and forgot I needed to use an older version of
Nokogiri.

On Mon, Apr 25, 2011 at 21:34, Brian Dunn <brianpatrickdunn@gmail.com>wrote:

> That's because your nokogiri is too new. The latest release should fix that
> by locking in an older one.
>
> If the tests are passing, though, you should bump the nokogiri back up and
> subit a pull request!
>
> Sent from my iPhone
>
> On Apr 25, 2011, at 9:08 PM, Braxton Beyer <braxton@braxtonbeyer.com>
> wrote:
>
>  Has anyone else had any issues with delimiters.  I started having errors
> here:
>
> 
<https://github.com/josephholsten/rets4r/blob/master/lib/rets4r/client/parsers/compact_nokogiri.rb#L33>
> 
https://github.com/josephholsten/rets4r/blob/master/lib/rets4r/client/parsers/compact_nokogiri.rb#L33
>
> I had to add an extra 'last' to that line to end with:
>             @delimiter = attrs.last.last.to_i.chr
>
> Not sure why I had to change this out of the blue so I was wondering if
> anyone else noticed any changes from the RETS servers.
>
> --
> Braxton Beyer
> Your Austin Realtor
> <http://braxtonbeyer.com>braxtonbeyer.com
> <http://displet.com>displet.com
> 512.814.7237
>
>


-- 
Braxton Beyer
Your Austin Realtor
braxtonbeyer.com
displet.com
512.814.7237