Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-5794

example clients (spout.rb, map_sender.rb) are reporting errors

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.26
    • 0.29
    • Ruby Client
    • None

    Description

      1. cat /etc/redhat-release
        Red Hat Enterprise Linux Server release 6.5 (Santiago)
      2. rpm -q qpid-cpp-server
        qpid-cpp-server-0.22-41.el6.x86_64
      3. gem list qpid_messaging
        *** LOCAL GEMS ***
        qpid_messaging (0.26.1)
      1. ruby ./spout.rb
        ./spout.rb:112: invalid regular expression; there's no previous pattern, to which '{' would define cardinality at 2: /^ {(.*)}

        $/
        ./spout.rb:114: invalid regular expression; there's no previous pattern, to which '{' would define cardinality at 1: /

        {.*}

        /

      1. ruby ./map_sender.rb
        ./../lib/qpid_messaging/connection.rb:71:in `initialize': Wrong arguments for overloaded method 'Connection.new'. (ArgumentError)
        Possible C/C++ prototypes are:
        Connection.new(qpid::messaging::ConnectionImpl *impl)
        Connection.new(qpid::messaging::Connection const &)
        Connection.new()
        Connection.new(std::string const &url, qpid::types::Variant::Map const &options)
        Connection.new(std::string const &url)
        Connection.new(std::string const &url, std::string const &options)
        from ./../lib/qpid_messaging/connection.rb:71:in `new'
        from ./../lib/qpid_messaging/connection.rb:71:in `initialize'
        from ./map_sender.rb:28:in `new'
        from ./map_sender.rb:28

      other example clients are working well.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mcpierce Darryl Pierce
            pematous Petr Matousek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment