Backup failed! on SD Card

You can post your bug reports here. Please include at least the app version and your phone, and any useful information.
User avatar
fvs114
Posts: 31
Joined: Thu May 26, 2011 9:23 am

Re: Backup failed! on SD Card

Post by fvs114 »

It's working for me for now. I haven't tested it fully but I will and let you know if I find anything
___________________________________

FVS114

SGS GT-I9000 - Gingerbread 2.3.4
chepoxxx
Posts: 2
Joined: Mon Jun 27, 2011 9:57 pm

Re: Backup failed! on SD Card

Post by chepoxxx »

Samsung Galaxy S I-9000 with Froyo 2.2.1 (Darky ROM).
I have tried the beta cyril posted with no luck. Still have the same issue where it says "Backup Failed".
I went into /dbdata/databases/ and erased both net.cdeguet.smartkeyboardpro and net.cdeguet.smartkeyboardtrial. I then reinstalled without a change in results. Sill the "Backup failed!" comes up everytime I try to backup settings.
I really liked this app, but it is a deal breaker when I have to set every setting about every 2 hours. (asked for refund... sorry).
Maybe somebody has a workaround we can do in the meantime? As soon as this is fixed am definitely repurchasing.


One strange thing though. This is recent, since I installed a few months ago and I never had to tinker with the settings except for the first time, so something definitely changed.
User avatar
cyril
Developer
Posts: 2079
Joined: Tue Feb 02, 2010 4:02 pm
Phone: Nexus One 2.3
Location: Nice, France

Re: Backup failed! on SD Card

Post by cyril »

You are mixing two different problems:
- backup on SD card failure
- preferences not being saved

For the second problem there is nothing I can do, this is a bug in Samsung firmware (I don't know about your ROM). The only workaround is to uninstall the app and remove the databases directory as you did, so I'm surprised this doesn't work.
For the backup failure, the beta is supposed to fix it; can you show me your phone logs as Rebel did, at the time you try to backup? This is the only way you can expect a workaround from me.
Cyril
chepoxxx
Posts: 2
Joined: Mon Jun 27, 2011 9:57 pm

Re: Backup failed! on SD Card

Post by chepoxxx »

Ok. I rebooted my phone after I installed the beta and it remembered my settings. I tried to do a backup to the SD as I did before and now it worked! The log does not show any errors, only info that smartkeboardpro tried to backup files:

Code: Select all

06-28 09:26:07.578 I/SmartKeyboard( 4227): Try to backup file /data/data/net.cdeguet.smartkeyboardpro/databases/autotext.db
06-28 09:26:07.597 I/SmartKeyboard( 4227): Try to backup file /data/data/net.cdeguet.smartkeyboardpro/databases/userdic.db
06-28 09:26:07.605 I/SmartKeyboard( 4227): Try to backup file /dbdata/databases/net.cdeguet.smartkeyboardpro/shared_prefs/net.cdeguet.smartkeyboardpro_preferences.xml
Tried a Restore as well and it worked. Log says those 3 files where restored. It is now working correctly. Maybe it had something to do with the uninstall/reinstall I did previously? Anyway thanks for your help. Awesome app.
duckdany
Posts: 11
Joined: Thu Dec 09, 2010 12:13 pm

Re: Backup failed! on SD Card

Post by duckdany »

I have couldn't backup settings on SD Card.
I have Samsung Galaxy S XWJS8 2.2.1 Froyo. Full Smart keyboard 4.3.0.

Please help!

Thanks
User avatar
cyril
Developer
Posts: 2079
Joined: Tue Feb 02, 2010 4:02 pm
Phone: Nexus One 2.3
Location: Nice, France

Re: Backup failed! on SD Card

Post by cyril »

I cannot tell you unless you provide me with your phone logs showing what is the error.
Cyril
duckdany
Posts: 11
Joined: Thu Dec 09, 2010 12:13 pm

Re: Backup failed! on SD Card

Post by duckdany »

cyril wrote:I cannot tell you unless you provide me with your phone logs showing what is the error.
I/SmartKeyboardPro( 3291): Trying to load dictionary: EN
I/ActivityManager( 2465): Displayed activity net.cdeguet.smartkeyboardpro/.Settings: 373 ms (total 373 ms)
V/WindowManager( 2465): Dsptch > Window{48617238 net.cdeguet.smartkeyboardpro/net.cdeguet.smartkeyboardpro.Settings paused=false}
D/dalvikvm( 3291): GC_EXTERNAL_ALLOC freed 1386 objects / 80848 bytes in 37ms
V/WindowManager( 2465): Dsptch > Window{48617238 net.cdeguet.smartkeyboardpro/net.cdeguet.smartkeyboardpro.Settings paused=false}
V/WindowManager( 2465): Dsptch > Window{48617238 net.cdeguet.smartkeyboardpro/net.cdeguet.smartkeyboardpro.Settings paused=false}
V/WindowManager( 2465): Dsptch > Window{48617238 net.cdeguet.smartkeyboardpro/net.cdeguet.smartkeyboardpro.Settings paused=false}
I/SmartKeyboardPro( 3291): Trying to load dictionary: EN
V/WindowManager( 2465): Dsptch > Window{48653b58 Beállítások mentése… paused=false}
V/WindowManager( 2465): Dsptch > Window{48653b58 Beállítások mentése… paused=false}
V/WindowManager( 2465): Dsptch > Window{486579b0 net.cdeguet.smartkeyboardpro/net.cdeguet.smartkeyboardpro.Settings paused=false}
V/WindowManager( 2465): Dsptch > Window{486579b0 net.cdeguet.smartkeyboardpro/net.cdeguet.smartkeyboardpro.Settings paused=false}
I/SmartKeyboard( 3291): Try to backup file /data/data/net.cdeguet.smartkeyboardpro/databases/autotext.db
I/SmartKeyboard( 3291): Try to backup file /data/data/net.cdeguet.smartkeyboardpro/databases/userdic.db
I/SmartKeyboard( 3291): Try to backup file /dbdata/databases/net.cdeguet.smartkeyboardpro/shared_prefs/net.cdeguet.smartkeyboardpro_preferences.xml
I/SmartKeyboard( 3291): Could not find file. Trying in other directory...
I/SmartKeyboard( 3291): Try to backup file /data/data/net.cdeguet.smartkeyboardpro/shared_prefs/net.cdeguet.smartkeyboardpro_preferences.xml
W/System.err( 3291): java.io.FileNotFoundException: /data/data/net.cdeguet.smartkeyboardpro/shared_prefs/net.cdeguet.smartkeyboardpro_preferences.xml (No such file or directory)
W/System.err( 3291): at org.apache.harmony.luni.platform.OSFileSystem.openImpl(Native Method)
W/System.err( 3291): at org.apache.harmony.luni.platform.OSFileSystem.open(OSFileSystem.java:152)
W/System.err( 3291): at java.io.FileInputStream.<init>(FileInputStream.java:82)
W/System.err( 3291): at net.cdeguet.smartkeyboardpro.Backup.a(Unknown Source)
W/System.err( 3291): at net.cdeguet.smartkeyboardpro.Backup.a(Unknown Source)
W/System.err( 3291): at net.cdeguet.smartkeyboardpro.Settings$1.onClick(Unknown Source)
W/System.err( 3291): at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:161)
W/System.err( 3291): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 3291): at android.os.Looper.loop(Looper.java:123)
W/System.err( 3291): at android.app.ActivityThread.main(ActivityThread.java:4627)
W/System.err( 3291): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 3291): at java.lang.reflect.Method.invoke(Method.java:521)
W/System.err( 3291): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
W/System.err( 3291): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
W/System.err( 3291): at dalvik.system.NativeStart.main(Native Method)
E/imdg81 ( 2465): IsShutDownStarted()
E/imdg81 ( 2465): IsShutDownStarted()
I/SmartKeyboardPro( 3291): Trying to load dictionary: EN

On every reboot I have to rearrnage the settings!
duckdany
Posts: 11
Joined: Thu Dec 09, 2010 12:13 pm

Re: Backup failed! on SD Card

Post by duckdany »

duckdany wrote:
cyril wrote:I cannot tell you unless you provide me with your phone logs showing what is the error.
I/SmartKeyboardPro( 3291): Trying to load dictionary: EN
I/ActivityManager( 2465): Displayed activity net.cdeguet.smartkeyboardpro/.Settings: 373 ms (total 373 ms)
V/WindowManager( 2465): Dsptch > Window{48617238 net.cdeguet.smartkeyboardpro/net.cdeguet.smartkeyboardpro.Settings paused=false}
D/dalvikvm( 3291): GC_EXTERNAL_ALLOC freed 1386 objects / 80848 bytes in 37ms
V/WindowManager( 2465): Dsptch > Window{48617238 net.cdeguet.smartkeyboardpro/net.cdeguet.smartkeyboardpro.Settings paused=false}
V/WindowManager( 2465): Dsptch > Window{48617238 net.cdeguet.smartkeyboardpro/net.cdeguet.smartkeyboardpro.Settings paused=false}
V/WindowManager( 2465): Dsptch > Window{48617238 net.cdeguet.smartkeyboardpro/net.cdeguet.smartkeyboardpro.Settings paused=false}
I/SmartKeyboardPro( 3291): Trying to load dictionary: EN
V/WindowManager( 2465): Dsptch > Window{48653b58 Beállítások mentése… paused=false}
V/WindowManager( 2465): Dsptch > Window{48653b58 Beállítások mentése… paused=false}
V/WindowManager( 2465): Dsptch > Window{486579b0 net.cdeguet.smartkeyboardpro/net.cdeguet.smartkeyboardpro.Settings paused=false}
V/WindowManager( 2465): Dsptch > Window{486579b0 net.cdeguet.smartkeyboardpro/net.cdeguet.smartkeyboardpro.Settings paused=false}
I/SmartKeyboard( 3291): Try to backup file /data/data/net.cdeguet.smartkeyboardpro/databases/autotext.db
I/SmartKeyboard( 3291): Try to backup file /data/data/net.cdeguet.smartkeyboardpro/databases/userdic.db
I/SmartKeyboard( 3291): Try to backup file /dbdata/databases/net.cdeguet.smartkeyboardpro/shared_prefs/net.cdeguet.smartkeyboardpro_preferences.xml
I/SmartKeyboard( 3291): Could not find file. Trying in other directory...
I/SmartKeyboard( 3291): Try to backup file /data/data/net.cdeguet.smartkeyboardpro/shared_prefs/net.cdeguet.smartkeyboardpro_preferences.xml
W/System.err( 3291): java.io.FileNotFoundException: /data/data/net.cdeguet.smartkeyboardpro/shared_prefs/net.cdeguet.smartkeyboardpro_preferences.xml (No such file or directory)
W/System.err( 3291): at org.apache.harmony.luni.platform.OSFileSystem.openImpl(Native Method)
W/System.err( 3291): at org.apache.harmony.luni.platform.OSFileSystem.open(OSFileSystem.java:152)
W/System.err( 3291): at java.io.FileInputStream.<init>(FileInputStream.java:82)
W/System.err( 3291): at net.cdeguet.smartkeyboardpro.Backup.a(Unknown Source)
W/System.err( 3291): at net.cdeguet.smartkeyboardpro.Backup.a(Unknown Source)
W/System.err( 3291): at net.cdeguet.smartkeyboardpro.Settings$1.onClick(Unknown Source)
W/System.err( 3291): at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:161)
W/System.err( 3291): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 3291): at android.os.Looper.loop(Looper.java:123)
W/System.err( 3291): at android.app.ActivityThread.main(ActivityThread.java:4627)
W/System.err( 3291): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 3291): at java.lang.reflect.Method.invoke(Method.java:521)
W/System.err( 3291): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
W/System.err( 3291): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
W/System.err( 3291): at dalvik.system.NativeStart.main(Native Method)
E/imdg81 ( 2465): IsShutDownStarted()
E/imdg81 ( 2465): IsShutDownStarted()
I/SmartKeyboardPro( 3291): Trying to load dictionary: EN

On every reboot I have to rearrnage the settings!
I have made a factory reset and now it's ok?! :-S
Post Reply