question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some trouble with geting data from a existed leveldb database.

See original GitHub issue

I want get data from a Minecraft world save. The world is saved using levelDB format.

When I using getProperty("leveldb.sstables") I can see it conains a key "\x00\x00\x00\x00\x00\x00\x00\x00-", but I can’t retrive the value using get method.

image

I created a repo for this and here it is: https://github.com/xlfsummer/leveldb-demo

Thank you.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
peakjicommented, Oct 15, 2018

@xlfsummer Acutally you don’t need to code any C++:

  1. Clone leveldown
  2. Replace leveldb code in the deps directory with Mojang’s fork
  3. Run npm install
  4. Voilà!
0reactions
clvrkdevcommented, May 5, 2019

Thank you very much for this guide @uvwxy! I forked leveldown and did every change you suggested, but I get thrown the following errors:

grafik grafik

This is an excerpt of the full crashlog. I tried to compile on Ubuntu. On Windows it seems to spit out some different errors.

You can view my fork of leveldown and the changes I did here.

Thank you and have a wonderful day, clarkx86 😃.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is leveldb error appears only in 10% of test runs and how ...
Most likely the app gets an error in db, _ := leveldb.OpenFile(dbPath, nil) line which is ignored. Make openDB either panic when leveldb....
Read more >
Help needed: How to performance tune LevelDB?
Hi everyone, We've just gotten levelDB to compile and run successfully as a drop-in replacement for our Berkeley DB implementation. We're seeing some...
Read more >
LevelDB Storage Engine MS2 - MariaDB Knowledge Base
leveldb database uses type-aware key comparison. This means, one must have knowledge about types of values in indexes before the database can be...
Read more >
How to fetch init data in server side? - Yjs Community
Hi, everybody. I have some issues about init data. Now y-leveldata is supporting that store and fetch ydoc object into leveldb
Read more >
leveldb
A leveldb database has a name which corresponds to a file system directory. ... If you want to raise an error if the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found