Datawedge auto import not working properly

N Nicolas Mascardi 3 years 6 months ago
49 2 0

Hi guys,
I exported my datawedge settings into a datawedge.db file, but when a place it inside the /enterprise/device/settings/datawedge/autoimport folder the error below is triggered and the configuration is not imported (the file is not removed from the folder).
It only works after restarting the device.
I already tried restoring the datawedge to factory defaults with no success.
My device is a TC75 with Android 5.1.1 installed.
Datawedge version 6.7.48
Let me know if you need more information.
Thanks in advance.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
E/SQLiteLog( 1612): (14) cannot open file at line 30056 of [a66a5b397b]
E/SQLiteLog( 1612): (14) os_unix.c:30056: (13) open(/enterprise/device/settings/datawedge/autoimport/datawedge.db) -
E/SQLiteDatabase( 1612): Failed to open database '/enterprise/device/settings/datawedge/autoimport/datawedge.db'.
E/SQLiteDatabase( 1612): android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database
E/SQLiteDatabase( 1612): at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
E/SQLiteDatabase( 1612): at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:209)
E/SQLiteDatabase( 1612): at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:193)
E/SQLiteDatabase( 1612): at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)
E/SQLiteDatabase( 1612): at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
E/SQLiteDatabase( 1612): at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
E/SQLiteDatabase( 1612): at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:806)
E/SQLiteDatabase( 1612): at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:791)
E/SQLiteDatabase( 1612): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)
E/SQLiteDatabase( 1612): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:669)
E/SQLiteDatabase( 1612): at com.symbol.datawedge.ScanningService$3.onEvent(ScanningService.java:810)
E/SQLiteDatabase( 1612): at android.os.FileObserver$ObserverThread.onEvent(FileObserver.java:122)
E/SQLiteDatabase( 1612): at android.os.FileObserver$ObserverThread.observe(Native Method)
E/SQLiteDatabase( 1612): at android.os.FileObserver$ObserverThread.run(FileObserver.java:85)
W/System.err( 1612): android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database
W/System.err( 1612): at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
W/System.err( 1612): at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:209)
W/System.err( 1612): at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:193)
W/System.err( 1612): at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)
W/System.err( 1612): at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
W/System.err( 1612): at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
W/System.err( 1612): at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:806)
W/System.err( 1612): at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:791)
W/System.err( 1612): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)
W/System.err( 1612): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:669)
W/System.err( 1612): at com.symbol.datawedge.ScanningService$3.onEvent(ScanningService.java:810)
W/System.err( 1612): at android.os.FileObserver$ObserverThread.onEvent(FileObserver.java:122)
W/System.err( 1612): at android.os.FileObserver$ObserverThread.observe(Native Method)
W/System.err( 1612): at android.os.FileObserver$ObserverThread.run(FileObserver.java:85)
E/SQLiteLog( 1612): (14) cannot open file at line 30056 of [a66a5b397b]
E/SQLiteLog( 1612): (14) os_unix.c:30056: (13) open(/enterprise/device/settings/datawedge/autoimport/datawedge.db) -
E/SQLiteDatabase( 1612): Failed to open database '/enterprise/device/settings/datawedge/autoimport/datawedge.db'.
E/SQLiteDatabase( 1612): android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Please Register or Login to post a reply

2 Replies

N Nicolas Mascardi

I was able to fix this by explicitly adding full access permission to the .db file (chmod 777 datawedge.db)

N Nicolas Mascardi

I was able to fix this by explicitly adding full access permission to the .db file (chmod 777 datawedge.db)

CONTACT
Can’t find what you’re looking for?