I think that might be the issue there... file:// is not a supported
url scheme in Gears. I think the only url schemes supported are http://
and https://.

In the tutorial page provided by Google (http://code.google.com/apis/
gears/tutorial.html), it states that you need to have "Ability to
publish files to the HTTP server that hosts your files". So I think it
is necessary to have a web server running in order to get gears to
work.

On May 4, 10:56 am, skunkwerk <[email protected]> wrote:
> yup, i'm using a local file to run the code, i.e. file:///path/something.html
> is it really necessary to have a web server running to get gears to
> work?
> it shouldn't make a difference, right?
>
> thanks,
> imran
>
> On May 1, 3:10 pm, carise <[email protected]> wrote:
>
> > Ah -- do you just double click your file and open it in the browser,
> > then Gears says "URL scheme is not supported"? If the url shows up as
> > "file://" and not http://, then I think Gears will show that error. My
> > current setup is using some kind of http server (apache 2.2 in my
> > case) and accessing the files viahttp://localhost/path/to/file.html.
>
> > On May 1, 3:00 pm, carise <[email protected]> wrote:
>
> > > Hmm, that's odd. What code snippets can you provide from your app? Is
> > > it just that sample you provided earlier? Also, how are you accessing
> > > this file in your browser? (i.e. what is the url you type into your
> > > browser to access this code sample)
>
> > > On Apr 29, 8:23 pm, skunkwerk <[email protected]> wrote:
>
> > > > Carise,
> > > >    i just tried the code snippet in IE 7 on windows xp, with exactly
> > > > the same results "URL scheem not supported."  does anybody know what's
> > > > going on here?
>
> > > > thanks,
> > > > imran
>
> > > > On Apr 27, 4:31 pm, skunkwerk <[email protected]> wrote:
>
> > > > > thanks Michael,
> > > > >    I am working with a page on disk (the code above is in a local file
> > > > > i'm opening in my browser), but i'm not loading any files currently
> > > > > through the localstore - just trying to create a local store.
>
> > > > > regards,
> > > > > imran
>
> > > > > On Apr 27, 11:39 am, Michael Nordman <[email protected]> wrote:
>
> > > > > > > URL scheme not supported
>
> > > > > > The Gears LocalServer supports HTTP and HTTPS. Are you working with
> > > > > > pages on disk and loading them via FILE urls?

Reply via email to