← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1866632] [NEW] AttributeError on file upload

 

Public bug reported:

When the image upload finishes, we try to delete the temporary
file that was used for the upload. However, depending on how
Horizon is deployed, instead of a file it can be a BytesIO
instance, which leads to an AttributeError. This happens in
a separate thread, so Horizon itself doesn't crash, but it's
better to catch that exception.

** Affects: horizon
     Importance: Undecided
     Assignee: Radomir Dopieralski (deshipu)
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1866632

Title:
  AttributeError on file upload

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  When the image upload finishes, we try to delete the temporary
  file that was used for the upload. However, depending on how
  Horizon is deployed, instead of a file it can be a BytesIO
  instance, which leads to an AttributeError. This happens in
  a separate thread, so Horizon itself doesn't crash, but it's
  better to catch that exception.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1866632/+subscriptions


Follow ups