'module' object has no attribute 'DataInvalid'

Bug #939616 reported by Dan Prince
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
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)
Changed in glance:
assignee: nobody → Dan Prince (dan-prince)
status: New → In Progress
Dan Prince (dan-prince)
Changed in glance:
assignee: Dan Prince (dan-prince) → Derek Higgins (derekh)
Revision history for this message
Dan Prince (dan-prince) wrote :
Changed in glance:
milestone: none → essex-4
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

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)
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: essex-4 → 2012.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.