0
我正在使用mupx來部署流星建造。 Graphicsmagick安裝在系統上(以及imagemagick),都在ubuntu 14.04上使用apt-get。嘗試轉換圖像時,我的應用程序失敗。這是錯誤我得到:找不到graphicsmagick ...但已安裝?
[wyno.io] FS.Transform.createWriteStream transform function failed, Error:
[wyno.io] Exception in queued task: Error: cfs:graphicsmagick could not find "graphicsMagick" or "imageMagick"
[wyno.io] at gm (packages/cfs_graphicsmagick/packages/cfs_graphicsmagick.js:14:1)
[wyno.io] at Object.FS.Collection.stores.FS.Store.GridFS.transformWrite (both/collections.js:10:1)
[wyno.io] at packages/cfs_storage-adapter/packages/cfs_storage-adapter.js:355:1
[wyno.io] at addPassThrough (packages/cfs_storage-adapter/packages/cfs_storage-adapter.js:421:1)
[wyno.io] at [object Object].FS.Transform.createWriteStream (packages/cfs_storage-adapter/packages/cfs_storage-adapter.js:352:1)
[wyno.io] at Object.self.adapter.createWriteStream (packages/cfs_storage-adapter/packages/cfs_storage-adapter.js:171:1)
[wyno.io] at saveCopy (packages/cfs_worker/packages/cfs_worker.js:180:1)
[wyno.io] at Object.fsCollection.files.find.observe.added (packages/cfs_worker/packages/cfs_worker.js:42:1)
[wyno.io] at [object Object].observeChangesCallbacks.added (packages/minimongo/observe.js:153:1)
[wyno.io] at self.applyChange.added (packages/minimongo/observe.js:53:1)
看起來像graphicsMagick和imageMagick不在你的應用程序進程所有者的$ PATH下(根據源代碼https://github.com/CollectionFS/Meteor- CFS-實:graphicsmagick /斑點/主/ gm.js)。您能否提供有關您的部署環境的更多信息? (e,g,EC2) –
是的,當然。我正在使用Ubuntu 14.04部署到數字海洋液滴。我剛剛使用apt-get install安裝了graphicsmagick/imagemagick。 MUP在部署到此服務器時意識到它們在那裏,因爲它在部署時停止給我提供錯誤,但是現在當我嘗試在運行時調用轉換函數時出現此錯誤。 –
@RyanWu你有什麼機會從這個信息中推斷出另一個進步?我仍然堅持下去。 –