Generic error with get_serving_url

74 views
Skip to first unread message

pamela

unread,
Apr 3, 2012, 8:16:24 PM4/3/12
to Google App Engine
Hey there -

For all of today, I've been getting this error:
self.set_urls()
File "/base/data/home/apps/s~everyday-app/android.357756108853417062/
application/models.py", line 1929, in set_urls
self.url = images.get_serving_url(self.blob_key)
File "/base/python27_runtime/python27_lib/versions/1/google/appengine/
api/images/__init__.py", line 1288, in get_serving_url
raise Error()


My app id is everyday-app. Can you confirm if this is an App Engine
issue or a my-code issue? I really can't tell from the very generic
"Error()".
I'm using Python 2.7.

Thanks!

- pamela

Stuart Langley

unread,
Apr 4, 2012, 8:10:19 AM4/4/12
to google-a...@googlegroups.com
It looks like you're feeding it invalid blobs.

E.G the BlobKey 'AMIfv94F_Rj7Y1YEbsOshSaBrSMh90bDaVoFk2K_hx62ycNSgBN6KbqGqncqeNpHtnx6Jq4plXk1voRwmugkj1OSY1NstyCDlWq10civsxLbk5pU4PtWkiK-pLaGTtk9FyY_81AQNGy4p6Hq6RGuK_pwZybqldhyAQ' is a png of size 3 bytes.

Why you're not seeing a "Not Valid Image" error I am not quite sure.

Pamela Fox

unread,
Apr 4, 2012, 9:44:34 AM4/4/12
to google-a...@googlegroups.com
Thanks, I figured that was the issue after adding some extra logging. It'd be nice if it was a Not Valid Image error - I initially filed it away in my "Flaky App Engine" bugs folder instead of addressing it immediately as an actual app error.

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/7k_qxWlla8IJ.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

Reply all
Reply to author
Forward
0 new messages