OK, line 62 is certainly when it reads in the .dsf file so it looks as if the basic DSON importer is choking on something - does the hair load, with errors, when you double-click to load it or does it fail to load at all?
Please open my script in a text editor (you can use the DAZ Studio IDE - Window>Panes(Tabs)>Script IDE). find this block
function prepFile( name ) {
// Open the file, read it into a string
// and convert to a JSON object, which
// is to be returned
// open file
var file = new DzFile( name );
if ( file.open( DzFile.ReadOnly ) ) {
var ourObject = JSON.parse( file.read() );
file.close();
return ourObject;
}
return undefined;
}
which starts around line 54 and edit it by adding print( name ); just after the comment, like this:
function prepFile( name ) {
// Open the file, read it into a string
// and convert to a JSON object, which
// is to be returned
print( name );
// open file
var file = new DzFile( name );
if ( file.open( DzFile.ReadOnly ) ) {
var ourObject = JSON.parse( file.read() );
file.close();
return ourObject;
}
return undefined;
}
save, and try processing the hair with that - to be safe you may want to reinstall the hair from the zips, to make sure it’s a clean copy. That should let us see the actual file that’s throwing the error - it may be the library file, or it may be the data file that the library file reads in.