papyrusjs
papyrusjs copied to clipboard
Unable to run on CentOS
[mcbserver@c ~]$ ./papyrus --world="./serverfiles/worlds/Bedrock level" --textures="./Vanilla_Resource_Pack" --output="./worldmap" --mode="topdown_shaded" --force-download papyrus.js v1.0.5a by clarkx86 Threads: 4 Texture directory is missing or --force-download has been specified. Downloading... /home/mcbserver/Vanilla_Resource_Pack/textures.tmp.zip [=================================] 100%DownloadDownloading...2846205813/ 46205813 Extracting... (node:29866) UnhandledPromiseRejectionWarning: Error: Failed to open database at MinecraftLevelDOWN._open (/snapshot/papyrusjs/node_modules/leveldb-mcpe/index.js:39:19) at MinecraftLevelDOWN.AbstractLevelDOWN.open (/snapshot/papyrusjs/node_modules/abstract-leveldown/abstract-leveldown.js:36:10) at DeferredLevelDOWN._open (/snapshot/papyrusjs/node_modules/deferred-leveldown/deferred-leveldown.js:19:12) at DeferredLevelDOWN.AbstractLevelDOWN.open (/snapshot/papyrusjs/node_modules/deferred-leveldown/node_modules/abstract-leveldown/abstract-leveldown.js:38:8) at LevelUP.open (/snapshot/papyrusjs/node_modules/levelup/lib/levelup.js:89:11) at new LevelUP (/snapshot/papyrusjs/node_modules/levelup/lib/levelup.js:61:8) at LevelUP (/snapshot/papyrusjs/node_modules/levelup/lib/levelup.js:33:12) at init (/snapshot/papyrusjs/app.js:0:0) at Promise.then (/snapshot/papyrusjs/app.js:0:0) (node:29866) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:29866) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Hey @emerysteele! Thanks four your report! Can you attach your Minecraft world so I can investiage this further :)?
Thank you and have a good start into the week :-)!
http://yams.playified.ca/Bedrock%20level.zip
Getting the same output on on Ubuntu 18.04.4. if executing with prebuilt binary:
./papyrus --world="./1.14.30.2/worlds/Goodtimes/" --output="./map"
papyrus.js v1.0.5a by clarkx86 Threads: 6 (node:850) UnhandledPromiseRejectionWarning: Error: Failed to open database at MinecraftLevelDOWN._open (/snapshot/papyrusjs/node_modules/leveldb-mcpe/index.js:39:19) at MinecraftLevelDOWN.AbstractLevelDOWN.open (/snapshot/papyrusjs/node_modules/abstract-leveldown/abstract-leveldown.js:36:10) at DeferredLevelDOWN._open (/snapshot/papyrusjs/node_modules/deferred-leveldown/deferred-leveldown.js:19:12) at DeferredLevelDOWN.AbstractLevelDOWN.open (/snapshot/papyrusjs/node_modules/deferred-leveldown/node_modules/abstract-leveldown/abstract-leveldown.js:38:8) at LevelUP.open (/snapshot/papyrusjs/node_modules/levelup/lib/levelup.js:89:11) at new LevelUP (/snapshot/papyrusjs/node_modules/levelup/lib/levelup.js:61:8) at LevelUP (/snapshot/papyrusjs/node_modules/levelup/lib/levelup.js:33:12) at init (/snapshot/papyrusjs/app.js:0:0) at Promise.then (/snapshot/papyrusjs/app.js:0:0) at process._tickCallback (internal/process/next_tick.js:68:7) (node:850) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:850) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Also I was bale to run everything successfully once with not prebuilt binaries, but every next time I am getting error:
node ./ --world="../1.14.30.2/worlds/Goodtimes/" --output="../map"
papyrus.js v1.1.0a by clarkx86 and contributors Threads: 6 Attempting to open database... [1] 900 segmentation fault (core dumped) node ./ --world="../1.14.30.2/worlds/Goodtimes/" --output="../map"
The issue seems to be resolved with the latest changes in master
and I was able to successfully render @emerysteele's map.
I will release a new build in the following hours.
Thanks for reporting! If you find any more bugs or have any issue with the new release, please let me know :-)!
v1.1.0-alpha
just released!
Please let me know if this has resolved the issue! Thanks :-)