On 22 Jun 2008, at 11:24 PM, Adam R. Maxwell wrote: > > On Jun 22, 2008, at 12:53 PM, Christiaan Hofman wrote: > >> >> On 22 Jun 2008, at 9:16 PM, Adam R. Maxwell wrote: >> >>> On Jun 22, 2008, at 11:39 AM, James Howison wrote: >>> >>>> I had a system meltdown yesterday so am reinstalling everything >>>> on a >>>> new computer. Joy, oh joy. >>>> >>>> I just installed BibDesk latest nightly and started it up. I got >>>> lots >>>> of messages about skimnotesagent crashing (copied below). I >>>> changed >>>> to the latest stable and BibDesk opened as expected (I'd copied >>>> over >>>> the prefs file and Documents hierarchy (so it knew where to open >>>> the >>>> main bib file I use). >>> >>> Looks like Christiaan rewrote the agent so it's no longer an agent, >>> and I've no idea what's failing. Offhand it looks like a zombie, >>> and >>> some SKNExtendedAttributeManager object is being treated as an >>> NSError. >>> >>> -- >>> adam >>> >> >> This is strange. I see no problem here in my tests. And it's still an >> agent, in fact it is exactly the same code (as I copied it), just >> included in a differently named tool. > > But harder to test/debug, as it includes lots of other code, and the > attribute reading looks to have been rewritten.
The code itself was hardly changed, only a category was replaced by a singleton object. > It's a pretty > substantial change, even if large parts were copy-and-pasted. > > Incidentally, now that you have a framework, why not just link it into > BibDesk and make the calls directly? ISTR Skim's NSFileManager > category became incompatible with BibDesk's and prevented that, but it > looks like you've renamed things so that might not be an issue any > longer. I was thinking of that, but not before the release. It's one of the reasons to use the different class. But now I'm even thinking of using the EA code from SkimNotes.framework for BD's EA stuff, as it is now compatible. > > >> James, When exactly did you get these problems? Did you do a quick >> search or anything? And may it be that you had more than one BibDesk >> processes running at the time? > > The last nightly launches and runs fine here (MacBook Pro), and reads > Skim notes. Maybe James has some corrupted Skim notes; what would > trigger a call to -[NSError code]? The tool was obviously launching, > but why would it also print out a usage message to the console? It should run fine on the machine where they were built. The problem is that the Debug versions of the frameworks are included, which only contain the code for the architecture on which they were built. The only change to the frameworks I made yesterday was that BD was now using the products from the cross-projects, as discussed on the other list. That should work, but apparently that's broken. I also think that the architecture or OS version settings for the tool build are what killed James' version. So I hope that will be fixed now. Christiaan ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Bibdesk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bibdesk-users
