Bug 788040 - "qpid-python" package for Windows needs to be updated for ability to run with IPv6 addressing
Summary: "qpid-python" package for Windows needs to be updated for ability to run with...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: python-qpid
Version: Development
Hardware: Unspecified
OS: Windows
medium
medium
Target Milestone: 3.0
: ---
Assignee: Chuck Rolke
QA Contact: Petra Svobodová
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-07 10:17 UTC by Petra Svobodová
Modified: 2013-07-10 13:37 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-20 15:56:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Petra Svobodová 2012-02-07 10:17:23 UTC
Description of problem:
Currently the qpid python libraries contained in the last "qpid-python" packages for Windows do not support running over IPv6.

Version-Release number of selected component (if applicable):
qpid-python-0.7946106a15.win32-py2.6.msi

How reproducible:
100%

Steps to Reproduce:
1. Install the qpid-python-0.7946106a15.win32-py2.6.msi package
2. Try to use any python client example on Windows; for example: 
C:\Python26\python.exe spout.py --broker [<IPv6 address>] "amq.topic" "HELLO"

  
Actual results:
The application exits with ValueError exception; see the Windows command line transcript, please:

Traceback (most recent call last):
    File "C:\qpid_test\python_examples\spout.py", line 109, in <module>
      **conn_options)
    File "c:\Python26\Lib\site-packages\qpid\messaging\endpoints.py", line 125, in __init__
      url = URL(url)
    File "c:\Python26\Lib\site-packages\qpid\util.py", line 121, in __init__
      raise ValueError(s)
  ValueError: [<IPv6 address>]:5672 

Expected results:
The application should run and exit by normal way.

Additional info:
The python example clients (spout and drain) and also qpid-tools are able to run on Windows if python libraries contained in the "qpid" folder from "python-qpid-0.14.tar.gz" are used.

Comment 1 Andrew Stitcher 2012-02-07 15:33:58 UTC
It sounds like the python package versions being tried here are simply versions from before the IPv6 support was added.

Ths fix would be to respin new packages for windows based on newer code.

Comment 2 Justin Ross 2013-02-23 01:52:51 UTC
Chuck, please verify that this is fixed.

(In reply to comment #1)
> It sounds like the python package versions being tried here are simply
> versions from before the IPv6 support was added.
> 
> Ths fix would be to respin new packages for windows based on newer code.

Comment 3 Chuck Rolke 2013-04-17 20:51:06 UTC
Python 0.20 works just fine:

pythonpath=s:\users\chug\0.20-python\qpid-0.20\python

S:\Users\chug\0.20-python\qpid-0.20\python\examples\api>python spout -b [::1]:5672 "amq.topic" "HELLO"
Message(properties={'spout-id': '0364bdc5-5216-4d9a-b556-411e081411aa:0'}, content='HELLO')

However, this test was run from qpid-python-0.20.tar.gz and not from an msi package.

Comment 4 Chuck Rolke 2013-04-17 20:54:18 UTC
Where did the kit qpid-python-0.7946106a15.win32-py2.6.msi come from?

Comment 6 Petra Svobodová 2013-06-10 12:09:47 UTC
The qpid-python packages are here: 
http://mrg1.lab.bos.redhat.com/python-msi/qpid-python-0.7946106a15.win32-py2.6.msi

I do not know about any newer ones. Packages for Linux are able to run on Windows too, but they have no Windows installer.


Note You need to log in before you can comment on or make changes to this bug.