2011-07-20 07:50:38 |
Zsolt |
description |
If I'm trying to connect to MQ server in bindings mode (only the server name is specified), my program crashes with this error:
File "/tmp/test_pymqi.py", line 2174, in connect
qmgr = pymqi.QueueManager(queue_manager)
NameError: global name 'pymqi' is not defined
The program connects to MQ by this call:
import pymqi
qmgr = pymqi.connect("HAT1")
I think it could be easily fixed by removing "pymqi." string from the line 2174 in pymqi.py. |
If I'm trying to connect to MQ server in bindings mode (only the server name is specified), my program crashes with this error:
File "pymqi.py", line 2174, in connect
qmgr = pymqi.QueueManager(queue_manager)
NameError: global name 'pymqi' is not defined
The program connects to MQ by this call:
import pymqi
qmgr = pymqi.connect("HAT1")
I think it could be easily fixed by removing "pymqi." string from the line 2174 in pymqi.py. |
|