Re: [google-appengine] Gae and visualization api

2011-10-12 Thread Nick Johnson
Hi,

It sounds like you've embedded the URL of your development environment into
your code somewhere. Naturally, when deployed, your browser (or the
Visualization API) can't access files stored on your local machine.

Instead of hard-coding URLs, you should determine the host header from the
current request -  exactly how to do so depends on your framework - and use
that. Alternately, you can use relative URLs if the Visualization API
supports that.

-Nick Johnson

On Thu, Oct 13, 2011 at 5:39 AM, uover82  wrote:

> Hi All,
>
> I'm developing an application using app engine and the google
> visualization api using java. It currently uses a static file (csv)
> located in war as a datasource. My app works fine in my local
> development server but fails with errors like the following after
> uploading:
>
> java.io.IOException: Could not fetch URL: http://localhost:8080/ ...
> 
>
> Any ideas/thoughts on this?
>
> Let me know - thanks
>
> John
>
> --
> 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-appengine@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.
>
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine

-- 
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-appengine@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] Gae and visualization api

2011-10-12 Thread uover82
Hi All,

I'm developing an application using app engine and the google
visualization api using java. It currently uses a static file (csv)
located in war as a datasource. My app works fine in my local
development server but fails with errors like the following after
uploading:

java.io.IOException: Could not fetch URL: http://localhost:8080/ ...


Any ideas/thoughts on this?

Let me know - thanks

John

-- 
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-appengine@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.