Hi,
It is, in frame 9, when initializing FSNodeRep, it tries to create the
tumbnail directory, but fails,
and then terminates the application. So far, so good.
Question is, why it is failing.
Do you can add a NSLog output like this:
NSLog(@"thumbnaildir: %@", thumbnailDir);
To FSNodeRep.m right after the RETAIN (thumbnailDir); line around line
130.
Then recompile and check what's wrong with the dir?
At the locations something already exists, or wrong permissions prevent
creating the directory?
Yes, that sounds like a good idea. The directory should be inside
"GNUstep/Library" in your home
does GNUstep/Library exist in your system? And if, is it writeable by your
user? (not that accidentally it is root owned or such).
In any case the code in GWorkspace was brittle:
NSSearchPathForDirectoriesInDomains returns a value, but it is not
guaranteeed to exist and creating a directory won't create its parent.
I added a check, a creation and a new error log. Could you update
GWorkspace from SVn and try it and see if it works and if it fails, what
error you do get this time? Thank you.
Riccardo
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep