[Ironruby-core] Type conversion error

andrew Wilson a.wilson82 at gmail.com
Tue Nov 9 15:37:52 EST 2010

Has anyone run into type conversion errors where you get a message like:

can't convert PcapFileHandler::PcapFileWriter into
PcapFileHandler::PcapFileWriter (TypeError)

when doing:

packetHandlerWrapper.PcapWriter =
NetworkMiner::PacketHandlerWriter.clr_new("", someobj)

I am totally buggered up with this.  The packetHandlerWrapepr.PcapWriter is
nil when I inspect it with ruby.

I have to solve this by tonight :'(


“If I had six hours to chop down a tree, I’d spend the first four of them
sharpening my axe”.

-Abraham Lincoln
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101109/5bead472/attachment.html>

More information about the Ironruby-core mailing list