You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I don't specify e-mail addresses to copy the form entry to, then file upload works without problem. But if you do, then the form entry and file are saved, but sending the e-mail copies will throw the following:
File "/home/www/test.artis.nl/django/django-forms-builder/forms_builder/forms/views.py", line 45, in form_detail
f.seek(0)
ValueError: I/O operation on closed file
Can you validate this error?
The text was updated successfully, but these errors were encountered:
Unfortunately I can't replicate this issue and it works fine for me - emails are sent with files attached. It seems as though on your setup that the files are being closed (or haven't even been opened?) and that you'll somehow need to open them rather than calling seek() - if you can put together a patch for this I'll commit it to the project.
If I don't specify e-mail addresses to copy the form entry to, then file upload works without problem. But if you do, then the form entry and file are saved, but sending the e-mail copies will throw the following:
File "/home/www/test.artis.nl/django/django-forms-builder/forms_builder/forms/views.py", line 45, in form_detail
f.seek(0)
ValueError: I/O operation on closed file
Can you validate this error?
The text was updated successfully, but these errors were encountered: