10 Replies to “DeltaSync HU01 decompression code released”

  1. Hi Daniel,
    I’m not a programmer but I’m curious about what you’re doing with DeltaSync. I tried to run your routine but got the following error:

    esi_ptr<source_ptr

    ** 1B966 **
    ERROR: decompression failed. Expected 1085470 decompressed bytes, got -6

    What basic mistake have I made?

    Cheers,

    Tom

  2. Hi Tom,

    did you try the sample HU01 file that came with the app, or did you create a new one?
    If you created a new one it would be really helpful to send me a copy and I’ll see what I can do.

    Also, what sort of processor does your machine have? If it is a PPC then the code may not work as expected due to endian issues.

    Daniel

  3. Hi Daniel,

    I used the sample you put with the application and, silly me, I was running Linux at the time. The decompression works fine when I switch to the Mac.

    What’s the next step?

    Tom

  4. I’ll have to give it a go under Linux and see what I can do about fixing the code.
    The code just handles the decompression of the HU01 compressed messages. To make a full Windows Live mail client is a different project. I’ve been looking at making a Mac Mail plugin for 10.6. It should also be possible to make a plugin for other mail systems.

  5. Thanks, Daniel. Whilst you’re doing that 😉 can you tell me how to go about making an HU01 file to further test your code?
    Tom

  6. I use the results of a packet capture to extract the HU01 data. I have several HU01 files here I use for testing, but as they are from my personal email they are not appropriate to share with the world 😉

  7. Hi,

    I also got the “esi_ptr<source_ptr" error in Linux. To make it work I changed the code starting at line 639:

    if(esi_ptr<source_ptr) {
    printf("esi_ptr<source_ptr\n");
    goto L_1B966;
    }

    into

    if(esi_ptr<destination_ptr) {
    printf("esi_ptr<destination_ptr\n");
    goto L_1B966;
    }

    I have no idea if this is correct but it seems to work for the test.hu01 file at least.

  8. Hello,

    I am an engineer for a brand new email system that is coming out. We have some questions in regards to this code work. Do you do any consulting? If so, please let me know.

    Thank you in advance for your time and consideration.

    Regards,
    Jo

  9. Hi Daniel,

    When i tried to execute downloadMessageContent() i got the following error.
    Exception in thread “main” java.lang.ClassFormatError: Invalid pc in LineNumberTable in class file main/java/com/googlecode/jdeltasync/hu01/HU01
    I was debug this and found that it is problem with HU01Decompressor and HU01 classes.
    I have been trying this for 3 days and no forward step. Can you please help me out.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.