Attachment Name and Performance Issues

A place for users to ask each other questions, make suggestions, and discuss Bookends.
Post Reply
Mark C.
Posts: 5
Joined: Fri Jul 11, 2014 9:45 am

Attachment Name and Performance Issues

Post by Mark C. »

1. Is there a way to rename attachments using a user defined format (e.g., name year title)? I'm not seeing this option in Preferences-->General-->Rename Attachments.

2. I'm running Bookends on an mid-2007 iMac running Yosemite Beta 3. My database and attachments are on a shared drive. Bookends is really sluggish for some reason on this machine. (Bookends is not sluggish on my mid-2011 MacBook Air running Yosemite Beta 3...) I've typically not had performance issues like this on these two machines. How can I troubleshoot this?
Jon
Site Admin
Posts: 10291
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: Attachment Name and Performance Issues

Post by Jon »

1. You're not? Under Author Date and Tite, you should see a list of all enabled formats. You don't see that?

2. Reboot in safe mode (shift key held down) and see if that helps. Also, if you have a large db, don't forget to increase the database cache. For 10K references, for example, I'd up it to 15 MB (no more).

Jon
Sonny Software
Mark C.
Posts: 5
Joined: Fri Jul 11, 2014 9:45 am

Re: Attachment Name and Performance Issues

Post by Mark C. »

1. I see a list of enabled formats (beginning with "Antiquity") I guess one of them could provide name year title. Is there a reference for these formats?

2. Safe mode does not help. It's a very small database (only 35 references). For a recent clean install on this machine, everything seems to be sluggish now...
Jon
Site Admin
Posts: 10291
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: Attachment Name and Performance Issues

Post by Jon »

1. I wouldn't use a real journal format for this, I'd make my own and use that. Then you tailor it to whatever you want. The format you seem to want would be simply

a d t

and you'd adjust the authors to whatever you want (presumably just the first and et al., but that's up to you).

2. Sorry, those are the only things that I can think of that would affect speed (another process that is interfering with Bookends or insufficient database cache). I'm afraid something local is going on, but I can't guess what that might be. If you have IT support, you might contact them.

Jon
Sonny Software
Mark C.
Posts: 5
Joined: Fri Jul 11, 2014 9:45 am

Re: Attachment Name and Performance Issues

Post by Mark C. »

1. I see. I was thinking something different here...

2. Here's what I get from the Console when I open Bookends if that's any help:

9/23/14 1:00:34.050 PM Bookends[3707]: WARNING: The Gestalt selector gestaltSystemVersion is returning 10.9.0 instead of 10.10.0. Use NSProcessInfo's operatingSystemVersion property to get correct system version number.
Call location:
9/23/14 1:00:34.051 PM Bookends[3707]: 0 CarbonCore 0x9af3d7e7 ___Gestalt_SystemVersion_block_invoke + 135
9/23/14 1:00:34.051 PM Bookends[3707]: 1 libdispatch.dylib 0x9ad630b5 dispatch_once_f + 251
9/23/14 1:00:34.051 PM Bookends[3707]: 2 libdispatch.dylib 0x9ad640d8 dispatch_once + 31
9/23/14 1:00:34.051 PM Bookends[3707]: 3 CarbonCore 0x9aecffb8 _Gestalt_SystemVersion + 1050
9/23/14 1:00:34.051 PM Bookends[3707]: 4 CarbonCore 0x9aecfb69 Gestalt + 150
9/23/14 1:00:34.051 PM Bookends[3707]: 5 rbframework.dylib 0x027bdd64 RuntimeDebugMemoryUsed + 16948
9/23/14 1:00:34.051 PM Bookends[3707]: 6 rbframework.dylib 0x027a3724 RuntimeInit + 84
9/23/14 1:00:34.853 PM Bookends[3707]: plugin 'BookendsFramework.framework' failed to load: dlopen(/Applications/Bookends.app/Contents/Frameworks/BookendsFramework.framework, 0): no suitable image found. Did find:
/Applications/Bookends.app/Contents/Frameworks/BookendsFramework.framework: not a file
9/23/14 1:00:35.031 PM Bookends[3707]: objc[3707]: Class QTMovieLayer is implemented in both /System/Library/Frameworks/QTKit.framework/Versions/A/QTKit and /Applications/Bookends.app/Contents/Frameworks/dtPlugins.rbx_0.dylib. One of the two will be used. Which one is undefined.
9/23/14 1:00:35.031 PM Bookends[3707]: objc[3707]: Class QTMovie is implemented in both /System/Library/Frameworks/QTKit.framework/Versions/A/QTKit and /Applications/Bookends.app/Contents/Frameworks/dtPlugins.rbx_0.dylib. One of the two will be used. Which one is undefined.
9/23/14 1:00:35.561 PM Bookends[3707]: plugin 'YAJL.framework' failed to load: dlopen(/Applications/Bookends.app/Contents/Frameworks/YAJL.framework, 0): no suitable image found. Did find:
/Applications/Bookends.app/Contents/Frameworks/YAJL.framework: not a file
9/23/14 1:00:35.561 PM Bookends[3707]: plugin 'yaz.framework' failed to load: dlopen(/Applications/Bookends.app/Contents/Frameworks/yaz.framework, 0): no suitable image found. Did find:
/Applications/Bookends.app/Contents/Frameworks/yaz.framework: not a file
Jon
Site Admin
Posts: 10291
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: Attachment Name and Performance Issues

Post by Jon »

The console info has no bearing on performance.

Jon
Sonny Software
Mark C.
Posts: 5
Joined: Fri Jul 11, 2014 9:45 am

Re: Attachment Name and Performance Issues

Post by Mark C. »

Okay. Thanks for your quick replies.
dtan
Posts: 3
Joined: Wed Oct 08, 2014 1:07 pm

Re: Attachment Name and Performance Issues

Post by dtan »

Jon wrote:1. I wouldn't use a real journal format for this, I'd make my own and use that. Then you tailor it to whatever you want. The format you seem to want would be simply

a d t

and you'd adjust the authors to whatever you want (presumably just the first and et al., but that's up to you).

2. Sorry, those are the only things that I can think of that would affect speed (another process that is interfering with Bookends or insufficient database cache). I'm afraid something local is going on, but I can't guess what that might be. If you have IT support, you might contact them.

Jon
Sonny Software

Hi Jon,

where would you define this?
If I am interested in renaming pdfs in

author year (as in the option given in the preferences>general>rename attachments) but with title included
I have searched all the preferences tabs but have not found a place to input this information, other than choosing another option under rename attachments

EDIT:
OK I think I figured it out.
First, create a format under
Biblio>Formats Manager...
I created a new format (by choosing Oxford Author-Date and replicating first type)
Changed the style as required in the field order - a d t (selected use year-only for date, use " et al" if > 3 authors/Eds
________

Now to figure out how to change all old references.
Appreciate some hand-holding here for fear of killing all previous attachments
(I read it's gotta do with global change > rename attachment)

EDIT 2:
Well there seems to be an easier way without going to global change.
Right clicking on the attachment(s), rename attachment works
Jon
Site Admin
Posts: 10291
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: Attachment Name and Performance Issues

Post by Jon »

You found the various ways. Note that with Global Change you always have 3 options (two if you don't have any hits): change the selected r(highlighted) refs, change the refs in the hits list, change all of the refs in the library. So you can make the change to subsets of your library if you don't want to make them globally.

Jon
Sonny Software
Post Reply