noreply at rubyforge.org
2008-Mar-13 14:54 UTC
[wxruby-development] [ wxruby-Bugs-18812 ] Wx::HtmlWindow#set_page()
Bugs item #18812, was opened at 2008-03-13 09:54
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=18812&group_id=35
Category: Incorrect behavior
Group: current
Status: Open
Resolution: None
Priority: 4
Submitted By: Mario Steele (eumario)
Assigned to: Alex Fenton (brokentoy)
Summary: Wx::HtmlWindow#set_page()
Initial Comment:
There''s a current bug with Wx::HtmlWindow#set_page(), in which you
include HTML Source that has an image, the following error is generated:
----------------[First Instance]------------------
html_error1.rb:27: [BUG] Segmentation fault
ruby 1.8.6 (2007-09-24) [i386-mswin32]
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application''s support team for more information.
----------------[Second Instance]-----------------
html_error2.rb:30:in `set_page'': Swig director type mismatch Ruby
method failed to return an array. (TypeError)
from html_error2.rb:30:in `initialize''
from html_error2.rb:44:in `call''
from html_error2.rb:44:in `process_event''
from html_error2.rb:44:in `main_loop''
from html_error2.rb:44
It works fine, if no <img> tag is in there, but if there is one, and you
call set_page() with this HTML, it segfaults or throws a Swig Error. Attached
are the two html_error*.rb files, and the simple class.png file.
L8ers.
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=18812&group_id=35
Apparently Analagous Threads
- [682] trunk/wxruby2/doc/textile/htmlwindow.txtl: Fix some little formatting errors that were causing the page to be unreadable
- [866] trunk/wxruby2/doc/textile/htmlwindow.txtl: Added missing methods section
- Wx::HtmlWindow.on_link_clicked
- [1138] trunk/wxruby2/samples/html/html.rb: Place HTMLWindow in a panel so gets correct bg color on MSW
- [724] trunk/wxruby2: Initial commit of HtmlWindow functionality
