[quote=paultaylor][…]
Can you clarify for me is this happening consistently for the same files. For example in the debug log where it says Unable to create Puid for:132, the 132 refers to the 133nd file (because records are labelled from zero) in the list when sorted by record number. So if this problem occurs again after identifying the record you could right click on it s record header and just select ‘Remote Correct/Correct Acoustic Ids’ to retry this one file.
[…][/quote]
(The list in the GUI of Jaikoz also starts from 0.)
What I did was first analyse a directory of 517 files with genpuid (all files at once). I saved the output in a file. Then I opened the same directory in Jaikoz, started the acoustic analysis, and waited until 2 songs had shown the error. Then I cancelled the operation, and retried acoustic analysis on them separately. This did work. The PUID for these songs was also present in the saved output of genpuid itself.
Then I closed Jaikoz (without saving anything), reopened it, and did everything exactly the same. There were errors again, but this time on different files! The files that gave errors the first time, had no problem this time. Again right-clicking and analyzing only that file gave no problems. The files that had errors this time also didn’t give any error with genpuid.
It is possible that these files are corrupt, but even that can’t explain why it doesn’t always hang on the same files. What I am wondering about is the error format:
[Fatal Error] :-1:-1: Premature end of file.
23/06/2007 01.06.15:WARNING: Unable to create Puid for:11:null
What programs generate these? The first one doesn’t seem like your log format. [edit]I found out it’s an error from your XML parser. So probably the output received from genpuid isn’t up to par all the time…[/edit] The second one states the list number (so probably from your program) and then ‘null’. Where do you print this message? What should follow the list number? Seems like that parameter isn’t initialized…
I’ll retry this with more debug output later…
I’m also going to try redoing the entire directory with genpuid, seeing if it also sometimes fails on different files.