Shiny New E-Book Gizmo: The Amazon Kindle


View Full Version : Sunrise 0.40-pre4 released


Laurens
01-02-2005, 09:18 AM
I just released Sunrise 0.40-pre4 (http://laurens.typepad.com/sunrise/2005/01/sunrise_040_pre.html). The big new feature in this release is that the conduit can now update documents during HotSync.

ENIX
01-02-2005, 09:51 AM
I really appreciate your hard work!!! But I got the following message when I try to run the new version. What's wrong?

Application error:
java.lang.UnsatisfiedLinkError: no sunrise-conduit in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.distantchord.sunrise.apps.Conduit.<clinit>(Unknown Source)
at aq.A(Unknown Source)
at aq.<init>(Unknown Source)
at com.distantchord.sunrise.apps.Desktop.e(Unknown Source)
at com.distantchord.sunrise.apps.Desktop.main(Unknown Source)

ENIX
01-02-2005, 10:01 AM
I find the answer. I can run the pre4 now after selected the full install option and reinstalled.
And I can read the chinese on plucker right now without the messy "?", thanks a lot.

Laurens
01-02-2005, 10:11 AM
Thanks for letting me know. I made a mistake in the setup file. This happens when you don't install the conduit.

You can either install the conduit with the existing setup file, or download the updated setup file (which I just uploaded) and install without the conduit.

ENIX
01-03-2005, 12:35 AM
thanks a lot!

ENIX
01-03-2005, 01:33 AM
Sorry to bother you again. When I try to catch some chinese web page, I got messy codes sometimes. After checking the souce code of the web page, I found that this problem exists when there is no "<meta http-equiv="Content-Type" content="text/html; charset=gb2312">" in the source code. So could you please improve the sunrise's abillity to detect the charset of the web page? Thanks again....

Laurens
01-03-2005, 02:52 AM
Sorry to bother you again. When I try to catch some chinese web page, I got messy codes sometimes. After checking the souce code of the web page, I found that this problem exists when there is no "<meta http-equiv="Content-Type" content="text/html; charset=gb2312">" in the source code. So could you please improve the sunrise's abillity to detect the charset of the web page? Thanks again....

Well, detecting the correct charset just by looking at the raw bytes, without a <meta> tag or Content-Type HTTP header, is far from easy. I tried using the Java port of the Mozilla charset detector way back in Sunrise 0.1 and found that in the majority of cases it fails to detect the correct charset. The only way to resolve this is to tell Sunrise explicitly which charset the page is using. Will add this option in the next prerelease.

Laurens
01-03-2005, 11:43 AM
ENIX, I just released Sunrise 0.40 pre5 (http://laurens.typepad.com/sunrise/2005/01/sunrise_040_pre_1.html). This version lets you specify the input encoding.

radleyp
01-03-2005, 12:44 PM
I just installed this, and it works. I have deleted AvantGo, as this makes it completely superfluous. Thank you for your marvelous work. Philippe Radley

strat
01-03-2005, 01:31 PM
Hey Laurens,

It's me again with my ongoing attempts to get things going on my XP machine. I tried pre5 and had the same problems so I decided to go back to the earlier versions. I installed .36d and had the same issue with Sunrise closing down when I tried to add a new item or open document list. The i uninstalled that one and installed .3 that I had dl'd back in September. Well wouldn't you know it, it works!!. So it seems some change between .3 and .36d messed things up for me. I also have version .36c so I will try that to narrow it down more but I thought this might give you an idea as to what my issue might be.

Thanks and Happy New Year,
Dave

Laurens
01-03-2005, 02:12 PM
It's me again with my ongoing attempts to get things going on my XP machine. I tried pre5 and had the same problems so I decided to go back to the earlier versions. I installed .36d and had the same issue with Sunrise closing down when I tried to add a new item or open document list. The i uninstalled that one and installed .3 that I had dl'd back in September. Well wouldn't you know it, it works!!. So it seems some change between .3 and .36d messed things up for me. I also have version .36c so I will try that to narrow it down more but I thought this might give you an idea as to what my issue might be.

Well, this hint does narrow it down a bit. Most likely, it's a DLL linking issue.

You can try this version of the HotSync DLL. This one should either work or fail with a NullPointerException message, rather than crash outright:

jni-hotsync.zip (http://laurens.typepad.com/sunrise/jni-hotsync.zip)

If this all fails, you can also try copying "instaide.dll" and "userdata.dll" from the HotSync Mgr directory to the Sunrise install directory.

Alexander Turcic
01-03-2005, 06:37 PM
Laurens, do you ever sleep? Seriously, I have never seen any product being developed and improved *that* fast!

mobilepilot
01-04-2005, 04:49 AM
I have yet to find a developer as responsive to the needs of users as Laurens is. His work with JPluck was outstanding and he has carried on the same way with Sunrise. He deserves every success.

ENIX
01-04-2005, 05:46 AM
It works, thanks! You are best developer I've ever seen.

ENIX
01-05-2005, 05:25 AM
Hi, I am back again. I got the following message when I update one of my document:
""Text record data size exceeds maximum of 30000 fttp://......."
What's wrong?

Laurens
01-05-2005, 05:53 AM
Enix, which URL is this?

Laurens
01-05-2005, 08:25 AM
Enix, if the document in question contains one or more plain text pages, I may have already resolved the issue in 0.40-pre7 (http://laurens.typepad.com/sunrise/2005/01/sunrise_040_pre_3.html).

geckotek
01-09-2005, 12:58 AM
If this all fails, you can also try copying "instaide.dll" and "userdata.dll" from the HotSync Mgr directory to the Sunrise install directory.

I've been struggling with the same issue. Nothing worked until I tried this.


Edit: and now that I seem to have Sunrise working, I can't seem to figure out how to get the docs to my Treo. I see the Sunrise conduit is enabled and I actually saw it take some time to upload, yet I see no docs in Plucker. Can you give me a hint what to check to make sure they are there?

geckotek
01-09-2005, 12:18 PM
Not sure what I did, but one thing I did was upgrade to PR10 (which may have replaced the hotsync dll you uploaded earlier to the original) and things are now working. Time to start checking this out now. THX!