You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Darryl L. Pierce (JIRA)" <ji...@apache.org> on 2014/05/30 17:23:04 UTC

[jira] [Resolved] (QPID-5794) example clients (spout.rb, map_sender.rb) are reporting errors

     [ https://issues.apache.org/jira/browse/QPID-5794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darryl L. Pierce resolved QPID-5794.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.29
         Assignee: Darryl L. Pierce

> example clients (spout.rb, map_sender.rb) are reporting errors
> --------------------------------------------------------------
>
>                 Key: QPID-5794
>                 URL: https://issues.apache.org/jira/browse/QPID-5794
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ruby Client
>    Affects Versions: 0.26
>            Reporter: Petr Matousek
>            Assignee: Darryl L. Pierce
>            Priority: Minor
>             Fix For: 0.29
>
>
> # cat /etc/redhat-release 
> Red Hat Enterprise Linux Server release 6.5 (Santiago)
> # rpm -q qpid-cpp-server
> qpid-cpp-server-0.22-41.el6.x86_64
> # gem list qpid_messaging
> \*\*\* LOCAL GEMS \*\*\*
> qpid_messaging (0.26.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: /{.*}/
> # 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org