./p2p_server.rb:223:in `startServer’: undefined method `P2PServerConnection’ for #<P2PServer:0xb763f6ac> (NoMethodError)

with eventmachine

means ‘put parenthesis around your arguments, it thinks the last parameter is a function call!

3 thoughts on “

  1. terminate called after throwing an instance of ‘std::runtime_error’
    what(): not initialized
    A
    means ‘you need to run it in a thread somewhere!’

  2. /home/rdp/go/eventmachine/svn/version_0/lib/eventmachine.rb:300:in `add_oneshot_timer’: no timer (RuntimeError)
    from /home/rdp/go/eventmachine/svn/version_0/lib/eventmachine.rb:300:in `add_timer’

    may mean ‘you have too many timers!’ are you adding too many on accident?

  3. /home/rdp/go/eventmachine/svn/version_0/lib/eventmachine.rb:1098:in `event_callback’: EventMachine::ConnectionNotBound (EventMachine::ConnectionNotBound)
    from /home/rdp/go/eventmachine/svn/version_0/lib/eventmachine.rb:225:in `release_machine’
    from /home/rdp/go/eventmachine/svn/version_0/lib/eventmachine.rb:225:in `run’
    from test_em8.rb:31

    means ‘one of your functions had an error in its ‘setup’ functions, like post_init, the block, etc., which prevented it from binding!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>