6.0.0-alpha12
6/7/25

[#11366] Ansel cli tool does not regocnize jpg
Summary Ansel cli tool does not regocnize jpg
Queue Ansel
Queue Version 2.0.1
Type Bug
State Not A Bug
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester Twilek (at) gmx (dot) de
Created 08/19/2012 (4675 days ago)
Due
Updated 08/25/2012 (4669 days ago)
Assigned 08/25/2012 (4669 days ago)
Resolved 08/25/2012 (4669 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/25/2012 05:20:14 PM Michael Rubinsky State ⇒ Not A Bug
 
08/25/2012 05:16:23 PM Twilek (at) gmx (dot) de Comment #3 Reply to this comment
This works fine for me on multiple installations. It sounds like 
either a corrupt image file or a missing/corrupt mime magic database.
Yup my bad.... I used the one bundled with apache not the one 
generated by the file command... ansel CLI now works without problems...

Thanks
08/25/2012 04:48:18 PM Michael Rubinsky Comment #2
Assigned to Michael Rubinsky
State ⇒ Feedback
Reply to this comment
This works fine for me on multiple installations. It sounds like 
either a corrupt image file or a missing/corrupt mime magic database.
08/19/2012 07:40:43 PM Twilek (at) gmx (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Ansel cli tool does not regocnize jpg
Queue ⇒ Ansel
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
When I try to add images to ansel via the ansel cli tool I get the 
following error when adding jpg files...

root@s15425672:~# ansel -u xxx -p xxx -d /xxx//xxx/Cam/ import
[   OK   ] Logged in successfully as "xxx".
[  INFO  ] Creating gallery: "Cam"
[   OK   ] Die Galerie "Cam" wurde erfolgreich erstellt.

====================

Schwerer Fehler:
Unbekannter Dateityp "/xxx/xxx/Cam/Cam20120427s045821924.jpg" kann 
nicht verarbeitet werden.

1. Ansel_Cli_Helper_Local->processDirectory() /usr/bin/ansel:164
2. Ansel::getImageFromFile() /usr/bin/ansel:621

====================

I have a working Imagemagick configuration... Is that a bug or a 
misconfiguration on my part?

For non German speakers the error reads something like
Fatal Error:
Unknown filetype  "/xxx/xxx/Cam/Cam20120427s045821924.jpg" can not be 
processed

Saved Queries