babybunny / rebuildingtogethercaptain

Rebuilding Together Peninsula ROOM system
Apache License 2.0
3 stars 1 forks source link

photo upload doesn't work #94

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I tried to upload a picture of the gojo wipes to the item description in lead 
paint safety materials

What is the expected output? What do you see instead?
I wasn't sure if that feature actually worked - my guess is that it's not set 
up yet.  thought i'd give you a heads up, just in case it's supposed to work.  
here's the error I got:

AttributeError at /room/item/edit/853023/
'NoneType' object has no attribute 'validate'
Request Method: POST
Request URL:    http://rebuildingtogethercaptain.appspot.com/room/item/edit/853023/
Exception Type: AttributeError
Exception Value:    
'NoneType' object has no attribute 'validate'
Exception 
Location:   /base/python_runtime/python_lib/versions/1/google/appengine/ext/db/dja
ngoforms.py in property_clean, line 670
Python Executable:  /base/
Python Version: 2.5.2
Python 
Path:   ['/base/data/home/apps/rebuildingtogethercaptain/1.349520668032856741', 
'/base/python_runtime/python_dist/lib/python25.zip', 
'/base/python_runtime/python_lib/versions/third_party/django-1.0', 
'/base/python_runtime/python_dist/lib/python2.5/', 
'/base/python_runtime/python_dist/lib/python2.5/plat-linux2', 
'/base/python_runtime/python_dist/lib/python2.5/lib-tk', 
'/base/python_runtime/python_dist/lib/python2.5/lib-dynload', 
'/base/python_runtime/python_lib/versions/1', 
'/base/data/home/apps/rebuildingtogethercaptain/1.349520668032856741/']
Server time:    Wed, 6 Apr 2011 06:16:19 +0000

Environment:

Request Method: POST
Request URL: http://rebuildingtogethercaptain.appspot.com/room/item/edit/853023/
Django Version: 1.0.2 final
Python Version: 2.5.2
Installed Applications:
('appengine_django', 'gaeunit', 'django.contrib.humanize')
Installed Middleware:
('django.middleware.common.CommonMiddleware',)

Traceback:
File 
"/base/python_runtime/python_lib/versions/third_party/django-1.0/django/core/han
dlers/base.py" in get_response
  86.                 response = callback(request, *callback_args, **callback_kwargs)
File 
"/base/data/home/apps/rebuildingtogethercaptain/1.349520668032856741/room/views.
py" in ItemEdit
  572.   errors = form.errors
File 
"/base/python_runtime/python_lib/versions/third_party/django-1.0/django/forms/fo
rms.py" in _get_errors
  111.             self.full_clean()
File 
"/base/python_runtime/python_lib/versions/third_party/django-1.0/django/forms/fo
rms.py" in full_clean
  229.                     value = field.clean(value, initial)
File 
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/djangoforms.
py" in clean_for_property_field
  780.             property_clean(prop, value)
File 
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/djangoforms.
py" in property_clean
  670.       prop.validate(prop.make_value_from_form(value))

Exception Type: AttributeError at /room/item/edit/853023/
Exception Value: 'NoneType' object has no attribute 'validate'

Original issue reported on code.google.com by RTP.c...@gmail.com on 6 Apr 2011 at 6:20

GoogleCodeExporter commented 9 years ago
I've been trying to get them to fix this for a while.  I have a patch for it 
which I'll try to apply again.  It's a little flaky.

Original comment by babybu...@gmail.com on 6 Apr 2011 at 6:26

GoogleCodeExporter commented 9 years ago
also see issue 131

Original comment by babybu...@gmail.com on 5 Jan 2012 at 12:33