Traceback (most recent call last): IOError: [Errno 2] No such file or directory

RESOLVED WORKSFORME

Status

developer.mozilla.org
Wiki pages
RESOLVED WORKSFORME
7 years ago
6 years ago

People

(Reporter: retornam, Assigned: ubernostrum)

Tracking

unspecified
x86
Mac OS X

Details

(URL)

(Reporter)

Description

7 years ago
Traceback (most recent call last):

  File "/data/www/django/developer.mozilla.org/kuma/vendor/src/django/django/core/handlers/base.py", line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/data/www/django/developer.mozilla.org/kuma/apps/demos/views.py", line 270, in edit
    sub = form.save()

  File "/data/www/django/developer.mozilla.org/kuma/apps/demos/forms.py", line 167, in save
    rv = super(SubmissionEditForm,self).save(commit)

  File "/data/www/django/developer.mozilla.org/kuma/vendor/src/django/django/forms/models.py", line 375, in save
    fail_message, commit, construct=False)

  File "/data/www/django/developer.mozilla.org/kuma/vendor/src/django/django/forms/models.py", line 86, in save_instance
    instance.save()

  File "/data/www/django/developer.mozilla.org/kuma/apps/demos/models.py", line 464, in save
    super(Submission,self).save()

  File "/data/www/django/developer.mozilla.org/kuma/vendor/src/django/django/db/models/base.py", line 458, in save
    self.save_base(using=using, force_insert=force_insert, force_update=force_update)

  File "/data/www/django/developer.mozilla.org/kuma/vendor/src/django/django/db/models/base.py", line 523, in save_base
    values = [(f, None, (raw and getattr(self, f.attname) or f.pre_save(self, False))) for f in non_pks]

  File "/data/www/django/developer.mozilla.org/kuma/vendor/src/django/django/db/models/fields/files.py", line 255, in pre_save
    file.save(file.name, file, save=False)

  File "/data/www/django/developer.mozilla.org/kuma/apps/demos/models.py", line 245, in save
    thumb_file = scale_image(self.storage.open(new_filename),

  File "/data/www/django/developer.mozilla.org/kuma/vendor/src/django/django/core/files/storage.py", line 32, in open
    file = self._open(name, mode)

  File "/data/www/django/developer.mozilla.org/kuma/vendor/src/django/django/core/files/storage.py", line 137, in _open
    return File(open(self.path(name), mode))

IOError: [Errno 2] No such file or directory: u'/mnt/netapp/developer.mozilla.org-dekiwiki/demos/t/w/twolfson/393583c3f8c790c2c136a3c9b9034513/1324772855_screenshot_1.png'
Target Milestone: --- → 2.0
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → WORKSFORME
(Assignee)

Updated

7 years ago
Assignee: nobody → jbennett
Version: Kuma → unspecified
Component: Website → Landing pages
Product: Mozilla Developer Network → Mozilla Developer Network
You need to log in before you can comment on or make changes to this bug.