Well... I'm not sure this is a helpful addition but it looks like
there's something in the part of the scripts where the new track is
created/added to the database. That object doesn't come back out of the
create script with the id variable set properly. 

In the error trace above where it gripes about "Use of uninitialized
value in sprintf" at line 940 that's the first place that it references
the id property of the new track object.

The line looks like this:

Code:
--------------------
    
  $log->info(sprintf("Created track '%s' (id: [%d])", $track->title, 
$track->id)); 
--------------------


It should just be logging the new track creation and using the track
id. Unfortunately that variable is uninitialized at this point but
shouldn't be.

As far as I can tell the problem is inside an object method that I
haven't been able to penetrate yet (I'm marginal at best with perl).

Code:
--------------------
    
  my $track = Slim::Schema->resultset($source)->create($columnValueHash);
  
--------------------


That code is successfully creating the DB entry for the new track but
something is going awry and the id variable (perhaps among other
things?) either isn't getting set or isn't escaping the innards of the
object.

So, I guess that's just more info as I've come across it, not even
close to a solution I'm afraid.


-- 
91vfr
------------------------------------------------------------------------
91vfr's Profile: http://forums.slimdevices.com/member.php?userid=19773
View this thread: http://forums.slimdevices.com/showthread.php?t=51957

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to