papyrusjs icon indicating copy to clipboard operation
papyrusjs copied to clipboard

Unable to run on CentOS

Open emerysteele opened this issue 4 years ago • 5 comments

[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.

emerysteele avatar Feb 23 '20 08:02 emerysteele

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 :-)!

clvrk avatar Feb 24 '20 13:02 clvrk

http://yams.playified.ca/Bedrock%20level.zip

emerysteele avatar Feb 29 '20 21:02 emerysteele

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"

Nodman avatar Mar 02 '20 10:03 Nodman

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 :-)!

clvrk avatar Mar 02 '20 12:03 clvrk

v1.1.0-alpha just released! Please let me know if this has resolved the issue! Thanks :-)

clvrk avatar Mar 02 '20 16:03 clvrk