tmo1 / sms-ie

SMS Import / Export is a simple Android app that imports and exports SMS and MMS messages, call logs, and contacts from and to JSON / NDJSON files.
GNU General Public License v3.0
319 stars 38 forks source link

Allow_voicemails? #110

Closed Biscorn closed 11 months ago

Biscorn commented 1 year ago

Hi !

I am using this beautiful app to make few backups ! But I got a problem where it says, "Please set 'allow_voicemails=true' in the URI.

I am not sure how to do it nor handle it with an Android.

Nevertheless, I tried few things in my browser like that : content://call_log/calls?allow_voicemails=true, but the error continue.

I also opened the XML file through VS to check if a option was there, but nothing too.

What could be the solutions and how could I fix it ?

Thanks 💯

tmo1 commented 1 year ago

Thank you!

This is an internal Android error. It's not something you can or should address - it seems to indicate that the app needs an adjustment in order to be able to properly access voice mail entries in the call logs:

See also:

I've never seen this error before, though. Please post a logcat, and please report exactly what version of Android you're running (and whether it's vanilla Android, or some sort of variant).

tiberious726 commented 1 year ago

I'm running into the same error message. I've attached a logcat . I'm running GrapheneOS build TQ2A.230505.002.2023060700

I do have some calls with an automatically dialed extension in my history, which I suspicious of due to this error in the log:

06-15 15:35:45.392 14972 15083 W DialerDialerPhoneNumberUtil: com.android.dialer.phonenumberproto.DialerPhoneNumberUtil.parse:143 failed parsing number        
06-15 15:35:45.392 14972 15083 W DialerDialerPhoneNumberUtil: Error type: TOO_LONG. The string supplied is too long to be a phone number.  

sms-io-logcat.txt

tmo1 commented 1 year ago

I'm running into the same error message. I've attached a logcat . I'm running GrapheneOS build TQ2A.230505.002.2023060700

Thank you - I will look into this when I get a chance.

tmo1 commented 1 year ago

I'm running into the same error message.

Where is the "Please set 'allow_voicemails=true' in the URI." message appearing? I don't see it in the logcat. If it's some kind of pop-up message, can you post a screenshot?

Biscorn commented 1 year ago

Hey ! Sorry for my delayed answer because of my work. I will try to do a logcat very soon and send it to you but as Tiberious, I am running the same version of GrapheneOS.

I though it was an hardware problem (for eg. to reconnect my SIM card etc.), but nothing happened and the same message occur.

When you go to the app, click on "import calllog" function with an XML file, we get this message. In my case, it restore one to four voicemail but then, a pop-up appear on the application.

lividhen commented 11 months ago

Screenshot and logcat

Screenshot_20230809_034017_SMS Import  Export logcat.zip

tmo1 commented 11 months ago

It turns out that this is a trickier and more frustrating - and poorly documented - problem than I first thought:

It seems, then, that the best we can do is to try to exclude voicemail entries from call log import. I'm attaching a build that does this - please test and report your results.

lividhen commented 11 months ago

Skipping voicemail seems to work just fine.

tmo1 commented 11 months ago

Skipping voicemail seems to work just fine.

Thanks! If no one reports the problem persisting with the fix I posted within the next day or two, I'll commit it and close this issue.

lividhen commented 11 months ago

Awesome!