Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using on macos getting the following error #121

Closed
anika200 opened this issue Jun 13, 2024 · 6 comments
Closed

Using on macos getting the following error #121

anika200 opened this issue Jun 13, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@anika200
Copy link

anika200 commented Jun 13, 2024

Device info

Manufacturer:Google
Android version:14
Custom ROM/rooted? No
Model:

System info

Available disk space:
Operating system: macos 13.6.7


Describe the issue below.

Installed your requirements via Mac Ports because that is what I have and figured it should be the same as Brew. Installed your/the unzipped app bundle in ~/Applications and opened a terminal in the folder and ran the backup.sh command.
The error is as below.

@IMac Open_Android_Backup_v1.0.18_Bundle % ./backup.sh Whiptail is not installed, but dialog is. Defining whiptail as a function that calls dialog. timeout is not available, can't continue. Please refer to the README for usage instructions.
Also may be of note:
When I installed coreutils via mac ports you get a warning about name changes which may or may not effect your app.
`---> Some of the ports you installed have notes:
coreutils has the following notes:
The tools provided by GNU coreutils are prefixed with the character 'g' by default to distinguish them from the BSD
commands.
For example, cp becomes gcp and ls becomes gls.

If you want to use the GNU tools by default, add this directory to the front of your PATH environment variable:
    /opt/local/libexec/gnubin/

`

@anika200 anika200 added the bug Something isn't working label Jun 13, 2024
mrrfv added a commit that referenced this issue Jun 14, 2024
@mrrfv
Copy link
Owner

mrrfv commented Jun 14, 2024

I just pushed a fix to the master branch. Could you please pull the repository or download an unstable bundle, then let me know if the problem is fixed?

@anika200
Copy link
Author

anika200 commented Jun 17, 2024

We made progress, so thanks for the fix. Mostly things worked as it should, the companion app installed, backup of apps was made but the contacts and sms were not backed up. Am I missing something? Here is the simple error at end of backup.
Exporting contacts (as vCard), call logs as well as SMS messages (as CSV). 0.00 B 0:00:00 [0.00 B/s] [<=> ] mv: rename ./backup-tmp/open-android-backup-temp/open-android-backup-contact*.vcf to ./backup-tmp/Contacts/open-android-backup-contact*.vcf: No such file or directory No contacts found on device - ignoring. mv: rename ./backup-tmp/open-android-backup-temp/SMS_Messages.csv to ./backup-tmp/SMS/SMS_Messages.csv: No such file or directory

@mrrfv
Copy link
Owner

mrrfv commented Jun 17, 2024

Interesting. This is one of the most commonly reported issues and you're using a Google phone, something I privately use this script with, so perhaps I could debug this given enough information. Could you please provide some more info about your device, such as its model and whether you granted the necessary permissions to the companion app (for example, by pressing the Export Data button, then taking a screenshot of the app's granted perms)? Also, did you press on the "Export Data" button when the app was opened on your device?

@anika200
Copy link
Author

The model is a Pixel7. The first time run I did not see or was not aware of the second switch that needed to be turned on after you hitting the export button but it did not seem to make any difference, still have the same error. See below.

Screenshot_20240617-153127

Screenshot_20240617-153141

Exporting contacts (as vCard), call logs as well as SMS messages (as CSV). 0.00 B 0:00:00 [0.00 B/s] [<=> ] mv: rename ./backup-tmp/open-android-backup-temp/open-android-backup-contact*.vcf to ./backup-tmp/Contacts/open-android-backup-contact*.vcf: No such file or directory No contacts found on device - ignoring. mv: rename ./backup-tmp/open-android-backup-temp/SMS_Messages.csv to ./backup-tmp/SMS/SMS_Messages.csv: No such file or directory lee@IMac Open_Android_Backup_Unstable_Bundle %

@anika200
Copy link
Author

OK I think I got it, after you hit the export data button, then you are shown the switch to allow file transfer, THEN you have to hit the back arrow and Then hit the export data button again to get it to work. So in my case I hit the export data button twice for it to work right. Maybe it was the way it was designed and I just did not read through the instructions correctly but it seems to be working on this run. Great little app.

@mrrfv
Copy link
Owner

mrrfv commented Jul 4, 2024

I'll close this issue now since the problem appears to have been fixed. Thanks for reporting it.

@mrrfv mrrfv closed this as completed Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants