javascript-tutorial/server

binaries can't be found error

Violet-Bora-Lee opened this issue · 15 comments

After the pngs are changed svgs, I've got such error.

image

The reason for the error is that the server searches the image files in en directory not ko directory(in my case). You can see the error message on the image.

How can I reproduce that?

You could reproduce the issue deleting en directory in your local machine and only set foreign project such as ko, I guess.

I may need to add this issue on the engine repository. It's time to look around server-side codes for me.

I can do that. Delete English and run ./edit ko?

And then...? Should I re-translate an image or edit an article?

No. You could reproduce the issue when you delete en directory and have another directory but en on local machine. Couldn't you reproduce the issue?

I deleted English folder.
Then run ./edit ru (shouldn't matter).

Then everything was ok.

Maybe I need to do something else.

Oh, I see. I'll try other languages but Korean.

I will try korean.

Most likely, you don't have imagemagick installed. =)

Need help with that?

I'm using Windows 10 and Chocolatey, package manager for Windows. I've installed graphicsmagick and imagemagick using Chocolatey but had the same issue. I've also tried to install both packages by installing binary files. Phew :( :(

I'll try more to resolve the issue on my local machine. Anyway, I can see that it's not the problem comes from your code but mine.

Thanks for your trying 👍

[for Windows 10 user]

GraphicsMagick Download Link: ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/windows/
ImageMagick Download Link: http://www.imagemagick.org/script/download.php#windows

The cause of the issue comes from ImageMagick.

image

When you install ImageMagick, there are some default checked boxes like the image above. When you haven't touched anything and keep installing, the same issue will occur.

image

So, I've set like this and the issue no longer has occurred.