OWL
OWL copied to clipboard
Problem with Safari
Heard there's a problem with OWL on Safari on a Mac. Seems to be some kind of javascript problem. Installation works fine on Firefox on same machine.
Can any Mac owners tell me more?
If I check out a clean repo and open index.html I get:
ReferenceError: initLocalStorage is not defined
in all three of Chrome Canary, Webkit nightlies (dev safari), and Firefox.
Is there some better replication strategy that will get past that?
The version on thoughtstorms seems to work okay, apparently the made index.html
is missing quite a lot of code.
Seems to work okay in Safari.
Ouch! Yes, that's very broken isn't it?
I've been fiddling with the python-served version, must have let the stand-alone page get out of sync. :-(
Let me double check the differences and update.
Thanks very much. Are you saying the Python served version is OK in Safari or just the version hosted on thoughtstorms?
cheers
Phil
On 10 January 2014 20:31, Chris Dent [email protected] wrote:
The version on thoughtstorms seems to work okay, apparently the made index.html is missing quite a lot of code.
Seems to work okay in Safari.
— Reply to this email directly or view it on GitHubhttps://github.com/interstar/OWL/issues/1#issuecomment-32073274 .
Thanks very much. Are you saying the Python served version is OK in Safari or just the version hosted on thoughtstorms?
I only tested the version on thoughtstorms not a locally running server.
OK ... that was an old call that was left-over in the standalone version. Now fixed and pushed back to github.
Running index.html locally should now work . (Thanks again.)
I believe it was the python served version that was giving the Safari error ... wondering if it's a permissions thing. Or maybe some other kind of Safari fussiness.
Phil
On 10 January 2014 20:57, Chris Dent [email protected] wrote:
Thanks very much. Are you saying the Python served version is OK in Safari or just the version hosted on thoughtstorms?
I only tested the version on thoughtstorms not a locally running server.
— Reply to this email directly or view it on GitHubhttps://github.com/interstar/OWL/issues/1#issuecomment-32075353 .
Yeah, so the new index.html works fine.
And when I run the web version in chrome it works and in safari I see:
[Error] TypeError: undefined is not an object (evaluating 'n.innerHTML.replace')
(anonymous function) (jquery-1.9.1.min.js, line 4)
which appears to be getting called from pageStore.js and line 99 or 97.
Thanks for looking at this Chris.
Will try to grab a Mac tomorrow to find out what's going wrong here.
regards
Phil
P
On 12 January 2014 12:16, Chris Dent [email protected] wrote:
Yeah, so the new index.html works fine.
And when I run the web version in chrome it works and in safari I see:
[Error] TypeError: undefined is not an object (evaluating 'n.innerHTML.replace') (anonymous function) (jquery-1.9.1.min.js, line 4)
which appears to be getting called from pageStore.js and line 99 or 97.
— Reply to this email directly or view it on GitHubhttps://github.com/interstar/OWL/issues/1#issuecomment-32123415 .
This doesn't seem to be Mac specific, I have the same problem here on Chrome/Win7, following Quick Start #2 : Basic Server. Unfortunately I am not enough of a JS whizz to see what the problem is.
OK. Thanks revivalizer. I'll look into that too.
OK. I've put what I think is a fix for the Safari bug. (It was basically happening when you tried to create a new page.)
This looks working to me, though would be great to get some confirmation. Also to see if this is now working on Windows Chrome / IE / Firefox.
In webkit nightlies I'm able to open up index.html, edit some outlines, create a link to a new page and navigate to that new page and carry on editing.
Thanks Chris. That sounds like it's what it should do :-)
On 13 February 2014 11:29, Chris Dent [email protected] wrote:
In webkit nightlies I'm able to open up index.html, edit some outlines, create a link to a new page and navigate to that new page and carry on editing.
Reply to this email directly or view it on GitHubhttps://github.com/interstar/OWL/issues/1#issuecomment-34977527 .