Comments (6)
Did you install graphicsmagick or imagemagick on your machine?
from docpad-plugin-minicms.
mmm no? :D
there is a image magick module for node (just found out) -
https://github.com/rsms/node-imagemagick
npm install imagemagick
i will try it now, if it works probably its a good idea to add it as
requirement to your module.
francisco arenas
dospuntocero.cl
fb.me/dospuntocero.cl
2013/6/1 Jérémy Faivre [email protected]
Did you install graphicsmagick or imagemagick on your machine?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-18797358
.
from docpad-plugin-minicms.
ok. installed imagemagick using brew, also the node-imagemagick module, and the same error
error: An error occured:
Error: spawn ENOENT
at errnoException (child_process.js:980:11)
at Process.ChildProcess._handle.onexit (child_process.js:771:34)
from docpad-plugin-minicms.
Try to install graphicksmagick using homebrew or macports. Mine works perfectly with graphicsmagick on both my mac and my server on debian. I didn't test using imagemagick, even though it should work too (minicms is using node gm (http://aheckmann.github.io/gm/) module which is supposed to work with both libs).
You don't need to install any additional node modules. These are already dependencies of minicms plugin.
That said, I agree, I should add in the readme that to use image component one need to install graphicsmagick.
from docpad-plugin-minicms.
i had some problems with my brew installation, so i uninstalled it and started from zero. after that installed graphicsmagick and now im not getting the error on terminal, but the console on my browser is getting this error:
{"error":"Invalidimagefile."} - tried with jpg, png ,JPG, JPEG, none passed.
and this:
POST http://localhost:9778/cms/article/image/upload 404 (Not Found) jquery.js:2
send jquery.js:2
v.extend.ajax jquery.js:2
i jquery-file-upload.js:1
a.widget._onSend jquery-file-upload.js:1
e.isFunction.l.(anonymous function) jquery-ui.js:6
h.submit jquery-file-upload.js:1
upload edit:452
$.fileupload.add edit:491
e.Widget._trigger jquery-ui.js:6
(anonymous function) jquery-file-upload.js:1
v.extend.each jquery.js:2
a.widget._onAdd jquery-file-upload.js:1
e.isFunction.l.(anonymous function) jquery-ui.js:6
a.widget._onChange jquery-file-upload.js:1
e.isFunction.l.(anonymous function) jquery-ui.js:6
v.event.dispatch jquery.js:2
o.handle.u
from docpad-plugin-minicms.
I'm having exactly the same problem even when running the example from this repo
POST http://localhost:9778/cms/article/image/upload 404 (Not Found)
@dospuntocero did you find a solution for it?
from docpad-plugin-minicms.
Related Issues (20)
- Unable to delete documents HOT 6
- /cms error HOT 2
- CoffeeScript compilation fails in sessionBridge.coffee:12 HOT 1
- Secret ! HOT 1
- docpad-plugin-minicms broken with last docpad version HOT 8
- Separate "saving" and "applying changes" HOT 2
- Make it easier to extend the CMS with new fields
- Docpad fails after installing MiniCMS HOT 2
- image upload does not works HOT 1
- please update examples HOT 1
- Images not deleted HOT 2
- Relational Fields
- Save Article,Save Configuration and Delete Article buttons got freezed after click HOT 2
- Praise HOT 2
- Changelog HOT 1
- EMFILE Error HOT 3
- Malformed inline YAML string HOT 4
- filepicker.io fieldtype HOT 3
- slug windows compatibility HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docpad-plugin-minicms.