Open edrex opened 9 years ago
On the console there are more errors:
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://docs.google.com') does not match the recipient window's origin ('http://explorer.okfnlabs.org'). rpc.js?c=1&container=onepick:449
Invalid 'X-Frame-Options' header encountered when loading 'https://docs.google.com/picker?protocol=gadgets&origin=http%3A%2F%2Fexplore…dsheets%22))&rpctoken=bibox2efl6l1&rpcService=s73i6i9q4lkm&thirdParty=true': 'ALLOW-FROM http://explorer.okfnlabs.org' is not a recognized directive. The header will be ignored. about:blank:1
Uncaught ReferenceError: init is not defined VM204 picker?protocol=gadgets&origin=http%3A%2F%2Fexplorer.okfnlabs.org&hostId=explorer.okfnlabs.or…:3
Uncaught SyntaxError: Unexpected end of input model.js:358
Is this because Chrome 38
has a more restrictive Cross-Origin policy than before?
Evidently that header isn't supported by Chrome/Safari
Anyway the same error is shown on Firefox, with different console output:
SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data model.js:358
ReferenceError: init is not defined picker:1
"Invalid rpc message origin. vs http://explorer.okfnlabs.org" rpc.js:128
@edrex I suspect this is the same issue as https://github.com/okfn/timemapper/issues/138 - i.e. to do with google updating their api some months ago. Frankly, I think we just remove gdrive selector stuff and people can just paste a gdocs url (and then we prompt them to publish to the web!).
So action is: remove gdrive icon stuff - if you want to have a go let me know - o/w i can.
On http://explorer.okfnlabs.org/#load , clicking the Google Drive icon yields an error:
Invalid credentials (missing or invalid oAuth token)
Is this because of a missing configuration value?