noreply at rubyforge.org
2007-Sep-10 20:04 UTC
[Win32utils-devel] [ 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)
Bugs item #13825, was opened at 2007-09-10 16:04 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&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 convert into `long'' (RangeError) from c:/ruby/lib/ruby/gems/1.8/gems/win32-file-stat-1.2.5/lib/win32/file/stat.rb:81:in `initialize'' from c:/ruby/lib/ruby/gems/1.8/gems/win32-file-0.5.4/lib/win32/file.rb:532:in `new'' from c:/ruby/lib/ruby/gems/1.8/gems/win32-file-0.5.4/lib/win32/file.rb:532:in `stat'' If I don''t require ''win32/file'' this call suceeds (but I need the attribute methods that come with win32/file). ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=13825&group_id=85
noreply at rubyforge.org
2007-Sep-13 18:58 UTC
[Win32utils-devel] [ 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)
Bugs item #13825, was opened at 2007-09-10 13:04 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&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: Daniel Berger (djberg96)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 convert into `long'' (RangeError) from c:/ruby/lib/ruby/gems/1.8/gems/win32-file-stat-1.2.5/lib/win32/file/stat.rb:81:in `initialize'' from c:/ruby/lib/ruby/gems/1.8/gems/win32-file-0.5.4/lib/win32/file.rb:532:in `new'' from c:/ruby/lib/ruby/gems/1.8/gems/win32-file-0.5.4/lib/win32/file.rb:532:in `stat'' If I don''t require ''win32/file'' this call suceeds (but I need the attribute methods that come with win32/file). ---------------------------------------------------------------------->Comment By: Daniel Berger (djberg96)Date: 2007-09-13 11:58 Message: Curious. Please show me what the output of File.stat is (without win32/file I mean). I wonder if it defaults to epoch time or nil in that case. Thanks, Dan PS - Can you please provide your name so I can give you proper attribution in the CHANGES file? ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=13825&group_id=85
Maybe Matching Threads
- [ win32utils-Bugs-10555 ] wait call in while loop generate "bignum too big to convert into long" error
- [ win32utils-Bugs-10555 ] wait call in while loop generate "bignum too big to convert into long" error
- Switchtower problem - `sysread'': bignum too big to convert into `long'' (RangeError)
- [ win32utils-Bugs-14360 ] Bad interaction between win32-file-stat and FileUtils
- RangeError (bignum too big to convert into `long'