4 messages in com.googlegroups.google-gearsRe: Verifying that the 'Enabling stat...
FromSent OnAttachments
John28 Nov 2007 10:22 
Ben Lisbakken28 Nov 2007 11:01 
Ben Lisbakken29 Nov 2007 09:57 
John29 Nov 2007 10:14 
Subject:Re: Verifying that the 'Enabling static files to work offline using Gears' Tutorial is working correctly
From:Ben Lisbakken (lisb@google.com)
Date:11/28/2007 11:01:16 AM
List:com.googlegroups.google-gears

Hey John -

I could guess at what it might be, but I think the fastest way for me to help you is to look at your code. If you could also show the manifest, too, that would be great.

Thanks, Ben

On Nov 28, 10:22 am, John <jarn@gmail.com> wrote:

Hi.

I'm working my way through the Gears Developer's Guide and am trying to verify that it's all working correctly. While working on the first sample (the 'Enabling static files to work offline using Gears' tutorial), I am trying to demonstrate to myself that I have it all working.

I've installed Gears and added a 'take this page oflline with Google Gears' link to a simple web page that I have hosted on GoDaddy. I've put all the files in the manfiest correctly (including the gears_init.js, go_offline.htl, and go_offline.js files) and click on my 'takes this page offline...' link.

This brings up a page that shows that Gears is installed and I click on the 'Capture' button. This returns the expecfted 'success' message. When I look at my accounts AppData\LocalLow\Google\Google Gears for Internet Explorer folder, I see that there are 2 files (localserver.db and permissions.db) and a folder structure that does contain local copies of the 6 files in my manifest.

So... I continue on and select 'Work Offline' in the browser and delete my local browser cache. Then, I type the URL of my web site to attempt to access the local files.

However, when I do this, I get a dialog box that says I'm working offline and do I want to connect or continue to work offline. If I connect, I get the online files. But if I say 'continue to work offline', the page does nothing.

To me, this sounds like my LocalServer isn't getting called (perhaps becaue the 'Work Offline' setting isn't even allowing the browser to pretend that it's making an HTTP call so it can get interecepted and processed by the LocalServer.

Maybe this is a dumb 'newbie' thing (since I can honestly say I've never used the 'Work Offline' option in IE before) but I'm wondering if this is indicative of a user error or some kind of installation error.

I've tried this on my laptop (running Vista Ultimate and IE7 and Firefox 2.0) and on a desktop at home (running XP Pro and IE7) and gotten the same results, So, I don't think it's related to a possible Vista needing elevated permissions problem.

Any insight into proving that my installation works by seeing the local files rendered in the browser would be greatly appreciated.

Thanks.