Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: ruby-dev
Re: Solr-ruby crashing "(eval):1: Illegal octal digit"
 

Index | Next | Previous | View Flat


yonik at apache

Oct 19, 2007, 12:21 PM


Views: 7688
Permalink
Re: Solr-ruby crashing "(eval):1: Illegal octal digit" [In reply to]

On 10/19/07, Erik Hatcher <erik [at] ehatchersolutions> wrote:
> Any objections to changing Solr's Ruby response writer to prefixing
> integers with "0d"?

I think it would look nicer to simply strip leading zeros... they
aren't valid in JSON, and Python treats it as an octal constant (will
be illegal in python 3, like ruby, I think).

Since "integer" is meant to be a legacy type that may have existing
zero padded numbers, I guess this should be done in the response
writer (in the base text writer or JSON writer).

-Yonik

Subject User Time
Solr-ruby crashing "(eval):1: Illegal octal digit" tjackiw at gmail Oct 17, 2007, 12:58 AM
    Re: Solr-ruby crashing "(eval):1: Illegal octal digit" yonik at apache Oct 17, 2007, 6:21 AM
    Re: Solr-ruby crashing "(eval):1: Illegal octal digit" erik at ehatchersolutions Oct 17, 2007, 8:10 AM
    Re: Solr-ruby crashing "(eval):1: Illegal octal digit" yonik at apache Oct 17, 2007, 9:10 AM
    Re: Solr-ruby crashing "(eval):1: Illegal octal digit" tjackiw at gmail Oct 17, 2007, 10:36 AM
    Re: Solr-ruby crashing "(eval):1: Illegal octal digit" yonik at apache Oct 17, 2007, 10:44 AM
    Re: Solr-ruby crashing "(eval):1: Illegal octal digit" erik at ehatchersolutions Oct 19, 2007, 11:06 AM
    Re: Solr-ruby crashing "(eval):1: Illegal octal digit" yonik at apache Oct 19, 2007, 12:21 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.