Closed johnfelipe closed 11 years ago
This is my error:
"ERROR Internal Server Error: /course/aleman-para-colombianos/teacheradmin/units/attachment/ [Sat Apr 06 21:35:27 2013] [error] Traceback (most recent call last): [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/lib/python2.6/site-packages/django/core/handlers/base.py", line 111, in get_response [Sat Apr 06 21:35:27 2013] [error] response = callback(request, _callback_args, _callback_kwargs) [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/moocng/moocng/teacheradmin/decorators.py", line 33, in decorated [Sat Apr 06 21:35:27 2013] [error] _args, _kwargs) [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/moocng/moocng/decorators.py", line 38, in _wrapped_view [Sat Apr 06 21:35:27 2013] [error] return view_func(request, _args, *_kwargs) [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/moocng/moocng/teacheradmin/views.py", line 223, in teacheradmin_units_attachment [Sat Apr 06 21:35:27 2013] [error] attachment.save() [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/lib/python2.6/site-packages/django/db/models/base.py", line 463, in save [Sat Apr 06 21:35:27 2013] [error] self.save_base(using=using, force_insert=force_insert, force_update=force_update) [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/lib/python2.6/site-packages/django/db/models/base.py", line 551, in save_base [Sat Apr 06 21:35:27 2013] [error] result = manager._insert([self], fields=fields, return_id=update_pk, using=using, raw=raw) [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/lib/python2.6/site-packages/django/db/models/manager.py", line 203, in _insert [Sat Apr 06 21:35:27 2013] [error] return insert_query(self.model, objs, fields, **kwargs) [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/lib/python2.6/site-packages/django/db/models/query.py", line 1576, in insert_query [Sat Apr 06 21:35:27 2013] [error] return query.get_compiler(using=using).execute_sql(return_id) [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 909, in execute_sql [Sat Apr 06 21:35:27 2013] [error] for sql, params in self.as_sql(): [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 872, in as_sql [Sat Apr 06 21:35:27 2013] [error] for obj in self.query.objs [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/lib/python2.6/site-packages/django/db/models/fields/files.py", line 249, in pre_save [Sat Apr 06 21:35:27 2013] [error] file.save(file.name, file, save=False) [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/lib/python2.6/site-packages/django/db/models/fields/files.py", line 86, in save [Sat Apr 06 21:35:27 2013] [error] self.name = self.storage.save(name, content) [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/lib/python2.6/site-packages/django/core/files/storage.py", line 45, in save [Sat Apr 06 21:35:27 2013] [error] name = self._save(name, content) [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/lib/python2.6/site-packages/django/core/files/storage.py", line 192, in _save [Sat Apr 06 21:35:27 2013] [error] fd = os.open(full_path, os.O_WRONLY | os.O_CREAT | os.O_EXCL | getattr(os, 'O_BINARY', 0))"
This is my error:
"ERROR Internal Server Error: /course/aleman-para-colombianos/teacheradmin/units/attachment/ [Sat Apr 06 21:35:27 2013] [error] Traceback (most recent call last): [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/lib/python2.6/site-packages/django/core/handlers/base.py", line 111, in get_response [Sat Apr 06 21:35:27 2013] [error] response = callback(request, _callback_args, _callback_kwargs) [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/moocng/moocng/teacheradmin/decorators.py", line 33, in decorated [Sat Apr 06 21:35:27 2013] [error] _args, _kwargs) [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/moocng/moocng/decorators.py", line 38, in _wrapped_view [Sat Apr 06 21:35:27 2013] [error] return view_func(request, _args, *_kwargs) [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/moocng/moocng/teacheradmin/views.py", line 223, in teacheradmin_units_attachment [Sat Apr 06 21:35:27 2013] [error] attachment.save() [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/lib/python2.6/site-packages/django/db/models/base.py", line 463, in save [Sat Apr 06 21:35:27 2013] [error] self.save_base(using=using, force_insert=force_insert, force_update=force_update) [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/lib/python2.6/site-packages/django/db/models/base.py", line 551, in save_base [Sat Apr 06 21:35:27 2013] [error] result = manager._insert([self], fields=fields, return_id=update_pk, using=using, raw=raw) [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/lib/python2.6/site-packages/django/db/models/manager.py", line 203, in _insert [Sat Apr 06 21:35:27 2013] [error] return insert_query(self.model, objs, fields, **kwargs) [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/lib/python2.6/site-packages/django/db/models/query.py", line 1576, in insert_query [Sat Apr 06 21:35:27 2013] [error] return query.get_compiler(using=using).execute_sql(return_id) [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 909, in execute_sql [Sat Apr 06 21:35:27 2013] [error] for sql, params in self.as_sql(): [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 872, in as_sql [Sat Apr 06 21:35:27 2013] [error] for obj in self.query.objs [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/lib/python2.6/site-packages/django/db/models/fields/files.py", line 249, in pre_save [Sat Apr 06 21:35:27 2013] [error] file.save(file.name, file, save=False) [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/lib/python2.6/site-packages/django/db/models/fields/files.py", line 86, in save [Sat Apr 06 21:35:27 2013] [error] self.name = self.storage.save(name, content) [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/lib/python2.6/site-packages/django/core/files/storage.py", line 45, in save [Sat Apr 06 21:35:27 2013] [error] name = self._save(name, content) [Sat Apr 06 21:35:27 2013] [error] File "/var/www/moocng/lib/python2.6/site-packages/django/core/files/storage.py", line 192, in _save [Sat Apr 06 21:35:27 2013] [error] fd = os.open(full_path, os.O_WRONLY | os.O_CREAT | os.O_EXCL | getattr(os, 'O_BINARY', 0))"