TiddlySaver is now timestamped and signed

664 views
Skip to first unread message

PVHL

unread,
Feb 9, 2014, 10:31:45 PM2/9/14
to tiddl...@googlegroups.com
I've posted a newly timestamped Tiddlysaver jar to the same location as before (to avoid version confusion). The advantage of the new jar is that when the current certificate expires the jar should keep working. Other than the timestamp nothing has changed from the previous signed version (see my previous post for details).

Again, it would be useful to receive feedback on this. Perhaps "no news is good news", but it would be good to hear back on issues and successes so the new jar and instructions can be added to the official repository and lose its Beta status.

Cheers, Paul.

Grant

unread,
Feb 20, 2014, 2:32:07 AM2/20/14
to tiddl...@googlegroups.com
Hi Paul,

Works fine, Java 7.51 installed and my old Tiddlywiki (don't know what version, but not too out of date) continues to save in Chrome.  Thank you very much!

Grant

Scott Arnold

unread,
Feb 21, 2014, 11:11:15 AM2/21/14
to tiddl...@googlegroups.com
I've been waiting for this for months ever since the java update that froze my TWC. Have since been dabbling in TW5, but this is fantastic!

Also using Chrome, Java 7.51
Thanks!

PVHL

unread,
Feb 21, 2014, 7:34:15 PM2/21/14
to tiddl...@googlegroups.com
@grant, @scott

Thank you for the reports of successful use. Thank you also for your encouraging words. I'm very glad to have helped.

Cheers, Paul.

Vincent Yeh

unread,
Feb 21, 2014, 11:21:10 PM2/21/14
to tiddl...@googlegroups.com
Hi Paul,

Thank you very much for the efforts. It is great that it works again. I tried it with Chrome 30.0.1599.101/Ubuntu 13.10 (kernel 3.11.0-17-generic), using Java 7.0_51, it does show the "Main TiddlyWiki file saved" message box when I clicked the "save changes" command. However, when I reload it, it shows the unsaved version. It seems the saving did not succeed! It could be some settings unrelated to TiddlySaver.jar but I don't really know. Any help would be appreciated.

Have fun!
Vincent

Paul Levey

unread,
Feb 22, 2014, 7:55:06 PM2/22/14
to tiddl...@googlegroups.com
Hi Vincent.

I can't currently replicate your setup, but am wondering:

1) Which version of TWC are you using?
2) Do you see any error message in the JavaScript console?
3) Can you call javaDebugInformation() from the console and post the result?
4) Can you open the Java console and post the log from loading

Regards, Paul.


--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/lNZHPtVmXK8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Vincent Yeh

unread,
Feb 23, 2014, 9:07:41 PM2/23/14
to tiddl...@googlegroups.com
Dear Paul,

Thanks for the quick reply and the hint. Here is what I am using and have observed.

1) I am using TW 2.8.1
2) Yes, every time I pressed "save changes" I see the following message in console.
  1. XMLHttpRequest cannot load file:///C%3A%5CUsers%5CUser%5CDropbox%5Cpublic_html%5Cwcy2.work.html. Cross origin requests are only supported for HTTP. wcy2.work.html:110
    1. injectedLoadFilewcy2.work.html:110
    2. window.loadFiletw.2.8.1.min.js:319
    3. TWted.saveChangestw.ted.min.js:115
    4. config.macros.saveChanges.onClick
3) Yes, I got this
javaDebugInformation()
"Java Version: 1.7.0_51 Last Exception: TypeError: Cannot call method 'call' of undefined Last Exception Stack Trace: null System Properties: -- listing properties -- file.encoding.pkg=sun.io __applet_launched=962892978 user.language.format=zh deployment.security.use.user.home.java.policy=false java.home=C:\Program Files (x86)\Java\jre7 deployment.security.askgrantdialog.notinca=true java.vendor.applet=true deployment.system.security.trusted.jssecerts=C:\Program Files (x86)\Java\jre7\lib\... deployment.expiration.check.enabled=true deployment.console.startup.mode=HIDE java.endorsed.dirs=C:\Program Files (x86)\Java\jre7\lib\... deployment.security.sandbox.jnlp.enhanced=true deployment.system.security.blacklist=C:\Program Files (x86)\Java\jre7\lib\... deployment.javaws.concurrentDownloads=4 deployment.modified.timestamp=1391349362375 deployment.security.sandbox.awtwarningwindow=true sun.os.patch.level= java.vendor.url=http://java.oracle.com/ acl.write.default= deployment.security.blacklist.check=true deployment.user.security.trusted.jssecacerts=C:\Users\User\AppData\LocalLow\Sun\Ja... java.version=1.7.0_51 deployment.javapi.trace.filename= package.restrict.access.org.mozilla.jss=true deployment.max.output.file.size=10 java.vendor.url.bug=http://bugreport.sun.com/bugreport/ deployment.user.security.trusted.cacerts=C:\Users\User\AppData\LocalLow\Sun\Ja... java.version.applet=true java.protocol.handler.pkgs=sun.plugin.net.protocol|com.sun.deplo... deployment.user.tmp=C:\Users\User\AppData\LocalLow\Sun\Ja... user.name=User deployment.user.logdir=C:\Users\User\AppData\LocalLow\Sun\Ja... sun.io.unicode.encoding=UnicodeLittle deployment.browser.path=C:\WINDOWS\system32\OpenWith.exe sun.net.client.defaultConnectTimeout=120000 deployment.cache.max.size=-1 sun.jnu.encoding=MS950 java.runtime.name=Java(TM) SE Runtime Environment javaplugin.version=10.51.2.13 java.vendor.url.applet=true deployment.user.security.exception.sites=C:\Users\User\AppData\LocalLow\Sun\Ja... browser.vendor=Oracle os.version.applet=true os.name.applet=true java.specification.name=Java Platform API Specification mrj.version.applet=true deployment.security.mixcode=ENABLE user.timezone=Asia/Taipei deployment.browser.vm.mozilla=true deployment.security.SSLv3=true deployment.proxy.override.hosts= user.script= path.separator=; deployment.javaws.installURL=http://java.sun.com/products/autodl/j2se __jvm_launched=962908269 file.encoding=MS950 sun.java.command=sun.plugin2.main.client.PluginMain wr... browser.version=1.1 deployment.javapi.log.filename= deployment.user.cachedir=C:\Users\User\AppData\LocalLow\Sun\Ja... deployment.macosx.check.update=true javaplugin.vm.options= deployment.user.security.blacklist.dynamic=C:\Users\User\AppData\LocalLow\Sun\Ja... deployment.javaws.cache.update=false deployment.security.validation.crl=true java.io.tmpdir=C:\Users\User\AppData\Local\Temp\ package.restrict.definition.java=true deployment.version=7.21 sun.awt.warmup=true user.language=ja package.restrict.access.netscape=false package.restrict.access.com.sun.deploy=true deployment.baseline.url=https://javadl-esd-secure.oracle.com/... line.separator= deployment.system.tray.icon=false deployment.user.security.policy=file:/C:/Users/User/AppData/LocalLow/... java.vm.info=mixed mode, sharing sun.desktop=windows java.vm.specification.name=Java Virtual Machine Specification sun.net.http.errorstream.enableBuffering=true deployment.max.output.files=5 java.class.version.applet=true deployment.security.disable=false deployment.update.mime.types=true deployment.security.browser.keystore.use=true deployment.security.jsse.hostmismatch.warning=true deployment.system.security.cacerts=C:\Program Files (x86)\Java\jre7\lib\... deployment.proxy.type=3 deployment.user.security.sandbox.certs=C:\Users\User\AppData\LocalLow\Sun\Ja... deployment.user.security.trusted.jssecerts=C:\Users\User\AppData\LocalLow\Sun\Ja... deployment.security.password.cache=true deployment.javaws.shortcut=ASK_IF_HINTED java.awt.printerjob=sun.awt.windows.WPrinterJob deployment.security.https.warning.show=false deployment.proxy.bypass.local=false user.country.format=TW deployment.security.permissions.manifest.required=true http.auth.serializeRequests=true line.separator.applet=true com.sun.security.enableCRLDP=true path.separator.applet=true deployment.javaws.logFileName= os.name=Windows 8 java.specification.vendor=Oracle Corporation deployment.javaws.uninstall.shortcut=false deployment.system.security.jssecacerts=C:\Program Files (x86)\Java\jre7\lib\... deployment.system.security.oldcacerts=C:\Program Files (x86)\Java\jre7\lib\... java.vm.name=Java HotSpot(TM) Client VM java.quick.starter=false deployment.security.askgrantdialog.show=true sun.awt.enableExtraMouseButtons=true java.library.path=C:\Program Files (x86)\Java\jre7\bin;... os.arch.applet=true java.class.version=51.0 deployment.control.panel.log=false browser=sun.plugin deployment.system.security.trusted.clientauthcerts=C:\Program Files (x86)\Java\jre7\lib\... deployment.trace=false deployment.security.clientauth.keystore.auto=true deployment.security.validation.ocsp=true deployment.javapi.cache.update=false deployment.browser.vm.iexplorer=true deployment.cache.jarcompression=0 package.restrict.definition.netscape=true package.restrict.definition.sun=true deployment.system.security.trusted.libraries=C:\Program Files (x86)\Java\jre7\lib\... package.restrict.definition.com.sun.deploy=true deployment.security.validation.ocsp.publisher=false deployment.javaws.update.timeout=1500 sun.boot.library.path=C:\Program Files (x86)\Java\jre7\bin deployment.blacklisted.certs.url=https://javadl-esd-secure.oracle.com/... sun.management.compiler=HotSpot Client Compiler package.restrict.definition.org.mozilla.jss=true java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment deployment.user.extdir=C:\Users\User\AppData\LocalLow\Sun\Ja... user.variant= deployment.system.security.trusted.certs=C:\Program Files (x86)\Java\jre7\lib\... deployment.system.security.oldjssecacerts=C:\Program Files (x86)\Java\jre7\lib\... deployment.proxy.same=false deployment.security.authenticator=true deployment.javaws.traceFileName= deployment.user.security.trusted.clientauthcerts=C:\Users\User\AppData\LocalLow\Sun\Ja... java.vm.specification.version=1.7 deployment.user.security.blacklist=C:\Users\User\AppData\LocalLow\Sun\Ja... deployment.system.cachedir=C:\Users\User\AppData\LocalLow\Sun\Ja... awt.toolkit=sun.awt.windows.WToolkit sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+m... java.ext.dirs=C:\Program Files (x86)\Java\jre7\lib\... acl.read.default= http.agent=Mozilla/4.0 (Windows 8 6.2) os.version=6.2 deployment.security.sandbox.casigned=PROMPT user.home=C:\Users\User deployment.user.security.trusted.certs=C:\Users\User\AppData\LocalLow\Sun\Ja... trustProxy=true java.vm.vendor=Oracle Corporation deployment.javafx.mode.enabled=true deployment.javapi.lifecycle.exception=false deployment.javaws.install=IF_HINT package.restrict.access.sun=true user.dir=C:\Program Files (x86)\Google\Chrome\... deployment.security.local.applets=PROMPT deployment.cache.enabled=true deployment.blacklist.url=https://javadl-esd-secure.oracle.com/... deployment.security.run.untrusted=PROMPT sun.cpu.endian=little deployment.security.revocation.check=ALL_CERTIFICATES acl.write=+ deployment.security.notinca.warning=true java.vm.version=24.51-b03 deployment.security.trusted.policy= java.class.path=C:\Program Files (x86)\Java\jre7\classes os.arch=x86 deployment.javapi.stop.timeout=200 deployment.mime.types.use.default=true javaplugin.nodotversion=10512 java.rmi.server.RMIClassLoaderSpi=sun.plugin2.applet.JNLP2RMIClassLoade... javawebstart.version=javaws-10.51.2.13 deployment.capture.mime.types=false sun.java.launcher=SUN_STANDARD deployment.security.TLSv1=true deployment.insecure.jres=PROMPT deployment.jpi.mode.new=true deployment.security.sandbox.selfsigned=PROMPT deployment.javaws.muffin.max=256 https.protocols=TLSv1,SSLv3 deployment.log=false java.vm.specification.vendor=Oracle Corporation file.separator=\ java.runtime.version=1.7.0_51-b13 sun.boot.class.path=C:\Program Files (x86)\Java\jre7\lib\... deployment.security.level=MEDIUM deployment.user.security.trusted.libraries=C:\Users\User\AppData\LocalLow\Sun\Ja... user.country=JP acl.read=+ deployment.security.SSLv2Hello=false deployment.javapi.runtime.type=0 deployment.javaws.associations=ASK_USER deployment.security.TLSv1.2=false deployment.webjava.enabled=true deployment.security.TLSv1.1=false java.vendor=Oracle Corporation file.separator.applet=true java.specification.version=1.7 deployment.user.security.blacklisted.certs=C:\Users\User\AppData\LocalLow\Sun\Ja... deployment.user.security.saved.credentials=C:\Users\User\AppData\LocalLow\Sun\Ja... sun.arch.data.model=32 "
4) Well, with FireFox I can easily see the log upon loading, but with Chrome I don't know where to find it... If that is necessary, I will try again.

