mrrfv / open-android-backup

Back up your device without vendor lock-ins, using insecure software or root. Supports encryption and compression out of the box. Works cross-platform.
http://openandroidbackup.me/
GNU General Public License v3.0
674 stars 37 forks source link

Runtime error: Function a/e not defined. #59

Closed Nudin closed 1 year ago

Nudin commented 1 year ago

System info

Available disk space: plenty Operating system: Arch Linux


Describe the issue below.

When I use open-android-backup my output is littered with "runtime error" messages:

...
? What do you want to do? (Use arrow keys)
Runtime error (func=(main), adr=6): Function a not defined.
Runtime error (func=(main), adr=3): Function e not defined.
Runtime error (func=(main), adr=6): Function a not defined.
Runtime error (func=(main), adr=3): Function e not defined.
❯ Backup
  Restore
Runtime error (func=(main), adr=6): Function a not defined.
Runtime error (func=(main)Backup
Open Android Backup will install a companion app on your device, which will allow for contacts and other data to be backed up and restored.
...
mrrfv commented 1 year ago

This appears to be a problem with Inquirer.sh, which is one of the dependencies of this project. It's been known for causing trouble in the past. I'll see if a migration to options.select or similar project is possible.

What terminal emulator and shell are you using? Could you try a different terminal app and plain old bash?

Nudin commented 1 year ago

Tried kitty, mate-term, xterm with bash and sh – all got me the same errors.

mrrfv commented 1 year ago

Fixed by removing Inquirer.sh - this should fix the problem. Let me know if the issue persists.