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.
On Sun, Feb 23, 2014 at 6:21 PM, Vincent Yeh <[email protected]> wrote:
> 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
>
>
> On Monday, February 24, 2014 10:07:41 AM UTC+8, Vincent Yeh wrote:
>>
>> 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. loadOriginaltw.2.8.1.min.js:306
>> 4. saveChangestw.2.8.1.min.js:309
>> 5. TWted.saveChangestw.ted.min.js:115
>> 6. 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=h
>> ttp://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
>>
>> On Sunday, February 23, 2014 8:55:06 AM UTC+8, PVHL wrote:
>>>
>>> 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.
>>>
>>>
>>> On Fri, Feb 21, 2014 at 8:21 PM, Vincent Yeh <[email protected]> wrote:
>>>
>>>> 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
>>>>
>>>> On Saturday, February 22, 2014 8:34:15 AM UTC+8, PVHL wrote:
>>>>>
>>>>> @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.
>>>>>
>>>> --
>>>> 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
>>>> [email protected].
>>>> To post to this group, send email to [email protected].
>>>> Visit this group at http://groups.google.com/group/tiddlywiki.
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>
>>> --
> 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
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/groups/opt_out.
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.