Skip to content
This repository has been archived by the owner on Dec 6, 2020. It is now read-only.

Unable to run on CentOS #21

Open
emerysteele opened this issue Feb 23, 2020 · 5 comments
Open

Unable to run on CentOS #21

emerysteele opened this issue Feb 23, 2020 · 5 comments

Comments

@emerysteele
Copy link

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

@clvrk
Copy link
Member

clvrk commented Feb 24, 2020

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

@emerysteele
Copy link
Author

@Nodman
Copy link

Nodman commented Mar 2, 2020

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"

@clvrk
Copy link
Member

clvrk commented Mar 2, 2020

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
Copy link
Member

clvrk commented Mar 2, 2020

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

@clvrk clvrk closed this as completed Mar 3, 2020
@clvrk clvrk reopened this Mar 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants