Giter Site home page Giter Site logo

Comments (4)

tmo1 avatar tmo1 commented on June 2, 2024 1

Also I'd like to apologise for my attitude earlier today. I was getting frustrated with everything failing and it got to my head. I understand creating a whole new debug output mode would be a big task and logcat probably does work for 99% of users, I just happened to have an unfortunate combo where it didn't work.

No offense taken! Usually (in my experience) online communication worsens tone, but in this case I just read it as a feature request :) As you note, though, it's not a trivial undertaking, so I'm not sure whether I'll actually do it.

Maybe a silent error occurred when I first exported it?

That's possible - see, e.g., issue #85

I'll close the issue now. Thanks for the help and the nice App.

Sure! I'm glad you seem to have gotten it working. Please report any further problems (or successes, if you want).

from sms-ie.

tmo1 avatar tmo1 commented on June 2, 2024

Thanks for the report!

I exported all of my SMS and MMS on my old phone with no issues. I tried importing them on my new phone and I consistently encounter this error after 530 SMSes.

How many SMSs and MMSs were actually exported / are actually present in the file? If the error is triggered after 530 SMSs, does that mean that no MMSs are imported?

This is the first time I'm encountering java.io.EOFException: End of input in connection to SMS I/E. I don't know what could be causing this error other than some kind of file corruption / truncation. If the error can be reproduced with a minimal export / import, I'd ask you to post a (sanitized) file that demonstrates the error.

Would be nice if there was an in-app option to output the logs to a file instead.

I'll consider implementing that in the future

from sms-ie.

Protofall avatar Protofall commented on June 2, 2024

I exported 9067 SMSes and 297 MMSes. When I went to import it tries SMSes first, fails, and never attempts MMSes.

I didn't check the exported file before, but now that I look at it, there might actually be an issue with the export instead. I ran this command to see if the json syntax is even valid and got this:

python -mjson.tool "messages-2023-04-16.json"
Expecting object: line 14888 column 1 (char 385023)

And sure enough, the file just ends, seemingly mid-object. Note how the final field in the object should be "display_name" or "resent_im"
image

Also I'd like to apologise for my attitude earlier today. I was getting frustrated with everything failing and it got to my head. I understand creating a whole new debug output mode would be a big task and logcat probably does work for 99% of users, I just happened to have an unfortunate combo where it didn't work.

from sms-ie.

Protofall avatar Protofall commented on June 2, 2024

I just tried a new export from my original phone and this time I get 275675 lines and the syntax is valid. I haven't tried importing it yet, but I think this will work.

I'm not sure why the original JSON file was broken, I only have two theories on it:

  • Maybe a silent error occurred when I first exported it?
  • Maybe the file got corrupted when I transfered it from my old phone to my PC. Windows didn't have a "file copy GUI" when I copied it, so I waited a bit and assumed it finished transferring, but maybe it didn't.

Unfortunately I deleted the original export on my old phone, so I can't verify where it messed up.

I'll close the issue now. Thanks for the help and the nice App.

from sms-ie.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.