[#102393] [Ruby master Feature#17608] Compact and sum in one step — sawadatsuyoshi@...

Issue #17608 has been reported by sawa (Tsuyoshi Sawada).

13 messages 2021/02/04

[#102438] [Ruby master Bug#17619] if false foo=42; end creates a foo local variable set to nil — pkmuldoon@...

Issue #17619 has been reported by pkmuldoon (Phil Muldoon).

10 messages 2021/02/10

[#102631] [Ruby master Feature#17660] Expose information about which basic methods have been redefined — tenderlove@...

Issue #17660 has been reported by tenderlovemaking (Aaron Patterson).

9 messages 2021/02/27

[#102639] [Ruby master Misc#17662] The herdoc pattern used in tests does not syntax highlight correctly in many editors — eregontp@...

Issue #17662 has been reported by Eregon (Benoit Daloze).

13 messages 2021/02/27

[#102652] [Ruby master Bug#17664] Behavior of sockets changed in Ruby 3.0 to non-blocking — ciconia@...

Issue #17664 has been reported by ciconia (Sharon Rosner).

23 messages 2021/02/28

[ruby-core:102628] [Ruby master Bug#5771] WIN32OLERuntimeError using 1.9.2

From: merch-redmine@...
Date: 2021-02-26 22:55:12 UTC
List: ruby-core #102628
Issue #5771 has been updated by jeremyevans0 (Jeremy Evans).

Status changed from Assigned to Closed

I tried the example code in Ruby 2.6, Ruby 2.7, and Ruby 3.0. on Windows 10, and got the expected output each time (Internet Explorer opened), OK output on console.  If you think this is still an issue with a supported version of Ruby and Windows, please reopen.

----------------------------------------
Bug #5771: WIN32OLERuntimeError using 1.9.2
https://bugs.ruby-lang.org/issues/5771#change-90622

* Author: yohei (Yohei Kaneko)
* Status: Closed
* Priority: Normal
* Assignee: suke (Masaki Suketa)
* ruby -v: 1.9.2p290, 1.9.3-p0
----------------------------------------
I found a problem using win32ole library in threaded script.  Ruby version I used is 1.9.2p290. It is said that same happens on 1.9.3-p0. Following is the minimal example that exposes this problem and the problem happens at ie.document. Doing sleep for few seconds between ie.navigate and ie.document works.

require 'win32ole'
t = Thread.new do
  begin
    ie = WIN32OLE.new( "InternetExplorer.Application" )
    ie.visible = true
    ie.navigate("http://google.com")
    ie.document
    puts "OK"
  rescue Exception => e
    puts e.class
    puts e
    puts e.backtrace
  end
end
t.join

The output is:
WIN32OLERuntimeError
document
    OLE error code:80004005 in <Unknown>
      <No Description>
    HRESULT error code:0x80020009

A little similar to ruby bug #2618, but this time problem happens after accessing document after navigate.




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next