Re: A null value was found where an object instance was required



(Sorry for the lack of context.  I just subscribed to the list and so
don't have the original message to use as the basis of a reply.)

I, too, am on gusty and get the "A null value was found where an
object instance was required" message when I try to import into
f-spot.  However, unlike Antti's experence, it only shows up for me on
a few photos in my connection.  Everyone of those photos is one where
I'd used a tool that stripped off the original EXIF information and
had had to replace it with EXIFtool.  The images were taken with Kodak
DC210 and DC4800 cameras, but other images from those cameras import
without the problem.

If anyone can point me at a recipe for getting a stack trace with the
default gusty packages, I'll try to produce one.  Stephane guessed
that upgrading the db to sqlite3 might fix it, but I don't think that
it will:

tlunde noir:~$ dpkg -l |grep sqlit
ii  libmono-sqlite2.0-cil                      1.2.4-6ubuntu3
             Mono Sqlite library
ii  libsqlite3-0                               3.4.2-1
             SQLite 3 shared library
tlunde noir:~$ dpkg -l |grep spot
ii  f-spot                                     0.4.0-0ubuntu1
             personal photo management application
tlunde noir:~$

Perhaps this will help.  I started f-spot from a terminal window and I
get this sort of output for each photo that gives the null value
message:

open uri = file:///home/tlunde/Pictures/entrepot-photos/thomas/1982-2005/dc210/1998/12/19-Mnycxmas/DCP00038.JPG
open uri = file:///home/tlunde/Pictures/entrepot-photos/thomas/1982-2005/dc210/1998/12/19-Mnycxmas/DCP00038.JPG
open uri = file:///home/tlunde/Pictures/entrepot-photos/thomas/1982-2005/dc210/1998/12/19-Mnycxmas/DCP00038.JPG
open uri = file:///home/tlunde/Pictures/entrepot-photos/thomas/1982-2005/dc210/1998/12/19-Mnycxmas/DCP00038.JPG
Error importing
/home/tlunde/Pictures/entrepot-photos/thomas/1982-2005/dc210/1998/12/19-Mnycxmas/DCP00038.JPG
System.NullReferenceException: A null value was found where an object
instance was required.
  at FSpot.Xmp.XmpTagsImporter.ProcessStore (FSpot.MetadataStore
store, .Photo photo) [0x00000]
  at FSpot.Xmp.XmpTagsImporter.Import (.Photo photo, System.String
path, System.String orig_path) [0x00000]
  at FileImportBackend.Step (.Photo& photo, Gdk.Pixbuf& thumbnail,
System.Int32& count) [0x00000]
Could not import file
Stopping


thomas



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]