OpenStack Image Registry and Delivery Service (Glance)

'module' object has no attribute 'DataInvalid'

Reported by Dan Prince on 2012-02-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
High
Derek Higgins

Bug Description

Using the most recent Glance Essex build I'm now getting the following error when uploading images:

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/site-packages/glance/common/animation.py", line 67, in run
    self.render()
  File "/usr/lib/python2.7/site-packages/glance/common/animation.py", line 119, in render
    except (exception.DataInvalid, NotImplementedError):
AttributeError: 'module' object has no attribute 'DataInvalid'

---

We appear to be missing the DataInvalid exception.

Dan Prince (dan-prince) on 2012-02-23
Changed in glance:
assignee: nobody → Dan Prince (dan-prince)
status: New → In Progress
Dan Prince (dan-prince) on 2012-02-23
Changed in glance:
assignee: Dan Prince (dan-prince) → Derek Higgins (derekh)
Dan Prince (dan-prince) wrote :
Changed in glance:
milestone: none → essex-4
importance: Undecided → High

Reviewed: https://review.openstack.org/4451
Committed: http://github.com/openstack/glance/commit/f6e91994f92a9ba6fe5ea6cb61a7b1f15d3b392f
Submitter: Jenkins
Branch: master

commit f6e91994f92a9ba6fe5ea6cb61a7b1f15d3b392f
Author: Derek Higgins <email address hidden>
Date: Thu Feb 23 15:46:01 2012 +0000

    Fix exception name

    Fixes bug 939616

    DataInvalid thrown by get_terminal_size is not a defined exception name
    Also added details to Authors

    Change-Id: Ia321d62d15b074aca69a5d0e5646966d7e297023

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2012-02-29
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in glance:
milestone: essex-4 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers