search for: rangeerror

Displaying 16 results from an estimated 16 matches for "rangeerror".

Did you mean: range_error
2007 Sep 10
1
[ win32utils-Bugs-13825 ] /win32-file-stat-1.2.5/lib/win32/file/stat.rb:81:in `at'': bignum too big to convert into `long'' (RangeError)
...;atid=411&aid=13825&group_id=85 Category: win32-file-stat Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: /win32-file-stat-1.2.5/lib/win32/file/stat.rb:81:in `at'': bignum too big to convert into `long'' (RangeError) Initial Comment: When File.stat is called on a file that doesn''t have a Created or Modified time (pointing to a Linux Samba share from WinXP in my case) it fails with; c:/ruby/lib/ruby/gems/1.8/gems/win32-file-stat-1.2.5/lib/win32/file/stat.rb:81:in `at'': bignum too big to conv...
2006 Apr 18
0
RangeError problem
Hi, My Ruby On Rails installation used to work on my Mac OSX. I recently upgraded my Mac to 10.4.6. Since then my RoR installation doesn''t seem to work. When I try to access pages that use gettext I get the following error RangeError in AdminController#list bignum too big to convert into `long'' RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full Trace /usr/lib/ruby/gems/1.8/gems/gettext-1.4.0/lib/gettext/mo.rb:66:in `read'' /usr/lib/ruby/gems/1.8/gems/gettext-1.4.0/lib/gettext/mo.rb:66...
2008 Oct 08
0
RangeError (bignum too big to convert into `long'
...pecified by the user) img = Magick::Image.read(path).first #reads the image specfied by the user path img = img.scale(640,480) #scales image to 640x480 img.write"/home/anmol/image.jpg" #scales image to 640x480 img.crop(SouthEastGravity,picwidth,heightchanged).write(cropfile) end ERROR : RangeError (bignum too big to convert into `long''): /app/controllers/crop_controller.rb:98:in `crop'' /app/controllers/crop_controller.rb:98:in `topcrop'' /app/controllers/crop_controller.rb:233:in `updownevent'' /app/controllers/application.rb:74:in `up'' /usr/local/l...
2005 Dec 22
4
Switchtower problem - `sysread'': bignum too big to convert into `long'' (RangeError)
...in the Manual, but am getting this error when I run "rake remote_exec ACTION=setup": servers: ["cantona.dnswatchdog.com"] /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.3/lib/net/ssh/transport/packet-stream.rb:203:in `sysread'': bignum too big to convert into `long'' (RangeError) from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.3/lib/net/ssh/transport/packet-stream.rb:203:in `read'' from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.3/lib/net/ssh/transport/packet-stream.rb:167:in `get'' from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.3/lib/net/ss...
2010 Sep 17
1
using OpenPGP gem and getting "out of range error"
...s code to debug, but am getting no further than he did... perhaps someone can help. We''re using the OpenPGP gem (http://openpgp.rubyforge.org/) to PGP- encrypt an XML file for submission to a third-party for processing. The prob is that when encrypting, we get errors like the following: RangeError: 1502 out of char range from /Users/szagerman/.rvm/gems/ruby-1.8.7-p249@eveo-vapps/gems/ openpgp-0.0.3/lib/openpgp/buffer.rb:138:in `chr'' from /Users/szagerman/.rvm/gems/ruby-1.8.7-p249@eveo-vapps/gems/ openpgp-0.0.3/lib/openpgp/buffer.rb:138:in `write_byte'' from /Users/szagerm...
2007 May 03
1
[ win32utils-Bugs-10555 ] wait call in while loop generate "bignum too big to convert into long" error
...r :) cj.wait{ |array| array.each{ |info| p info.file_name p info.action p info.path } } while true ********************************************** the script will run for a while, then quit with the following error test.rb:10:in `wait'': bignum too big to convert into `long long'' (RangeError) from test.rb:10 my pc is XP, sp2, with ruby 1.8.5 (2006-12-25 patchlevel 12) I downloaded the changejournal-0.3.1.so file, renamed it changejournal.so, and drop it in C:\ruby\lib\ruby\site_ruby\1.8\i386-msvcrt\win32. ---------------------------------------------------------------------- You ca...
2006 May 21
6
Possible problems with EventLog#write
Hi, I''ve got EventLog#write and EventLog.add_event_source methods done. Well, I *think* they''re done, but I can''t get the data (text) to work properly, and I''m not sure if it''s a bug in my .mc file, the add_event_source method, the write method, or just a goof in my test file. The source, category and event id seem to be ok. However, the
2007 Nov 12
0
Workers calling Workers
...ged the MiddleMan object to the hash MiddleMen which has references to both servers. From the main Rails application we are able to access either BackgrounDRb server from the main rails application and launch workers without issue. However, when we try and reference a worker from another we get a RangeError telling us that Ruby is trying to access a recycled object (My guess is that its asking for junk Memory Address). Here''s the relevant code and error. The exception is being thrown on the last line of the code: producer_args = {:report_id => report.id, :args => YAML.loa...
2010 Jan 18
3
postlist: Tag containing meta information is corrupt.
Greetings, Using latest svn. I've noticed the following error when performing index merging: postlist: baseB blocksize=8K items=33962 lastblock=534 revision=1 levels=2 root=459 B-tree checked okay Tag containing meta information is corrupt. postlist table errors found: 1 I can still search on this index (I've only checked very small indexes), but merging is now a problem since I check
2007 Aug 14
0
[ win32utils-Bugs-10555 ] wait call in while loop generate "bignum too big to convert into long" error
...r :) cj.wait{ |array| array.each{ |info| p info.file_name p info.action p info.path } } while true ********************************************** the script will run for a while, then quit with the following error test.rb:10:in `wait'': bignum too big to convert into `long long'' (RangeError) from test.rb:10 my pc is XP, sp2, with ruby 1.8.5 (2006-12-25 patchlevel 12) I downloaded the changejournal-0.3.1.so file, renamed it changejournal.so, and drop it in C:\ruby\lib\ruby\site_ruby\1.8\i386-msvcrt\win32. ---------------------------------------------------------------------- >Co...
2010 Mar 07
2
"Value in posting list too large" error with 1.1.4 (chert and brass, not flint)
...HRESHOLD=1000 2. Opens a (new) database for write 3. Indexes a few thousand documents 4. Periodically also does queries on the database With 1.1.4, with certain document sets (basically a particular mail folder of mine), Enquire.get_mset() sometimes (but not always) triggers a "RangeError: Value in posting list too large" error. Once this happens, occasionally I also see DocNotFoundError. After the indexing completes and a final explicit flush() is called and the program exits, xapian-check reports no errors found, so at least the database seems consistent on disk. What'...
2007 Oct 07
0
Rails AR/Oracle Unit Test: [7769] failed (getting worse)
...usr/pkg/ruby184/lib/ruby/gems/1.8/gems/mocha-0.5.1/lib/mocha/test_case_adapter.rb:19:in `run'']: The last_read attribute should be of the Time class. <Thu, 15 Apr 2004> expected to be kind_of? <Time> but was <Date>. 2) Error: test_saves_both_date_and_time(DateTimeTest): RangeError: out of range of Time (expect between 1970-01-01 00:00:00 UTC and 2037-12-31 23:59:59, but 1807-10-06 22:33:09 PST) /usr/pkg/ruby184/lib/ruby/site_ruby/1.8/oci8.rb:983:in `to_time'' /usr/pkg/ruby184/lib/ruby/gems/1.8/gems/activerecord-1.15.1/lib/active_record/connection_adapters/ora...
2006 Nov 01
1
strange issue with backgroundrb behind apache/lighttpd
...times in the development log: Processing SearchController#get_responses (for 127.0.0.1 at 2006-11-01 07:47:07) [POST] Session ID: 671f4ba93603f34e036d9bbc65919ca7 Parameters: {"action"=>"get_responses", "controller"=>"search"} getting responses RangeError (0xdb677f22 is recycled object): (druby://localhost:42531) /usr/lib/ruby/1.8/drb/drb.rb:375:in `_id2ref'' (druby://localhost:42531) /usr/lib/ruby/1.8/drb/drb.rb:375:in `to_obj'' (druby://localhost:42531) /usr/lib/ruby/1.8/drb/drb.rb:1402:in `to_obj'' (druby:/...
2011 Apr 21
1
Installing Search::xapian
...ian/Xapian.bs chmod 644 blib/arch/auto/Search/Xapian/Xapian.bs Manifying blib/man3/Search::Xapian::Database.3pm Manifying blib/man3/Search::Xapian.3pm Manifying blib/man3/Search::Xapian::NetworkError.3pm Manifying blib/man3/Search::Xapian::NetworkTimeoutError.3pm Manifying blib/man3/Search::Xapian::RangeError.3pm Manifying blib/man3/Search::Xapian::BM25Weight.3pm Manifying blib/man3/Search::Xapian::WritableDatabase.3pm Manifying blib/man3/Search::Xapian::SerialisationError.3pm Manifying blib/man3/Search::Xapian::DatabaseCreateError.3pm Manifying blib/man3/Search::Xapian::UnimplementedError.3pm Manifying...
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...y { if (Object.isUndefined(object)) return 'undefined'; if (object === null) return 'null'; - return object.inspect ? object.inspect() : object.toString(); + return object.inspect ? object.inspect() : String(object); } catch (e) { if (e instanceof RangeError) return '...'; throw e; @@ -167,11 +171,12 @@ Object.extend(Object, { }, isElement: function(object) { - return object && object.nodeType == 1; + return !!(object && object.nodeType == 1); }, isArray: function(object) { - return object &&a...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server