This is the bug tracker for Photo Organizer.
FS#330 - Import of big images fail.
Attached to Project:
Photo Organizer
Opened by Rolf Cronberg (rolfcronberg) - Sunday, 17 February 2008, 06:36 GMT-4
Last edited by Solomon Peachy (pizza) - Monday, 18 February 2008, 10:25 GMT-4
Opened by Rolf Cronberg (rolfcronberg) - Sunday, 17 February 2008, 06:36 GMT-4
Last edited by Solomon Peachy (pizza) - Monday, 18 February 2008, 10:25 GMT-4
|
DetailsI try to import an image larger than 10 Mb. The result is the same for all images larger than 10 Mb
The image is not imported and the result is as follows. Importing 'DSC_1803.NEF' (Nikon Raw Format) into folder Testing. * Extracting Image Metadata (EXIF) ... done * Extracting Image Metadata (XMP) ... done * Extracting Image Metadata (IPTC) ... done * ERROR: current transaction is aborted, commands ignored until end of transaction block * Failed to update database. * insert into photo (identifier, users, folder, location, caption, date_of_exposure, access_rights, copyright_statement, views, hide_original, author, title, caption_writer, category, credit, source, headline, instructions, transmission_reference, supplemental_category, web_statement, store_url, comments) values (748, '2', '12', 0, '', '2007-12-23 15:59:29', '1', 'Copyright (c) 2008 Rolf Cronberg', 0, 't', 'Rolf Cronberg', 'ERIK CRONBERG', '', '', '', '', '', '', '', '', '', '', '') * Cleaning up the mess. All images imported. |
This task depends upon
Closed by Solomon Peachy (pizza)
Monday, 18 February 2008, 10:25 GMT-4
Reason for closing: Fixed
Additional comments about closing: r1916.
Monday, 18 February 2008, 10:25 GMT-4
Reason for closing: Fixed
Additional comments about closing: r1916.
ALso, your web server may be configured to limit the max size too.
I routinely upload a couple hundred megs at once; and indeed many of my individual images are over 10M.
I get the same result on your demosite for the stable version. It seem to be related to the database transaction.
Importing 'DSC_1803.NEF' (Nikon Raw Format) into folder test.
* Extracting Image Metadata (EXIF) ... done
* Extracting Image Metadata (XMP) ... done
* Extracting Image Metadata (IPTC) ... done
* ERROR: current transaction is aborted, commands ignored until end of transaction block
* Failed to update database.
*
insert into photo
(identifier, users, folder, location,
caption, date_of_exposure, access_rights, copyright_statement,
views, hide_original, author, title,
caption_writer, category, credit, source,
headline, instructions, transmission_reference,
supplemental_category, web_statement, store_url, comments)
values (872, '417', '859', 0,
'', '2007-12-23 15:59:29', '1', 'Copyright (c) 2008 Rolf Cronberg',
0, 't', 'Rolf Cronberg', 'ERIK CRONBERG',
'', '', '', '',
'', '', '',
'', '', '', '')
* Cleaning up the mess.
All images imported.
With best regards
Rolf Cronberg
Can you attach the file you're using, so I can watch the logs when I upload it?
The ISO value in the file is 'Hi 3200' -- since we treat it as a numeric value, the DB chokes.
I can change the ISO value manually, but what would you say about the future. Maybe it shouldn't be a numeric value In this case it come from a Nikon D80.
Errormessage changed to
2008-02-17 18:25:12 CET ERROR: invalid input syntax for integer: "Hi 3200"
2008-02-17 18:25:12 CET STATEMENT:
select identifier
from film_iso
where value = 'Hi 3200'
Would you be interested in a translation to Swedish?
And yes, I'd love a Swedish translation. The more the merrier...