Closed Bug 670578 Opened 8 years ago Closed 8 years ago

assert self.selected, 'Please select a file'

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jbalogh, Assigned: andy+bugzilla)

Details

(Whiteboard: [qa-])

This happened at http://addons.mozilla.org/en-US/firefox/files/browse/91174/file/chrome/firefm.jar/locale/es-ES/fmVideoDialog.dtd, but hitting that URL seems fine now.

Traceback (most recent call last):
 File "/data/amo_python/www/prod/zamboni/apps/files/views.py", line 70, in browse
   data['content'] = viewer.read_file()

 File "/data/amo_python/www/prod/zamboni/apps/files/helpers.py", line 136, in read_file
   return self._read_file(allow_empty)

 File "/data/amo_python/www/prod/zamboni/apps/files/helpers.py", line 144, in _read_file
   assert self.selected, 'Please select a file'

AssertionError: Please select a file
Think cache was getting out of sync with the cron job.

http://github.com/jbalogh/zamboni/commit/972e26
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.