hang when using python 2.7.3
Bug #1383950 reported by
Vish Ishaya
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-swiftclient |
New
|
Undecided
|
Unassigned |
Bug Description
python-swiftclient hangs with python version 2.7.3 (on osx, have not verified on other os).
It seems to be something to do with the way Queues and Threads are used.
To reproduce:
git clone http://
cd python-swiftclient
mkdir foo
virtualenv foo
. foo/bin/activate
pip install -e .
# setup env variables for openstack creds
swift list
It will hang until you ctrl-c
The loop it is stuck in is:
177 def get_from_queue(q, timeout=864000):
178 while True:
179 try:
180 item = q.get(timeout=
181 return item
182 except QueueEmpty:
in swiftclient/
To post a comment you must log in.
Can you explain how that is a bug in python-swiftclient? Is it possible that it is just waiting for a message from the server? Or do you have evidence that it received the message but is failing to process it?