[tw] Re: Keeping TiddlyWiki open in Chrome for longer time disables saving

2012-01-05 Thread HansBKK
It's always a good idea to try your friend 
Googlefor general-interest 
questions 

Also see here 





-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/MK_r86B7E9sJ.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Keeping TiddlyWiki open in Chrome for longer time disables saving

2012-01-05 Thread Lappie
Hi,

Thanks for your suggestions. Could you help me a bit more by
specifying where/how to find the java console and javascript console?

Thanks!

On Jan 5, 9:53 am, Grmble  wrote:
> Hi,
>
> I've never seen this specific behaviour but this would be my approach
>
> * try to get into the console of the java plugin. See if any errors
> show up there, or maybe the console thing is there and disappears
> after a while? Maybe that's when the saving stops working
> * in chrome's javascript console: once the behaviour is broken, what
> happens if you try to access document.applets['TiddlySaver'] ?  If you
> still get a valid object, you can also try
> document.applets['TiddlySaver'].loadFile("someexistingfile",
> "UTF-8") ... the error messages will most likely not tell you much,
> but something useful show up in the java console.  If loading works
> also try document.applets['TiddlySaver'].saveFile("DOESNOTEXIST",
> "UTF-8", "some text").
> * the low-tech approach/workaround would be to press F5 after coming
> back to the tab after some time ... I'd probably forget to do this a
> lot and hack some reload mechanism into the TiddlyWiki
>
> Kind regards,
> Juergen

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Keeping TiddlyWiki open in Chrome for longer time disables saving

2012-01-05 Thread Grmble
Hi,

I've never seen this specific behaviour but this would be my approach

* try to get into the console of the java plugin. See if any errors
show up there, or maybe the console thing is there and disappears
after a while? Maybe that's when the saving stops working
* in chrome's javascript console: once the behaviour is broken, what
happens if you try to access document.applets['TiddlySaver'] ?  If you
still get a valid object, you can also try
document.applets['TiddlySaver'].loadFile("someexistingfile",
"UTF-8") ... the error messages will most likely not tell you much,
but something useful show up in the java console.  If loading works
also try document.applets['TiddlySaver'].saveFile("DOESNOTEXIST",
"UTF-8", "some text").
* the low-tech approach/workaround would be to press F5 after coming
back to the tab after some time ... I'd probably forget to do this a
lot and hack some reload mechanism into the TiddlyWiki

Kind regards,
Juergen

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.