[KPhotoAlbum] charset="InvalidCharsetId"

Joe josephj at main.nc.us
Fri Jul 3 23:45:00 CEST 2009


[Repost of message originally sent to jedd off list]

Since this was originally sent (off list), it has been determined that:
The problem has to do with the exif information.
An old picture that did not come from this camera did no have this problem.

jedd wrote:
>  Hi Joe, and welcome to the KPA list.
>
>   
>> It beats the heck out of Picasa (although I do miss multiple albums).
>> And they have a lot more money and programmers to work with.
>>     
>
>  They may have more money, but our programmers are
>  smarter and more helpful!  (And they're not immune to
>  the effects of flattery, apparently.)
>
>   
>> When I select Annotate Items, all of my items (all created and
>> uploaded by me from my camera - Olympus FE230) have what looks like a
>> notes or comments box which contains (only):
>> *charset="InvalidCharsetId" .  *I assume somebody is using a font,
>> etc. that's not on my machine.
>>
>> How do I find out what font, etc. is missing and how do I fix it?
>>     
>
>  Interesting problem.
>
>  What I'd do (but some of this depends on your level of
>  expertise, interest, and patience - as someone who actually
>  knows the answer may pop up in a few minutes).
>
>  Bang in a photo that didn't come from your camera - this is
>  to prove out that it's related to your system (font) and not
>  your camera doing something weird.
>
>  If the problem persists ...
>
>  I'd run exifinfo / exiflist against one of the guilty pictures, and
>  do a visual check on whether there are some obvious weirdnesses
>  with the exifinfo.  I'm assuming it's exif rather than filenames that
>  are confusing the app here, as your mail address ends in .us
>
>  I'd then run kpa using the strace command - this will be packaged
>  up for Ubuntu - and is a powerful and useful command to know, if
>  you don't already.  You run (from a konsole)
>
>  $   strace   kphotoalbum
>
>  You'll get a *LOT* of gumpf come through, which you can ignore,
>  but go back to the konsole when you start to see the charset=Invalid
>  message, and see if you can identify what font is failing to be
>  found.  For extra points you'd tee the output of strace so you can
>  grep it later.
>
>  Jedd.
>
> _______________________________________________
> KPhotoAlbum mailing list
> KPhotoAlbum at kdab.net
> http://mail.kdab.net/mailman/listinfo/kphotoalbum
>
>   
Tried the strace.
1) only "interesting" thing I saw was a bunch of:
read(5, 0x8277154, 4096) = -1 EAGAIN (Resource temporarily unavailable)

messages interspersed with stuff that looked normal. (and it froze my
konsole session so bad, I had to close the session.)

2) tried to do a tee, but kpa took tee as one of it's arguments so that
didn't work. I didn't try to fool around with subshells, etc. to get
around that.

3) Output from exifprobe follows for one of the pictures that has this
error message.

TIA

Joe

