Hello,

Now the manifest files are being copied. But not served when offline. When I
hover over a link in a htm page to another htm page that is in the manifest
local store I am getting a hand with a circle with a cross through it. When
I try to click this link, I get the IE message "webpage unavailable offline-
Connect or stay offline". When I click stay offline the IE message still
appears and the file in the store is not being served.
Help welcome!
Thanks.
meerkat


> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> On Behalf Of meerkat
> Sent: Tuesday, March 03, 2009 11:10 PM
> To: [email protected]
> Subject: [gears-users] Re: Files is manifest not copied
> 
> 
> Thanks for your direction. Used lastErrorMessage to get error in manifest
> file.
> meerkat
> 
> 
> > -----Original Message-----
> > From: [email protected] [mailto:[email protected]]
> > On Behalf Of Michael Nordman
> > Sent: Tuesday, March 03, 2009 10:22 PM
> > To: [email protected]
> > Subject: [gears-users] Re: Files is manifest not copied
> >
> >
> > See
> >
> http://code.google.com/apis/gears/api_localserver.html#ManagedResourceStor
> > e
> >
> > .oncomplete
> > .onerror
> > .updateStatus
> > .lastErrorMessage
> >
> > On Tue, Mar 3, 2009 at 2:17 PM, meerkat <[email protected]> wrote:
> > >
> > >  try
> > >  {
> > >    var localServer = google.gears.factory.create('beta.localserver');
> > >  } catch (ex)
> > >  {
> > >    setText('Could not create local server: ' + ex.message);
> > >    return;
> > >  }
> > >  try
> > >  {
> > >  var store = localServer.createManagedStore("ABC_STORE");
> > >  store.manifestUrl = 'testManifest.json';
> > >  store.checkForUpdate();
> > >  setText('Local Store Created');
> > >  }
> > >  catch(e)
> > >  {
> > >          setText('Could not create Local Store: ' + e.message);
> > >          return;
> > > }
> > >
> > > Hello,
> > > I have the standard code above for creating localserver and
> > > managedresourcestore. I am getting the successful messages, the local
> > > server is created but the files in the manifest are not being copied
> > > over.( For testing purposes I only have a few files in the store to
> > > start with.)
> > >
> > > Any suggestions on to what might be (or not) happening?
> > > Thanks,
> > > meerkat
> > >

Reply via email to