apostrophecms / apostrophe-sandbox

This sandbox site is the basis for our live demo. For your own projects, you can use apostrophe-boilerplate as a more streamlined, cleaner point of departure via the apostrophe-cli tool.
MIT License
112 stars 41 forks source link

no image backend specified and neither imagecrunch nor identify found in PATH #35

Closed rwatts3 closed 10 years ago

rwatts3 commented 10 years ago

I've succesfully insatlled Apostrophe - Sandbox by downloading and placing the files in the directory that I would like the site installed. I followed all of the correct instructions, however when I get to the part where it says to type " node app.js apostrophe:reset" I keep receiving this error. The only way around this error is by editing the file in \apostrophe-sites\index.js on line 492 which is where the error is being thrown. Also Imagemagick is installed in the root folder of the site, but it is still not recognizing that I have it installed. Are there additional settings or changes that I need to make ?

Operating System : Windows 7 64 Bit Server : Node.js Database : Mongodb

boutell commented 10 years ago

You need to install imagemagick.

http://www.imagemagick.org/script/binary-releases.php#windows

spacecowboyian commented 8 years ago

I'm on a windows 2012 server. Imagemagick is installed in C:/ImageMagick and the PATH variable has C:\ImageMagick. Still getting the "install imagemagick" error.

boutell commented 8 years ago

Launch a shell and type:

convert

What do you get?

On Thu, Jun 2, 2016 at 5:11 PM, Ian Jennings notifications@github.com wrote:

I've installed imagemagick but I'm still getting the error. ImageMagick is set up in the Path variable as well

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/punkave/apostrophe-sandbox/issues/35#issuecomment-223423831, or mute the thread https://github.com/notifications/unsubscribe/AAB9fSgiBi9Wo95VMpFVbqxAtJgISgFOks5qH0cVgaJpZM4BoppW .

THOMAS BOUTELL, DEV & OPS P'UNK AVENUE | (215) 755-1330 | punkave.com

spacecowboyian commented 8 years ago

"Must specify a file system"

boutell commented 8 years ago

OK, you don't have the imagemagick utilities (convert and identify) in your PATH then. That message sounds like an error from some other tool of the same name.

On Thu, Jun 2, 2016 at 5:29 PM, Ian Jennings notifications@github.com wrote:

"Must specify a file system"

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/punkave/apostrophe-sandbox/issues/35#issuecomment-223428431, or mute the thread https://github.com/notifications/unsubscribe/AAB9fXMYKlU0mAu20R0gOxjXZdoGM06tks5qH0sygaJpZM4BoppW .

THOMAS BOUTELL, DEV & OPS P'UNK AVENUE | (215) 755-1330 | punkave.com

spacecowboyian commented 8 years ago

Hmm. http://stackoverflow.com/questions/4481573/how-to-override-windows-convert-command-by-imagemagicks-one

spacecowboyian commented 8 years ago

I moved C:\ImageMagick to the front of the line in the PATH variable.. is there something else i need specifically for convert and identify?

spacecowboyian commented 8 years ago

twas the fault of the newest version of imagemagick... it has no convert or identify executables. May need adjustment in the apostrophe code?

spacecowboyian commented 8 years ago

To be clear, I've installed ImageMagick 6.9.4 and all is well.

boutell commented 8 years ago

Those utilities definitely have not gone anywhere. Maybe the distribution you downloaded doesn't include the binaries but only libraries, or puts them in a subdirectory, but they have not changed.

On Thu, Jun 2, 2016 at 5:47 PM, Ian Jennings notifications@github.com wrote:

To be clear, I've installed ImageMagick 6.9.4 and all is well.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/punkave/apostrophe-sandbox/issues/35#issuecomment-223432952, or mute the thread https://github.com/notifications/unsubscribe/AAB9fcMtn5bsqEpJhALuDt9WmZVpAkZ5ks5qH09-gaJpZM4BoppW .

THOMAS BOUTELL, DEV & OPS P'UNK AVENUE | (215) 755-1330 | punkave.com

spacecowboyian commented 8 years ago

Yeah. Neither of the x64 windows distros, static or dynamic, have those utilities exposed in their main dir. I guess it would take knowing which dir they are in then adding that to the path in the PATH env var.

boutell commented 8 years ago

Yep, that would do it. Either that or they broke out the libraries and the utilities to separate distributions.

On Thu, Jun 2, 2016 at 8:26 PM, Ian Jennings notifications@github.com wrote:

Yeah. Neither of the x64 windows distros, static or dynamic, have those utilities exposed in their main dir. I guess it would take knowing which dir they are in then adding that to the path in the PATH env var.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/punkave/apostrophe-sandbox/issues/35#issuecomment-223460756, or mute the thread https://github.com/notifications/unsubscribe/AAB9fSoauJQbK03L5g3pxeQcYaWXaL4Vks5qH3SagaJpZM4BoppW .

THOMAS BOUTELL, DEV & OPS P'UNK AVENUE | (215) 755-1330 | punkave.com

ewlloyd commented 8 years ago

Found this link on ImageMagick's website: http://www.imagemagick.org/discourse-server/viewtopic.php?t=29582#p132702. tl;dr: Check the legacy utilities box when you're installing IM.

ltskr commented 8 years ago

我也遇到了同样的情况,是不是使用了64位的Imagemagick安装包?改用x86的版本,就OK了。

boutell commented 8 years ago

Hi Itskr, I'm reading your question through a google translation, but I don't think you have to switch to x86. You just have to find the package that includes the "convert" and "identify" utilities in your particular Linux distribution. This may be a separate package from the core imagemagick libraries.

On Sat, Aug 20, 2016 at 8:41 AM, ltskr notifications@github.com wrote:

我也遇到了同样的情况,是不是使用了64位的Imagemagick安装包?改用x86的版本,就OK了。

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/punkave/apostrophe-sandbox/issues/35#issuecomment-241198074, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB9fZXp8YPmhaPsw6IB-3akhPkNe8dxks5qhvXvgaJpZM4BoppW .

THOMAS BOUTELL, SUPPORT LEAD P'UNK AVENUE | (215) 755-1330 | punkave.com