F-Spot to Gallery2 with Raw (NEF)

rpickler

Joined: 2007-10-19
Posts: 10
Posted: Fri, 2007-10-19 19:57

I posted this question to the F-Spot user's list, and Chris Kelly pointed me here, thinking it may actually be a problem with Gallery Remote.

I'm trying to post a Raw (NEF) file using F-Spot, but when I do, the thumbnail and viewable formats are not generated on the server. However, the raw file does get uploaded and I can get it from both the directory gallery puts it in, and download it through the web site.

When I upload the raw file through the standard upload page, it works as I expect. I am not too familiar with running and administering web apps, but I am a linux software developer, so if someone points me in the right direction, I can help debug this for you.

I'll post version information for all the programs involved when I get home from work tonight.

 
ckdake
ckdake's picture

Joined: 2004-02-18
Posts: 2258
Posted: Mon, 2007-10-22 14:41

Could you please post the version information? we'll need that to be able to help out. Some other things to try:

* "rebuild thumbs and resizes" for the album in the web UI and see if they generate then.
* upgrade to a recently nightly build of G2. They're very stable and because we're close to releasing 2.3, it has a lot of fixes in it that aren't in a "real" release yet

____
http://ckdake.com/ - If you found my help useful, please consider donating to Gallery.

 
rpickler

Joined: 2007-10-19
Posts: 10
Posted: Mon, 2007-10-22 16:42

Sorry I didn't get this up for you. I'm running it on ubuntu gutsy under a xen image. Everything is up to date, and as for your first option, no, the rebuild thumbs thing doesn't do the trick. If I have time this week, I'll try out building a new version of G2

Here's all the version information.

Gallery version = 2.2.1 core 1.2.0.1
PHP version = 5.2.3-1ubuntu6 apache2handler
Webserver = Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6
Database = mysql 5.0.45-Debian_1ubuntu3-log, lock.system=database
Toolkits = ImageMagick, Dcraw, Exif, Ffmpeg, Getid3, NetPBM, SquareThumb, Thumbnail, Gd, LinkItemToolkit
Acceleration = full/900, partial/900
Operating system = Linux external 2.6.19-4-generic-amd64 #2 SMP Thu Apr 5 05:57:13 UTC 2007 x86_64
Default theme = gecko
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2) Gecko/20070224 Firefox/2.0.0.2
Rows in GalleryAccessMap table = 178
Rows in GalleryAccessSubscriberMap table = 93
Rows in GalleryUser table = 3
Rows in GalleryItem table = 91
Rows in GalleryAlbumItem table = 7
Rows in GalleryCacheMap table = 120

 
ckdake
ckdake's picture

Joined: 2004-02-18
Posts: 2258
Posted: Mon, 2007-10-22 17:05

What error messages does rebuild thumbs give you?

Try "site admin" => "Build all thumbnails/resizes"

That should give some more verbose error messages, and you can enable buffered debug mode in config.php to get even more debugging information sent to your browser.

____
http://ckdake.com/ - If you found my help useful, please consider donating to Gallery.

 
rpickler

Joined: 2007-10-19
Posts: 10
Posted: Mon, 2007-10-22 17:18

Right now, I've removed the raw photos from my gallery, so I'll have to answer this when I get home tonight.

 
rpickler

Joined: 2007-10-19
Posts: 10
Posted: Sat, 2007-10-27 04:54

Alright, I've done the "Build all thumbnails/resizes" and it fails, and I've created a log file, and attached it to this post (gzipped it). Good luck, there's a lot there.

Now that I've done this, I'm going to attempt to install the nightly build of gallery2. I'll let you all know how that goes.

 
rpickler

Joined: 2007-10-19
Posts: 10
Posted: Sat, 2007-10-27 04:57

Alright, for some odd reason, the log file is getting corrupted somewhere in the path through this forum. You can download it from here:

http://rpickler.dyndns.org/drupal/files/rebuild.log.gz

 
rpickler

Joined: 2007-10-19
Posts: 10
Posted: Sat, 2007-10-27 05:37

After doing the upgrade, it does not appear it fixed my problem.

 
ckdake
ckdake's picture

Joined: 2004-02-18
Posts: 2258
Posted: Sat, 2007-10-27 20:00

The only problems I see in there right aware are:

Error (ERROR_TOOLKIT_FAILURE)<b>in</b> modules/imagemagick/classes/ImageMagickToolkit.class <b>at line</b> 620 (GalleryCoreApi::error)

Perhaps try disabling ImageMagick, using netpbm, and trying a rebuild again?

____
http://ckdake.com/ - If you found my help useful, please consider donating to Gallery.

 
rpickler

Joined: 2007-10-19
Posts: 10
Posted: Sat, 2007-10-27 21:12

I progressively disabled all the toolkits except dcraw and I get similar errors in one toolkit or the other. Well, actually, when I disabled Gd, then really nothing worked, because then there wasn't a jpeg toolkit to even use.

 
ckdake
ckdake's picture

Joined: 2004-02-18
Posts: 2258
Posted: Wed, 2007-10-31 14:05

Hmm. I'm out of ideas for the moment then. Hopefully another developer will comment on this. I'll do some asking around.

____
http://ckdake.com/ - If you found my help useful, please consider donating to Gallery.

 
rpickler

Joined: 2007-10-19
Posts: 10
Posted: Wed, 2007-10-31 16:46

Would a log from gallery help during the process of uploading from f-spot? I've wanted to get one of those in this thread for you, but my heater broke this week, which made my apartment really really cold, so I haven't been home much in the last few days :)

 
ckdake
ckdake's picture

Joined: 2004-02-18
Posts: 2258
Posted: Wed, 2007-10-31 17:12

The more logs the merrier! An accesslog would NOT be particularly interesting though....

____
http://ckdake.com/ - If you found my help useful, please consider donating to Gallery.

 
rpickler

Joined: 2007-10-19
Posts: 10
Posted: Wed, 2007-10-31 19:14

Well, in your knowledge, could you guide me to get the most useful log for this purpose? Not just the httpd access log, but will the gallery log I did above be sufficient, or do I need to hack some stuff at a lower level to get you the information you need?

 
ckdake
ckdake's picture

Joined: 2004-02-18
Posts: 2258
Posted: Thu, 2007-11-01 03:41

I honestly don't know. i'll try to get someone that might to look at this.

Do JPGs uploaded from F-Spot work properly?

____
http://ckdake.com/ - If you found my help useful, please consider donating to Gallery.

 
rpickler

Joined: 2007-10-19
Posts: 10
Posted: Thu, 2007-11-01 16:31

Yes, jpegs work perfectly fine. Tiffs do not, if I recall correctly. I have some panoramic images I store in tiff, and for some reason, I remember having a problem getting them up to the server.