[
https://issues.apache.org/jira/browse/QPID-5794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Petr Matousek updated QPID-5794:
--------------------------------
Description:
# 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.
> 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
> Priority: Minor
>
> # 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: [email protected]
For additional commands, e-mail: [email protected]