-
Notifications
You must be signed in to change notification settings - Fork 428
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
Cannot read any leveldb (IndexedDB) from Skype for Desktop #119
Comments
Looking at the code, that stack ends at https://github.com/dain/leveldb/blob/master/leveldb/src/main/java/org/iq80/leveldb/util/Snappy.java#L234, which would imply that snappy did not load properly. I'd use a debugger and figure out why. |
Thank you @dain! public static void uncompress(ByteBuffer compressed, ByteBuffer uncompressed)
throws IOException
{
checkSnappy();
SNAPPY.uncompress(compressed, uncompressed);
}
private void checkSnappy() {
if (SNAPPY == null) throw new RuntimeException("Compressed database, snappy library not found in your classpath.");
} Help future users ;) I really didn't guess that it is a required lib for this case. |
Fixes dain#119 Signed-off-by: Stavros Ntentos <[email protected]>
Fixes dain#119 Signed-off-by: Stavros Ntentos <[email protected]>
Hi!
I tried to use this lib without success to read two leveldb produced by Skype app:
SKYPE_DATA_DIR/IndexedDB/file__0.indexeddb.leveldb
and
SKYPE_DATA_DIR/Local Storage/leveldb.
For the first I needed to register a custom comparator: idb_cmp1
But for both I received this error:
I already tried to disable compression on Options.
Did anyone read Skype App database with this lib? (aka Electron/Chromium IndexedDB)
The text was updated successfully, but these errors were encountered: