#The error

1 messages · Page 1 of 1 (latest)

tender hound
#
    at FileUploadView.handlePost (file:///home/vttshooltz/vtt/fvtt-bruggy/resources/app/dist/server/views/upload.mjs:1:480)
    at Layer.handle [as handle_request] (/home/vttshooltz/vtt/fvtt-bruggy/resources/app/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/vttshooltz/vtt/fvtt-bruggy/resources/app/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/home/vttshooltz/vtt/fvtt-bruggy/resources/app/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/home/vttshooltz/vtt/fvtt-bruggy/resources/app/node_modules/express/lib/router/layer.js:95:5)
    at /home/vttshooltz/vtt/fvtt-bruggy/resources/app/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/home/vttshooltz/vtt/fvtt-bruggy/resources/app/node_modules/express/lib/router/index.js:341:12)
    at next (/home/vttshooltz/vtt/fvtt-bruggy/resources/app/node_modules/express/lib/router/index.js:275:10)
    at file:///home/vttshooltz/vtt/fvtt-bruggy/resources/app/dist/server/express.mjs:1:3732
    at Layer.handle [as handle_request] (/home/vttshooltz/vtt/fvtt-bruggy/resources/app/node_modules/express/lib/router/layer.js:95:5)
(node:102139) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3) ```
gentle iris
#

Walk me through the steps you take to reproduce this error? Need to make sure I’m clear on the context.

#

Also what’s the file size of the image?

tender hound
#

ok one minute, here

#

@quartz yew in here

quartz yew
#

The file size is 7.37mb. I created a scene, I uploaded a json file which had no issues. Then I clicked on the scene and opened the configure menu. Once there I clicked the "browse file" button next to the "Backround Image" section. From there navigated to where I wanted the image to be housed. After that I browsed my local drive found the file and selected it to be uploaded.

It appears that while I was in the file browser itself looking for the file, the error had already occurred before selecting the file.

Also it looks like it eventually hits a timeout maybe takes 30 seconds maybe a little more. Because if you just sit there and watch, eventually the file will disappear from the upload section.

gentle iris
#

Okay. How are you hosted? Does uploading images work in any other context?

quartz yew
#

Yes, this was exported from dungeonalchemist. I tried another jpeg I had and it worked without issue. So it could be a way that dungeonalchemist is exporting. I did not however try uploading the file without uploading the json file, do you think the json import would have anything to do with this?

#

Hosting is a VPS server

gentle iris
#

Ah, okay, we have indeed had issues with DA exports historically.

#

When you export from DA, you should have the option to do Foundry or Universal VTT; try the latter, and use the Universal Battlemap Importer module to bring it in.

quartz yew
#

Ah, thank you very much.

tender hound
#

but then you dont get any of the lighting, walls, and doors stuff do you?

gentle iris
#

Sure do

tender hound
#

oh, well cool then

#

thanks 😄

gentle iris
#

No prob. Hit us up if that doesn't end up working out.