Have fun!
Vincent

Vincent Yeh

unread,
Feb 23, 2014, 9:21:53 PM2/23/14
to tiddl...@googlegroups.com
Oh, forgot to mention that these was done on a Windows 8.1 machine with Chrome 33.0.1750.117 m using Java 1.7.0_51 (I am at work, the Ubuntu is home). Same thing happens as when I was using the Ubuntu box: I see the "Main file saved" message but it's not really saved.

Have fun!
Vincent

Paul Levey

unread,
Feb 24, 2014, 9:54:11 PM2/24/14
to tiddl...@googlegroups.com
Thanks Vincent.

The result from javaDebugInformation shows TS is loaded, though not that security settings are OK. Still, the signed jar shouldn't need extra permission and should warn if it does.

1) Did it used to work on these boxes?

2) Could you move a copy of the file and TS.jar to an ordinary folder and try again please? It looks like you're using a Dropbox folder (on both machines?) and I've no idea if the latest Java has problems with that; I don't currently use the Dropbox drivers nor have I tested with them.

3) BTW, the #2 error message is probably not an issue here; it just means a load method failed that was tried before Java.

It looks like TS is not reporting an exception to TW or TW is silently ignoring it. It may be that it is the load that is failing, not the save.

It would be good to see the trace from the Java console. There are various ways of accessing this, but I'm still using Windows 7 so I don't know 8. On 7 I can find the Java icon in the 'hidden icons' area of the taskbar and right click to choose the console. The Java control panel, accessed the same way, allows the console to automatically open ('Advanced' settings).

