[ubuntu-mono] [Bug 653327] Re: f-spot crashes when image has wrong date
Paul McGarry
paul at paulmcgarry.com
Wed Oct 13 22:01:12 UTC 2010
I am experiencing the same problem, which I think stems from an import
attempt thinking some files had a date 0f 01/01/0001.
If I look in my photos dir now there it looks like:
paulm at noobuntu:~/Photos$ ls -l
total 20
drwxr-xr-x 3 paulm paulm 4096 2010-10-13 19:41 1
drwxr-xr-x 5 paulm paulm 4096 2008-12-28 11:56 2007
drwxr-xr-x 8 paulm paulm 4096 2009-11-23 11:29 2008
drwxr-xr-x 11 paulm paulm 4096 2009-12-20 10:27 2009
drwxr-xr-x 9 paulm paulm 4096 2010-10-02 15:44 2010
paulm at noobuntu:~/Photos$ tree 1
1
`-- 01
`-- 01
|-- IMG_3048.CR2
|-- IMG_3049.CR2
|-- IMG_3050.CR2
etc
The exif data on the file doesn't seem to contain anything to suggest
why F-spot chose that date for the files, eg:
paulm at noobuntu:~/Photos$ exiftool 1/01/01/IMG_3147.CR2
ExifTool Version Number : 8.15
File Name : IMG_3147.CR2
Directory : 1/01/01
File Size : 11 MB
File Modification Date/Time : 2010:07:17 09:30:18+10:00
File Permissions : rw-r--r--
File Type : CR2
MIME Type : image/x-raw
Exif Byte Order : Little-endian (Intel, II)
Image Width : 3456
Image Height : 2304
Bits Per Sample : 8 8 8
Compression : JPEG (old-style)
Make : Canon
Camera Model Name : Canon EOS 350D DIGITAL
Preview Image Start : 9728
Orientation : Horizontal (normal)
Preview Image Length : 4040422
X Resolution : 72
Y Resolution : 72
Resolution Unit : inches
Modify Date : 2010:07:17 10:30:14
Exposure Time : 1/125
F Number : 5.6
Exposure Program : Program AE
ISO : 1600
Exif Version : 0221
Date/Time Original : 2010:07:17 10:30:14
Create Date : 2010:07:17 10:30:14
Components Configuration : -, -, -, -
Shutter Speed Value : 1/125
Aperture Value : 5.6
Flash : Off, Did not fire
Focal Length : 270.0 mm
Macro Mode : Normal
Self Timer : Off
Quality : RAW
Canon Flash Mode : Off
Continuous Drive : Continuous
Focus Mode : One-shot AF
Record Mode : CR2+JPEG
Canon Image Size : Unknown (-1)
Easy Mode : Manual
Digital Zoom : None
Contrast : +1
Saturation : +1
Sharpness : +1
Metering Mode : Evaluative
Focus Range : Not Known
Canon Exposure Mode : Program AE
Lens Type : Unknown (-1)
Long Focal : 300 mm
Short Focal : 70 mm
Focal Units : 1/mm
Flash Activity : 0
Flash Bits : (none)
Focus Continuous : Single
Zoom Source Width : 0
Zoom Target Width : 0
Photo Effect : Off
Manual Flash Output : n/a
Focal Type : Zoom
Focal Plane X Size : 23.04 mm
Focal Plane Y Size : 15.37 mm
Auto ISO : 100
Base ISO : 1600
Measured EV : 8.00
Target Aperture : 5.6
Target Exposure Time : 1/125
Exposure Compensation : 0
White Balance : Fluorescent
Slow Shutter : None
Shot Number In Continuous Burst : 0
Optical Zoom Code : n/a
Flash Guide Number : 0
Flash Exposure Compensation : 0
Auto Exposure Bracketing : Off
AEB Bracket Value : 0
Control Mode : Camera Local Control
Measured EV 2 : 8
Bulb Duration : 0
Camera Type : EOS Mid-range
Auto Rotate : None
ND Filter : Unknown (-1)
Self Timer 2 : 0
Canon Image Type : Canon EOS 350D DIGITAL
Canon Firmware Version : Firmware 1.0.2
Owner Name : Paul McGarry
Camera Body No. : 0530428706
Set Button Cross Keys Func : Normal
Long Exposure Noise Reduction : Off
Flash Sync Speed Av : Auto
Shutter-AE Lock : AF/AE lock
AF Assist Beam : Emits
Exposure Level Increments : 1/3 Stop
Mirror Lockup : Disable
E-TTL II : Evaluative
Shutter Curtain Sync : 1st-curtain sync
Canon Model ID : EOS Digital Rebel XT / 350D / Kiss Digital N
Num AF Points : 7
Valid AF Points : 7
Canon Image Width : 3456
Canon Image Height : 2304
AF Image Width : 3456
AF Image Height : 2304
AF Area Width : 189
AF Area Height : 188
AF Area X Positions : 0 -1237 -742 0 742 1237 0
AF Area Y Positions : -617 0 0 0 0 0 617
AF Points In Focus : 1,2,4
Thumbnail Image Valid Area : 0 159 7 112
Serial Number Format : Format 2
Original Decision Data Offset : 0
File Number : 131-3147
Bracket Mode : Off
Bracket Value : 0
Bracket Shot Number : 0
Raw Jpg Quality : Fine
Raw Jpg Size : Large
Long Exposure Noise Reduction 2 : Off
WB Bracket Mode : Off
WB Bracket Value AB : 0
WB Bracket Value GM : 0
Filter Effect : None
Toning Effect : None
Tone Curve : Standard
Sharpness Frequency : n/a
Sensor Red Level : 0
Sensor Blue Level : 0
White Balance Red : 0
White Balance Blue : 0
Color Temperature : 5200
Picture Style : None
Digital Gain : 0
WB Shift AB : 0
WB Shift GM : 0
Measured RGGB : 326 1024 1024 267
VRD Offset : 0
Sensor Width : 3516
Sensor Height : 2328
Sensor Left Border : 52
Sensor Top Border : 19
Sensor Right Border : 3507
Sensor Bottom Border : 2322
Black Mask Left Border : 0
Black Mask Top Border : 0
Black Mask Right Border : 0
Black Mask Bottom Border : 0
WB RGGB Levels As Shot : 1993 1031 1031 2147
Color Temp As Shot : 3903
WB RGGB Levels Auto : 2645 1023 1023 1984
Color Temp Auto : 4740
WB RGGB Levels Daylight : 2359 1023 1023 1587
Color Temp Daylight : 5200
WB RGGB Levels Shade : 2801 1023 1023 1319
Color Temp Shade : 7000
WB RGGB Levels Cloudy : 2580 1023 1023 1435
Color Temp Cloudy : 6000
WB RGGB Levels Tungsten : 1545 1023 1023 2488
Color Temp Tungsten : 3203
WB RGGB Levels Fluorescent : 1969 1023 1023 2121
Color Temp Fluorescent : 3903
WB RGGB Levels Flash : 2679 1023 1023 1384
Color Temp Flash : 6440
WB RGGB Levels Custom 1 : 2757 1023 1023 1334
Color Temp Custom 1 : 6847
WB RGGB Levels Custom 2 : 2359 1023 1023 1587
Color Temp Custom 2 : 5200
Color Tone : Normal
User Comment :
Flashpix Version : 0100
Color Space : sRGB
Exif Image Width : 3456
Exif Image Height : 2304
Interoperability Index : R98 - DCF basic file (sRGB)
Interoperability Version : 0100
Focal Plane X Resolution : 3954.23341
Focal Plane Y Resolution : 3958.762887
Focal Plane Resolution Unit : inches
Custom Rendered : Normal
Exposure Mode : Auto
Scene Capture Type : Standard
Thumbnail Offset : 4050662
Thumbnail Length : 6109
Photometric Interpretation : RGB
Samples Per Pixel : 3
Rows Per Strip : 256
Planar Configuration : Chunky
Strip Offsets : 4352707
Strip Byte Counts : 7383467
Raw Image Segmentation : 1 1758 1758
Aperture : 5.6
Drive Mode : Continuous shooting
Image Size : 3456x2304
Lens : 70.0 - 300.0 mm
Lens ID : Unknown 70-300mm
Preview Image : (Binary data 4040422 bytes, use -b option to extract)
Scale Factor To 35 mm Equivalent: 1.6
Shooting Mode : Program AE
Shutter Speed : 1/125
Thumbnail Image : (Binary data 6109 bytes, use -b option to extract)
WB RGGB Levels : 1993 1031 1031 2147
Blue Balance : 2.082444
Circle Of Confusion : 0.019 mm
Field Of View : 4.9 deg
Focal Length : 270.0 mm (35 mm equivalent: 421.8 mm)
Hyperfocal Distance : 676.92 m
Lens : 70.0 - 300.0 mm (35 mm equivalent: 109.4 - 468.7 mm)
Light Value : 7.9
Red Balance : 1.933075
Moving the "1" dir away isn't sufficient to resolve the problem.
F-Spot still crashes when I start so I assume there's something in the photos.db sqlite database that is the source of the error.
I guess there are two issues here:
- The importing of the files with an incorrect date.
- F-spot not gracefully handling the error the import has been done.
--
f-spot crashes when image has wrong date
https://bugs.launchpad.net/bugs/653327
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to f-spot in ubuntu.
Status in “f-spot” package in Ubuntu: Incomplete
Bug description:
Binary package hint: f-spot
f-spot crashes when the gallery contains an image which has an invalid date. f-spot can not be started / crashes on each start.
This should be handled and not result in an application crash.
Exception in Gtk# callback delegate
Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.ArgumentOutOfRangeException: Argument is out of range.
at System.DateTime.DaysInMonth (Int32 year, Int32 month) [0x00000] in <filename unknown>:0
at FSpot.TimeAdaptor.DateFromIndexDescending (Int32 item) [0x00000] in <filename unknown>:0
at FSpot.TimeAdaptor.DateFromIndex (Int32 item) [0x00000] in <filename unknown>:0
at FSpot.TimeAdaptor.TickLabel (Int32 item) [0x00000] in <filename unknown>:0
at FSpot.GroupSelector.HandleAdaptorChanged (FSpot.GroupAdaptor adaptor) [0x00000] in <filename unknown>:0
at (wrapper delegate-invoke) FSpot.GroupAdaptor/ChangedHandler:invoke_void__this___GroupAdaptor (FSpot.GroupAdaptor)
at FSpot.TimeAdaptor+<DoReload>c__AnonStorey19.<>m__6B () [0x00000] in <filename unknown>:0
at FSpot.Driver+<RunIdle>c__AnonStorey11.<>m__50 () [0x00000] in <filename unknown>:0
at GLib.Idle+IdleProxy.Handler () [0x00000] in <filename unknown>:0
at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
at GLib.Idle+IdleProxy.Handler()
at Gtk.Application.gtk_main()
at Gtk.Application.Run()
at FSpot.Driver.Startup()
at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler startup)
at FSpot.Driver.Main(System.String[] args)
More information about the Ubuntu-mono
mailing list