[google-appengine] Running syncdb error

2009-12-01 Thread Guri
Hi,
I am using app engine patch, it uploads the application sucessfully
till Running syncdb
All it does is cribs with this Traceback. I have tried lot many things
with settings but no luck.
Please if any one can tell me basic reason for this error.

Thanks,
Guri
=

Traceback (most recent call last):
  File manage.py, line 18, in module
execute_manager(settings)
  File /home/sunny/apatch/app-engine-patch-sample/apps/__init__.py,
line 384, in execute_manager

  File /home/sunny/apatch/app-engine-patch-sample/apps/__init__.py,
line 325, in execute

  File /home/sunny/apatch/app-engine-patch-sample/common/zip-packages/
django-1.1.zip/django/core/management/base.py, line 200, in
run_from_argv
  File /home/sunny/apatch/app-engine-patch-sample/common/zip-packages/
django-1.1.zip/django/core/management/base.py, line 227, in execute
  File /home/sunny/apatch/app-engine-patch-sample/common/zip-packages/
django-1.1.zip/django/core/management/base.py, line 356, in handle
  File /home/sunny/apatch/app-engine-patch-sample/common/zip-packages/
django-1.1.zip/django/core/management/commands/syncdb.py, line 63, in
handle_noargs
  File /home/sunny/apatch/app-engine-patch-sample/common/
appenginepatch/appenginepatcher/patch.py, line 66, in count
return old_count(self, limit)
  File /usr/local/google_appengine/google/appengine/ext/db/
__init__.py, line 1552, in count
result = raw_query.Count(limit=limit)
  File /usr/local/google_appengine/google/appengine/api/
datastore.py, line 1084, in Count
self._ToPb(limit=limit), resp)
  File /usr/local/google_appengine/google/appengine/api/
apiproxy_stub_map.py, line 72, in MakeSyncCall
apiproxy.MakeSyncCall(service, call, request, response)
  File /usr/local/google_appengine/google/appengine/api/
apiproxy_stub_map.py, line 266, in MakeSyncCall
rpc.CheckSuccess()
  File /usr/local/google_appengine/google/appengine/api/
apiproxy_rpc.py, line 111, in CheckSuccess
raise self.exception
urllib2.HTTPError: HTTP Error 500: Internal Server Error

--

You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.




[google-appengine] syncdb HTTP Error 302

2009-11-18 Thread Guri
Hi,

I am using app engine patch to upload on production server. All goes
fine until it tries syncdb.
Below are the logs. I searched for such problems earlier but no luck.
Please give me some pointers

Thanks,
Gurminder

These are the logs:

Uploading index definitions.
Running syncdb.
Traceback (most recent call last):
  File manage.py, line 18, in module
execute_manager(settings)
  File /home/sunny/apatch/app-engine-patch-sample/apps/__init__.py,
line 384, in execute_manager

  File /home/sunny/apatch/app-engine-patch-sample/apps/__init__.py,
line 325, in execute

  File /home/sunny/apatch/app-engine-patch-sample/common/zip-packages/
django-1.1.zip/django/core/management/commands/update.py, line 70, in
run_from_argv
  File /home/sunny/apatch/app-engine-patch-sample/common/zip-packages/
django-1.1.zip/django/core/management/commands/update.py, line 53, in
run_appcfg
  File /home/sunny/apatch/app-engine-patch-sample/apps/__init__.py,
line 188, in call_command

  File /home/sunny/apatch/app-engine-patch-sample/common/zip-packages/
django-1.1.zip/django/core/management/base.py, line 227, in execute
  File /home/sunny/apatch/app-engine-patch-sample/common/zip-packages/
django-1.1.zip/django/core/management/base.py, line 356, in handle
  File /home/sunny/apatch/app-engine-patch-sample/common/zip-packages/
django-1.1.zip/django/core/management/commands/syncdb.py, line 63, in
handle_noargs
  File /home/sunny/apatch/app-engine-patch-sample/common/
appenginepatch/appenginepatcher/patch.py, line 66, in count
return old_count(self, limit)
  File /usr/local/google_appengine/google/appengine/ext/db/
__init__.py, line 1552, in count
result = raw_query.Count(limit=limit)
  File /usr/local/google_appengine/google/appengine/api/
datastore.py, line 1084, in Count
self._ToPb(limit=limit), resp)
  File /usr/local/google_appengine/google/appengine/api/
apiproxy_stub_map.py, line 72, in MakeSyncCall
apiproxy.MakeSyncCall(service, call, request, response)
  File /usr/local/google_appengine/google/appengine/api/
apiproxy_stub_map.py, line 266, in MakeSyncCall
rpc.CheckSuccess()
  File /usr/local/google_appengine/google/appengine/api/
apiproxy_rpc.py, line 111, in CheckSuccess
raise self.exception
urllib2.HTTPError: HTTP Error 302: Found


--

You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=.




[google-appengine] Re: property value is not multi-line

2009-11-16 Thread Guri


On Nov 16, 9:00 am, SivaTumma sivatu...@gmail.com wrote:
 You need to declare the property 'url_title' in your model class like
 this:
     url_property = db.StringProperty(multiline=True)

 It indicates that a multilne string ( when copied and pasted from html
 pages, it happens some times. )
 should also be stored in the datastore.

Thanks, for you  reply SivaTumma. It helped.
Guri



 On Nov 14, 9:00 am, Guri sgurmin...@gmail.com wrote:

  Hi,
  I am using Beautiful soupwww.crummy.com/software/BeautifulSoupto
  fetch title of a url and storing it in datastore as StringProperty .
  It works with most of them but likewww.code.google.com/itthrows an
  exception while storing in datastore.
  Exception BadValueError:
  Property value url_title is not multilne

  Any pointers please.

  Thanks,
  Guri

--

You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=.




[google-appengine] property value is not multi-line

2009-11-14 Thread Guri
Hi,
I am using Beautiful soup www.crummy.com/software/BeautifulSoup to
fetch title of a url and storing it in datastore as StringProperty .
It works with most of them but like www.code.google.com/ it throws an
exception while storing in datastore.
Exception BadValueError:
Property value url_title is not multilne

Any pointers please.

Thanks,
Guri

--

You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=.