Cheers, Paul.

Paul Levey

unread,
Feb 25, 2014, 2:31:54 PM2/25/14
to tiddl...@googlegroups.com
@Vincent

Since writing I discovered there is a spelling mistake in the TWC code so:

Last Exception: TypeError: Cannot call method 'call' of undefined

is actually because of the reporting bug and not related to your problem (thankfully! And sorry; I've not looked at that area of the TW code before and didn't realize that particular function was buggy).

I imagine the result will be empty, but could you post the result of this call (if any):

document.applets['TiddlySaver'].getLastErrorMsg()

(As well as trying to use the file from a normal folder and posting the loading log from the Java console. Appreciate your help in looking at this.)

Cheers, Paul.

Eric Shulman

unread,
Feb 25, 2014, 2:36:47 PM2/25/14
to tiddl...@googlegroups.com
On Tuesday, February 25, 2014 11:31:54 AM UTC-8, PVHL wrote:
Since writing I discovered there is a spelling mistake in the TWC code so:
Last Exception: TypeError: Cannot call method 'call' of undefined
is actually because of the reporting bug and not related to your problem (thankfully! And sorry; I've not looked at that area of the TW code before and didn't realize that particular function was buggy).

If you haven't already done so, please open a Github ticket here:
Describe how to reproduce the problem and the specific code that needs to be fixed, so we can include it in a future TWClassic update (TWC 2.8.2).

-e





Paul Levey

unread,
Feb 25, 2014, 6:44:48 PM2/25/14
to tiddl...@googlegroups.com
Hi Eric.

I already created a pull request with the change -- just a misspelling of a function name that has hidden for a while.


Paul Levey

unread,
Feb 25, 2014, 6:57:40 PM2/25/14
to tiddl...@googlegroups.com
@Eric

I created the pull request right after writing to Vincent but didn't notice you had written only minutes after I wrote to him. It took a while as my first attempt was accidently created off the wrong branch but it should be correct now (no TiddlySaver changes included). Let me know if anything needs to be done differently as I'm still new to GitHub processes.

Cheers, Paul.

Vincent Yeh

unread,
Feb 25, 2014, 7:24:21 PM2/25/14
to tiddl...@googlegroups.com
Hi Paul,

Thanks a lot for the help. I am busy preparing for a few events to come in the next few weeks. The nearest one is next weekend (a long weekend here), not sure if I can find time on this before tha but I will try and post the results here as soon as I get them

Have fun!
Vincent

Paul Levey

unread,
Feb 25, 2014, 9:04:47 PM2/25/14
to tiddl...@googlegroups.com
No worries Vincent.

My guess is there's a problem with Dropbox compatibility given it's working everywhere else. If I get a chance sometime I'll try installing the drivers and see what happens.

Cheers.


Vincent Yeh

unread,
Mar 9, 2014, 11:14:23 AM3/9/14
to tiddl...@googlegroups.com
Paul,

I think the problem is likely not in TiddlySaver.jar because it works with an empty tiddlywiki file. It works within the Dropbox folder so it has nothing to do with dropbox, either. After trying with more of my TW files I realized that it fails only with some of them and works with others. I don't know the actual cause yet but at this moment I think it's not the TiddlySaver but something else in my files. I will look into them more carefully and see what went wrong when I have time. I should have tried more files before posting my reply, sorry about that :-). Thanks a lot for your time and help.

Have fun!
Vincent

Paul Levey

unread,
Mar 9, 2014, 10:48:53 PM3/9/14
to tiddl...@googlegroups.com
Thanks for the report Vincent. It would be very useful to know what you discover.

Perhaps you could take the shortest file and start adding its tiddlers to an empty TW until it fails to save, then we'll know what the problem is. I haven't been able to replicate this.


For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages