Can't import my Canon G10 pictures

Skal111

Joined: 2009-11-12
Posts: 3
Posted: Thu, 2009-11-12 12:14

Hello all,

I have the strangest problem... I've been using Gallery for quite some time without problems. I was able to create many photo albums import photos etc... I just bought a new camera : a Canon G10 and I can't import any photo made with this camera using Gallery.

In order to isolate the problem I tried uploading photos taken with my other camera which worked fine. Then I tried to edit one of the G10's picture with Gimp, I resized it (90% of original) saved it as a new JPG file and tried to import it to my gallery and it worked...

So at this point I'm completly lost.

Here is the error I get :

Error (ERROR_PLATFORM_FAILURE)

* in modules/core/classes/GalleryDataItem.class at line 173 (GalleryCoreApi::error)
* in modules/core/classes/GalleryPhotoItem.class at line 104 (GalleryDataItem::create)
* in modules/core/classes/helpers/GalleryItemHelper_medium.class at line 148 (GalleryPhotoItem::create)
* in modules/core/classes/GalleryCoreApi.class at line 1583 (GalleryItemHelper_medium::addItemToAlbum)
* in modules/itemadd/ItemAddFromServer.inc at line 185 (GalleryCoreApi::addItemToAlbum)
* in modules/itemadd/ItemAddFromServer.inc at line 113 (ItemAddFromServer::addItem)
* in modules/core/ItemAdd.inc at line 84 (ItemAddFromServer::handleRequest)
* in main.php at line 231 (ItemAddController::handleRequest)
* in main.php at line 94
* in main.php at line 83


Gallery version = 2.2.5 kernel 1.2.0.7
PHP version = 5.2.11-pl0-gentoo apache2handler
Webserver = Apache
Database = postgres7 8.1.11 3 8.1.11, lock.system=database
Toolkits = SquareThumb, ArchiveUpload, Dcraw, Exif, Ffmpeg, Getid3, LinkItemToolkit, Thumbnail, Gd, ImageMagick
Acceleration = none, none
Operating System = Linux Maverick 2.6.30-gentoo-r4 #1 SMP Sat Aug 8 09:21:01 CEST 2009 i686
Default theme = carbon
gettext = activated
Language = fr_FR
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5
Lines in table GalleryAccessMap = 27
Lines in table GalleryAccessSubscriberMap = 4616
Lines in table GalleryUser = 8
Lines in table GalleryItem = 4611
Lines in table GalleryAlbumItem = 82
Lines in table GalleryCacheMap = 0

My gallery URL : http://maverick.grotte.org/gallery/main.php

My PHP info : http://maverick.grotte.org/phpinfo.php

The debug file generated by the import image operation : http://maverick.grotte.org/gallery-debug.log

One of the many images which I use to reproduce the problem : http://maverick.grotte.org/IMG_0147.JPG

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Thu, 2009-11-12 12:26

Try uninstalling the EXIF plugin. Aldo uninstall GD. If ImageMagick is working, there's no need or reason to have GD installed.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Skal111

Joined: 2009-11-12
Posts: 3
Posted: Thu, 2009-11-12 13:24

I uninstalled GD and EXIF plugins but the problem persists. :-(

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Thu, 2009-11-12 17:32

You image imports just fine for me. This doesn't happen to be on free.fr?

If so, see this thread:
http://gallery.menalto.com/node/64888
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Skal111

Joined: 2009-11-12
Posts: 3
Posted: Fri, 2009-11-13 08:39

My ISP is free.fr indeed but I'm not using their personnal webpage to host my gallery. This is my own Linux box.

I finally ran a batch convert on all my images and I'm now able to import them. Seems like this is the workaround I'll be using from now on :-/

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2009-11-13 14:38

Do you have root access on the server then? If so, I'd try making sure ImageMagick is up to date and seeing where the resources are getting choked to prevent this file from importing.

Wait a minute, I don't know why I didn't see this before:
upload_max_filesize = 2M

FAQ: Why can't I upload big files (over a megabyte or two)?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here