The 'file' attribute has no file associated with it.

226 views
Skip to first unread message

Jason Gutierrez

unread,
Jul 18, 2014, 3:31:51 PM7/18/14
to class2g...@googlegroups.com
Hi!

I got this problem: "The 'file' attribute has no file associated with it."
When click on Video Link in the header link.

I don't know how to solve it. Any idea??

Thank you very much in advance.

The complet message is:

ValueError at /path.../videos

The 'file' attribute has no file associated with it.
Request Method:GET
Request URL:
Django Version:1.4
Exception Type:ValueError
Exception Value:
The 'file' attribute has no file associated with it.
Exception Location:/var/www/DevEnvs/class2go/lib/python2.7/site-packages/django/db/models/fields/files.py in _require_file, line 41
Python Executable:/usr/bin/python
Python Version:2.7.3
Python Path:
['/var/www/DevProjects/class2go/class2go/main/',
 '/var/www/DevEnvs/class2go/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg',
 '/var/www/DevEnvs/class2go/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg',
 '/var/www/DevProjects/class2go',
 '/var/www/DevEnvs/class2go/lib/python2.7/site-packages',
 '/var/www/DevEnvs/class2go/lib/python2.7/site-packages/PIL',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-linux2',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages']
Server time:vie, 18 Jul 2014 10:10:09 -0700
Reply all
Reply to author
Forward
0 new messages