bigbird at sananda:/media/windoze/Documents and Settings/Owner/My
Documents/Images/Rita/Olympus/Inbox4$ clear; exifprobe p6280521.jpg
File Name = p6280521.jpg
File Type = JPEG
File Size = 1160665
@000000000=0 : <JPEG_SOI>
@0x0000002=2 : <JPEG_APP1> 0xffe1 length 18501, 'Exif'
@0x000000c=12 : TIFF(II=0x4949) magic=0x002a='*\0' ifd offset = 8 (+ 12
= 0x14/20)
@0x0000014=20 : <IFD 0> 12 entries starting at file offset 0x16=22
@0x0000016=22 : <0x010e= 270> ImageDescription [2 =ASCII 32] = @0xaa=170
@0x0000022=34 : <0x010f= 271> Make [2 =ASCII 24] = @0xca=202
@0x000002e=46 : <0x0110= 272> Model [2 =ASCII 24] = @0xe2=226
@0x000003a=58 : <0x0112= 274> Orientation [3 =SHORT 1] = 1 = '0,0 is top
left'
@0x0000046=70 : <0x011a= 282> XResolution [5 =RATIONAL 1] = @0xfa=250
@0x0000052=82 : <0x011b= 283> YResolution [5 =RATIONAL 1] = @0x102=258
@0x000005e=94 : <0x0128= 296> ResolutionUnit [3 =SHORT 1] = 2 = 'pixels
per inch'
@0x000006a=106 : <0x0131= 305> Software [2 =ASCII 32] = @0x10a=266
@0x0000076=118 : <0x0132= 306> DateTime [2 =ASCII 20] = @0x12a=298
@0x0000082=130 : <0x0213= 531> YCbCrPositioning [3 =SHORT 1] = 2 =
'co-sited'
@0x000008e=142 : <0x8769=34665> ExifIFDPointer [4 =LONG 1] = @0x3f0=1008
@0x000009a=154 : <0xc4a5=50341> PrintIM [7 =UNDEFINED 690] = @0x13e=318
@0x00000a6=166 : **** next IFD offset 1620(+ 12 = 0x660/1632)
@0x00000aa=170 : ============= VALUES, IFD 0 ============
@0x00000aa=170 : ImageDescription = 'OLYMPUS DIGITAL CAMERA \0'
@0x00000ca=202 : Make = 'OLYMPUS IMAGING CORP. \0'
@0x00000e2=226 : Model = 'FE230/X790 \0'
@0x00000fa=250 : XResolution = 72
@0x0000102=258 : YResolution = 72
@0x000010a=266 : Software = 'Version 1.0 \0'
@0x000012a=298 : DateTime = '2009:06:28 14:51:30\0'
@0x00003f0=1008 : <EXIF IFD> (in IFD 0) 33 entries starting at file
offset 0x3f2=1010
@0x00003f2=1010 : <0x829a=33434> ExposureTime [5 =RATIONAL 1] = @0x582=1410
@0x00003fe=1022 : <0x829d=33437> FNumber [5 =RATIONAL 1] = @0x58a=1418
@0x000040a=1034 : <0x8822=34850> ExposureProgram [3 =SHORT 1] = 5 =
'Creative Program'
@0x0000416=1046 : <0x8827=34855> ISOSpeedRatings [3 =SHORT 1] = 400
@0x0000422=1058 : <0x9000=36864> Version [7 =UNDEFINED 4] = '0221'
@0x000042e=1070 : <0x9003=36867> DateTimeOriginal [2 =ASCII 20] =
@0x592=1426
@0x000043a=1082 : <0x9004=36868> DateTimeDigitized [2 =ASCII 20] =
@0x5a6=1446
@0x0000446=1094 : <0x9101=37121> ComponentsConfiguration [7 =UNDEFINED
4] = 1,2,3,0 = 'YCbCr'
@0x0000452=1106 : <0x9102=37122> CompressedBitsPerPixel [5 =RATIONAL 1]
= @0x5ba=1466
@0x000045e=1118 : <0x9204=37380> ExposureBiasValue [10=SRATIONAL 1] =
@0x5c2=1474
@0x000046a=1130 : <0x9205=37381> MaxApertureValue [5 =RATIONAL 1] =
@0x5ca=1482
@0x0000476=1142 : <0x9207=37383> MeteringMode [3 =SHORT 1] = 5 = 'Pattern'
@0x0000482=1154 : <0x9208=37384> LightSource [3 =SHORT 1] = 0 = 'unknown'
@0x000048e=1166 : <0x9209=37385> Flash [3 =SHORT 1] = 16 = 'no flash -
suppressed'
@0x000049a=1178 : <0x920a=37386> FocalLength [5 =RATIONAL 1] = @0x5d2=1490
@0x00004a6=1190 : <0x927c=37500> MakerNote [7 =UNDEFINED 6080] = @0x6dc=1756
@0x00004b2=1202 : <0x9286=37510> UserComment [7 =UNDEFINED 126] =
@0x5da=1498
@0x00004be=1214 : <0xa000=40960> FlashPixVersion [7 =UNDEFINED 4] = '0100'
@0x00004ca=1226 : <0xa001=40961> ColorSpace [3 =SHORT 1] = 1 = 'sRGB'
@0x00004d6=1238 : <0xa002=40962> PixelXDimension [4 =LONG 1] = 3072
@0x00004e2=1250 : <0xa003=40963> PixelYDimension [4 =LONG 1] = 2304
@0x00004ee=1262 : <0xa005=40965> Interoperability [4 =LONG 1] = @0x6be=1726
@0x00004fa=1274 : <0xa300=41728> FileSource [7 =UNDEFINED 1] = 3 = 'DSC'
@0x0000506=1286 : <0xa301=41729> SceneType [7 =UNDEFINED 1] = 1 =
'direct photo'
@0x0000512=1298 : <0xa401=41985> CustomRendered [3 =SHORT 1] = 0 = 'Normal'
@0x000051e=1310 : <0xa402=41986> ExposureMode [3 =SHORT 1] = 0 = 'Auto'
@0x000052a=1322 : <0xa403=41987> WhiteBalance [3 =SHORT 1] = 0 = 'Auto'
@0x0000536=1334 : <0xa404=41988> DigitalZoomRatio [5 =RATIONAL 1] =
@0x658=1624
@0x0000542=1346 : <0xa406=41990> SceneCaptureType [3 =SHORT 1] = 0 =
'Standard'
@0x000054e=1358 : <0xa407=41991> GainControl [3 =SHORT 1] = 2 = 'High
gain up'
@0x000055a=1370 : <0xa408=41992> Contrast [3 =SHORT 1] = 0 = 'Normal'
@0x0000566=1382 : <0xa409=41993> Saturation [3 =SHORT 1] = 0 = 'Normal'
@0x0000572=1394 : <0xa40a=41994> Sharpness [3 =SHORT 1] = 0 = 'Normal'
@0x000057e=1406 : **** next IFD offset 0
@0x0000582=1410 : ============= VALUES, EXIF IFD ============
@0x0000582=1410 : ExposureTime = 0.0333333 sec
@0x000058a=1418 : FNumber = 5.9 APEX = 'f7.7'
@0x0000592=1426 : DateTimeOriginal = '2009:06:28 14:51:30\0'
@0x00005a6=1446 : DateTimeDigitized = '2009:06:28 14:51:30\0'
@0x00005ba=1466 : CompressedBitsPerPixel = 2
@0x00005c2=1474 : ExposureBiasValue = 0 APEX
@0x00005ca=1482 : MaxApertureValue = 3.26 APEX = 'f3.1'
@0x00005d2=1490 : FocalLength = 18.9 mm
>0x00006dc=1756 : <MakerNote> length 6080, ID scheme, 28 entries
starting at offset 0x6e6/1766
>0x00006dc=1756 : MakerNoteId = 'OLYMP'
>0x00006e6=1766 : <0X0200= 512> SpecialMode [ 4=LONG 3] = @0x83a=2106
>0x00006f2=1778 : <0X0201= 513> CompressionMode [ 3=SHORT 1] = 1 = 'SQ'
>0x00006fe=1790 : <0X0202= 514> Macro [ 3=SHORT 1] = 0 = 'Normal'
>0x000070a=1802 : <0X0203= 515> BWMode [ 3=SHORT 1] = 0
>0x0000716=1814 : <0X0204= 516> DigitalZoom [ 5=RATIONAL 1] = @0x846=2118
>0x0000722=1826 : <0X0205= 517> FocalplaneDiagonal [ 5=RATIONAL 1] =
@0x84e=2126
>0x000072e=1838 : <0X0206= 518> TAG_0X0206 [ 8=SSHORT 6] = @0x856=2134
>0x000073a=1850 : <0X0207= 519> SoftwareRelease [ 2=ASCII 8] = @0x862=2146
>0x0000746=1862 : <0X0208= 520> PictureInfo [ 2=ASCII 60] = @0x86a=2154
>0x0000752=1874 : <0X0209= 521> CameraID [ 7=UNDEFINED 32] = @0x8a6=2214
>0x000075e=1886 : <0X020A= 522> TAG_0X020A [ 4=LONG 2] = @0x8c6=2246
>0x000076a=1898 : <0X0225= 549> TAG_0X0225 [ 2=ASCII 3] = '03\000'
>0x0000776=1910 : <0X0300= 768> PrecaptureFrames [ 3=SHORT 1] = 0
>0x0000782=1922 : <0X0301= 769> TAG_0X0301 [ 3=SHORT 1] = 0
>0x000078e=1934 : <0X0302= 770> OneTouchWB [ 3=SHORT 1] = 0
>0x000079a=1946 : <0X0303= 771> TAG_0X0303 [ 3=SHORT 1] = 0
>0x00007a6=1958 : <0X0304= 772> TAG_0X0304 [ 3=SHORT 1] = 0
>0x00007b2=1970 : <0X0306= 774> TAG_0X0306 [ 3=SHORT 1] = 0
>0x00007be=1982 : <0X0400= 1024> TAG_0X0400 [ 3=SHORT 1] = 1
>0x00007ca=1994 : <0X0401= 1025> TAG_0X0401 [ 3=SHORT 1] = 2
>0x00007d6=2006 : <0X0402= 1026> TAG_0X0402 [ 4=LONG 1] = 16797705
>0x00007e2=2018 : <0X0403= 1027> TAG_0X0403 [ 3=SHORT 1] = 31
>0x00007ee=2030 : <0X0404= 1028> TAG_0X0404 [ 2=ASCII 12] = @0x8ce=2254
>0x00007fa=2042 : <0X0405= 1029> TAG_0X0405 [ 2=ASCII 10] = @0x8da=2266
>0x0000806=2054 : <0X0F00= 3840> Data [ 7=UNDEFINED 1512] = @0x8e4=2276
>0x0000812=2066 : <0X0F01= 3841> TAG_0X0F01 [ 7=UNDEFINED 4048] =
@0xecc=3788
>0x000081e=2078 : <0X0F02= 3842> TAG_0X0F02 [ 3=SHORT 1] = 0
>0x000082a=2090 : <0X2020= 8224> CameraSettings [ 7=UNDEFINED 54] =
@0x1e9c=7836
>0x0000836=2102 : **** next IFD offset 0
>0x000083a=2106 : ============= VALUES, MakerNote ============
>0x000083a=2106 : SpecialMode = 0,0,0 = 'Normal'
>0x0000846=2118 : DigitalZoom = 1.71
>0x000084e=2126 : FocalplaneDiagonal = 7.162
>0x0000856=2134 : TAG_0X0206 = 284,466,474,242,373,360
>0x0000862=2146 : SoftwareRelease = 'D4336\0\0\0'
>0x000086a=2154 : PictureInfo = '[pictureInfo] Resolution=1 [Camera
Info] Type=D4336\0\0\0\0\0\0\0\0\0'
>0x00008a6=2214 : CameraID = 'OLYMPUS DIGITAL
CAMERA\0\377\377\377\377\377\377\377\377\377'
>0x00008c6=2246 : TAG_0X020A = 0,0
>0x00008ce=2254 : TAG_0X0404 = '000K77L89065'
>0x00008da=2266 : TAG_0X0405 = '79\0\0\0\0\0\0\0\0'
>0x00008e4=2276 : Data : length 1512 # UNDEFINED (not dumped, use -U)
>0x0000ecc=3788 : TAG_0X0F01 : length 4048 # UNDEFINED (not dumped, use -U)
>0x0001e9c=7836 : <CameraSettings SubIFD> (in MakerNote) 4 entries
starting at file offset 0x1e9e=7838
>0x0001e9e=7838 : <000000= 0> CameraSettingsVersion [7 =UNDEFINED 4] =
48,49,48,48 = '0100'
>0x0001eaa=7850 : <0x0100= 256> PreviewImageValid [4 =LONG 1] = 0 = 'No'
>0x0001eb6=7862 : <0x0101= 257> PreviewImageOffset [4 =LONG 1] = @0xc=12
>0x0001ec2=7874 : <0x0102= 258> PreviewImageLength [4 =LONG 1] = 0
>0x0001ece=7886 : **** next IFD offset 0
-0x0001ed1=7889 : </CameraSettings SubIFD> (in MakerNote)
>0x0001e9b=7835 : </MakerNote>
@0x00005da=1498 : UserComment = length 118+8: (CC=
0x00005da=1498 : 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
0x00005ea=1514 : 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
0x00005fa=1530 : 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
0x000060a=1546 : 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
0x000061a=1562 : 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
0x000062a=1578 : 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
0x000063a=1594 : 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
0x000064a=1610 : 20 20 20 20 20 20 20 20 20 20 20 20 20 00 | . |
>0x00006be=1726 : <Interoperability SubIFD> 2 entries starting at file
offset 0x6c0=1728
>0x00006c0=1728 : <0x0001= 1> InteroperabilityIndex [2 =ASCII 4] = 'R98'
>0x00006cc=1740 : <0x0002= 2> InteroperabilityVersion [7 =UNDEFINED 4] =
'0100'
>0x00006d8=1752 : **** next IFD offset 0
?0x000065f=1631 : </Interoperability SubIFD>
@0x0000658=1624 : DigitalZoomRatio = 1.71
<0x000065f=1631 : </EXIF IFD>
@0x000013e=318 : <PrintIM> Version 0300, size 690, 37 entries
@0x000014e=334 : PIM_0X0001 = 14 00 14 00 |....| = 0x140014/1310740
@0x0000154=340 : PIM_0X0002 = 01 00 00 00 |....| = 0x1/1
@0x000015a=346 : PIM_0X0003 = ee 00 00 00 |....| = 0xee/238
@0x0000160=352 : PIM_0X0007 = 00 00 00 00 |....| = 0/0
@0x0000166=358 : PIM_0X0008 = 00 00 00 00 |....| = 0/0
@0x000016c=364 : PIM_0X0009 = 00 00 00 00 |....| = 0/0
@0x0000172=370 : PIM_0X000A = 00 00 00 00 |....| = 0/0
@0x0000178=376 : PIM_0X000B = 36 01 00 00 |6...| = 0x136/310
@0x000017e=382 : PIM_0X000C = 00 00 00 00 |....| = 0/0
@0x0000184=388 : PIM_0X000D = 00 00 00 00 |....| = 0/0
@0x000018a=394 : PIM_0X000E = 4e 01 00 00 |N...| = 0x14e/334
@0x0000190=400 : PIM_0X0010 = 5e 01 00 00 |^...| = 0x15e/350
@0x0000196=406 : PIM_0X0020 = 52 02 00 00 |R...| = 0x252/594
@0x000019c=412 : PIM_0X0100 = 03 00 00 00 |....| = 0x3/3
@0x00001a2=418 : PIM_0X0101 = ff 00 00 00 |....| = 0xff/255
@0x00001a8=424 : PIM_0X0102 = 83 00 00 00 |....| = 0x83/131
@0x00001ae=430 : PIM_0X0103 = 83 00 00 00 |....| = 0x83/131
@0x00001b4=436 : PIM_0X0104 = 83 00 00 00 |....| = 0x83/131
@0x00001ba=442 : PIM_0X0105 = 83 00 00 00 |....| = 0x83/131
@0x00001c0=448 : PIM_0X0106 = 83 00 00 00 |....| = 0x83/131
@0x00001c6=454 : PIM_0X0107 = 80 80 80 00 |....| = 0x808080/8421504
@0x00001cc=460 : PIM_0X0110 = 82 00 00 00 |....| = 0x82/130
@0x00001d2=466 : PIM_0X0200 = 00 00 00 00 |....| = 0/0
@0x00001d8=472 : PIM_0X0207 = 00 00 00 00 |....| = 0/0
@0x00001de=478 : PIM_0X0208 = 00 00 00 00 |....| = 0/0
@0x00001e4=484 : PIM_0X0209 = 00 00 00 00 |....| = 0/0
@0x00001ea=490 : PIM_0X020A = 00 00 00 00 |....| = 0/0
@0x00001f0=496 : PIM_0X020B = 76 02 00 00 |v...| = 0x276/630
@0x00001f6=502 : PIM_0X020D = 00 00 00 00 |....| = 0/0
@0x00001fc=508 : PIM_0X0220 = 8e 02 00 00 |....| = 0x28e/654
@0x0000202=514 : PIM_0X0300 = 03 00 00 00 |....| = 0x3/3
@0x0000208=520 : PIM_0X0301 = ff 00 00 00 |....| = 0xff/255
@0x000020e=526 : PIM_0X0302 = 83 00 00 00 |....| = 0x83/131
@0x0000214=532 : PIM_0X0303 = 83 00 00 00 |....| = 0x83/131
@0x000021a=538 : PIM_0X0306 = 83 00 00 00 |....| = 0x83/131
@0x0000220=544 : PIM_0X0310 = 82 00 00 00 |....| = 0x82/130
@0x0000226=550 : PIM_0X0400 = 00 00 00 00 |....| = 0/0
*0x000022c=556 : ---- End of values before end of PrintIM section
-0x00003ef=1007 : </PrintIM>
?0x000065f=1631 : </IFD 0>
@0x0000660=1632 : <IFD 1> 6 entries starting at file offset 0x662=1634
@0x0000662=1634 : <0x0103= 259> Compression [3 =SHORT 1] = 6 = 'Exif/old
JPEG'
@0x000066e=1646 : <0x011a= 282> XResolution [5 =RATIONAL 1] = @0x6ae=1710
@0x000067a=1658 : <0x011b= 283> YResolution [5 =RATIONAL 1] = @0x6b6=1718
@0x0000686=1670 : <0x0128= 296> ResolutionUnit [3 =SHORT 1] = 2 =
'pixels per inch'
@0x0000692=1682 : <0x0201= 513> JPEGInterchangeFormat [4 =LONG 1] =
@0x2000=8192
@0x000069e=1694 : <0x0202= 514> JPEGInterchangeFormatLength [4 =LONG 1]
= 4374
@0x00006aa=1706 : **** next IFD offset 0
@0x00006ae=1710 : ============= VALUES, IFD 1 ============
@0x00006ae=1710 : XResolution = 72
@0x00006b6=1718 : YResolution = 72
+0x0002000=8192 : #### Start of JPEG thumbnail data for IFD 1, length
4374 ####
+0x0002000=8192 : <JPEG_SOI>
+0x0002002=8194 : <JPEG_DQT> length 197
+0x00020c9=8393 : <JPEG_DHT> length 418 table class = 0 table id = 0
+0x000226d=8813 : <JPEG_SOF_0> length 17, 8 bits/sample, components=3,
width=160, height=120
+0x0002280=8832 : <JPEG_SOS> length 12 start of JPEG data, 3 components
19200 pixels
+0x0003114=12564 : <JPEG_EOI> JPEG length 4374
+0x0003115=12565 : #### End of JPEG thumbnail data for IFD 1, length
4374 ####
@0x00006bd=1725 : </IFD 1>
-0x0004848=18504 : </JPEG_APP1>
@0x0004849=18505 : <JPEG_DQT> length 197
@0x0004910=18704 : <JPEG_DHT> length 418 table class = 0 table id = 0
@0x0004ab4=19124 : <JPEG_SOF_0> length 17, 8 bits/sample, components=3,
width=3072, height=2304
@0x0004ac7=19143 : <JPEG_SOS> length 12 start of JPEG data, 3 components
7077888 pixels
@0x011b5d7=1160663 : <JPEG_EOI> JPEG length 1160665
-0x011b5d8=1160664 : END OF FILE
@000000000=0 : Start of JPEG baseline DCT compressed primary image
[3072x2304] length 1160665
-0x011b5d8=1160664 : End of JPEG primary image data
@0x0002000=8192 : Start of JPEG baseline DCT compressed
reduced-resolution image [160x120] length 4374 (IFD 1)
-0x0003115=12565 : End of JPEG reduced-resolution image data
Number of images = 2
File Format = JPEG/APP1/TIFF/EXIF # with MakerNote (Olympus Optical
Co.,Ltd [1]) and MakerNote-SubIFD




More information about the KPhotoAlbum mailing list