benlilaj / gears

Automatically exported from code.google.com/p/gears
0 stars 1 forks source link

"Getting Started" Tutorial broken: ../gears_init.js not found, tutorial_manifest.json not found #856

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Diagnosis: 

(a) the tutorial file go_offline.html specifies "../gears_init.js" but it
should specify "gears_init.js" (or direct the tutee to put gears_init.js
into a parent directory).

(b) the tutorial file go_offline.js initializes MANIFEST_FILENAME as
"tutorial_manifest.json", but according to the tutorial instructions, the
tutee should rename the manifest file to "manifest.json" beforehand.

Suggest Cure:

(a) change go_offline.html to link "gears_init.js" [and possibly make
tutorial/gears_init.js a symbolic link to ../gears_init.js on the Google
server if you do not want two copies]

(b) change the go_offline.js MANIFSET_FILENAME to "manifest.json" or change
the tutorial to omit the step to rename tutorial_manifest.json.

What steps will reproduce the problem?
1. Follow the instructions at http://code.google.com/apis/gears/tutorial.html

What is the expected output? What do you see instead?
a) "Yeay, Google Gears is installed." --> "NOTE: You must install Gears first."

b) "The documents are now available offline." --> "Error: Download of
[...]/tutorial_manifest.json failed>"

What version of the product are you using? On what operating system?

Version 0.5, Firefox 3.0.7, OS X Leopard.

Please provide any additional information below.

Original issue reported on code.google.com by tlhola...@gmail.com on 24 Mar 2009 at 7:19

GoogleCodeExporter commented 9 years ago
Fixed with CL 10737944.
- Removed instruction to rename manifest file.
- Added note about making sure that gears_init.js is referenced correctly.

Original comment by stevebl...@google.com on 7 Apr 2009 at 5:28