Keeping TiddlyWiki open in Chrome for longer time disables saving

37 views
Skip to first unread message

Lappie

unread,
Jan 4, 2012, 2:37:41 AM1/4/12
to TiddlyWiki
Hi!

Chrome is my main browser and as such I use it to work in/on my
TiddlyWiki. I have all the commandline options in place as well as the
TiddlySaver jar. So, principally, everything rocks and saving works.

However, when I keep the TiddlyWiki open for a while and then add/
change a Tiddler, I get the usual message that something's out of
order making it impossible to save the document.

I haven't been able to pinpoint what "a while" is:
- it is not related to sleeping/hibernating the (work) laptop
- it is not related to minimizing (not on foreground) of the chrome
window
- i'm not really sure whether it is really a timing (ie. < 15min good;
>15 min bad) issue
- i cannot remember when this started to happen but let's say in early
autumn 2011 it still worked but in late autumn/winter it didn't
anymore (Chrome update?)


I'm really at a loss here and because I'm regularly editing the wiki,
it is becoming rather annoying.


While I was writing this post, I realized that saving in chrome is all
about the java jar file. Could there be some policy change either in
Java or in Chrome (or perhaps even as part of the company policy my
laptop is in?) that is related to keeping certain java applets/
thingy's alive in Chrome?


Thanks for all the suggestions and help!

Grmble

unread,
Jan 5, 2012, 3:53:20 AM1/5/12
to TiddlyWiki
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

Lappie

unread,
Jan 5, 2012, 5:43:24 AM1/5/12
to TiddlyWiki
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!

HansBKK

unread,
Jan 5, 2012, 6:20:18 AM1/5/12
to tiddl...@googlegroups.com
It's always a good idea to try your friend Google for general-interest questions

Also see here





Reply all
Reply to author
Forward
0 new messages