[Bibdesk-users] Send via Email

2009-03-04 Thread Peter Cowan
First, thanks to the developers for all the time and effort they put
into developing and improving BibDesk.

I notice that when I select a publication and choose Send via Email
nothing happens.  Mail.app is set as my default mail program as per
the help and the following is reported to the console.

3/4/09 4:27:25 PM BibDesk[427] Error compiling mail to script: {
NSAppleScriptErrorBriefMessage = "Expected \U201c:\U201d but found
property.";
NSAppleScriptErrorMessage = "Expected \U201c:\U201d but found property.";
NSAppleScriptErrorNumber = -2741;
NSAppleScriptErrorRange = NSRange: {185, 4};
}

I'm using a recently nightly of  BibDesk on mac os x 10.5.6.

Is this a bug, or a problem with my setup?

Peter

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Bibdesk crash - using Field Search & Replace-script

2009-03-04 Thread Maxwell, Adam R
On 03/04/09 10:04, "Rolf Schmolling" 
wrote:

> As of  
> reproducing the crash: I just did the same as before and got ­
> superficially ­ the same result.

It should be fixed for the next nightly build.



--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Bibdesk crash - using Field Search & Replace-script

2009-03-04 Thread Rolf Schmolling
Hi,

sorry folks, somehow I didn't know about the built-in function, stupid  
me. It's probably due to the fact that I do this quite seldom. As of  
reproducing the crash: I just did the same as before and got –  
superficially – the same result.

Thanks for the hint!!

regards, Rolf

Am 04.03.2009 um 18:56 schrieb Christiaan Hofman:

>
> On 4 Mar 2009, at 6:33 PM, Maxwell, Adam R wrote:
>
>> Tracking this down has uncovered a couple of problems, so will take
>> some
>> time to figure out what's actually going wrong.
>>
>
> I also added a few small changes to the index search, so make sure you
> update.
>
>> In the meantime, you probably won't run across this if you use
>> BibDesk's
>> built in find & replace (cmd-shift-f) to do the job instead of a
>> script.
>>
>
> BTW, I forgot to ask, is there any reason why you're using a script
> rather than the built-in panel? This is precisely an action that's
> supported by it. And AppleScript is very inefficient.
>
> Christiaan
>
>>
>> On 03/04/09 07:30, "Rolf Schmolling" >>
>> wrote:
>> …

--
Rolf Schmolling M.A. Historian, rolf.schmoll...@alumni.tu-berlin.de
http://rolf_schmolling.macbay.de/


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Bibdesk crash - using Field Search & Replace-script

2009-03-04 Thread Christiaan Hofman

On 4 Mar 2009, at 6:33 PM, Maxwell, Adam R wrote:

> Tracking this down has uncovered a couple of problems, so will take  
> some
> time to figure out what's actually going wrong.
>

I also added a few small changes to the index search, so make sure you  
update.

> In the meantime, you probably won't run across this if you use  
> BibDesk's
> built in find & replace (cmd-shift-f) to do the job instead of a  
> script.
>

BTW, I forgot to ask, is there any reason why you're using a script  
rather than the built-in panel? This is precisely an action that's  
supported by it. And AppleScript is very inefficient.

Christiaan

>
> On 03/04/09 07:30, "Rolf Schmolling"  >
> wrote:
>
>> Hi Adam,
>>
>> it is reproducible, at least on my system.
>>
>> Steps taken: search in quick search system: Eig. Promotion, selected
>> all references which came up, selected script from script-menu:  
>> "field
>> search&replace", selected keywords in dialog, put in "Eig. Promotion"
>> in dialog, put in "Promotion" in dialog and clicked ok. short delay -
>> crash.
>>
>> bib-file in private mail to amaxwell at mac dot com, ok?
>>
>> Now will try work around as Christiaan suggested.
>>
>> regards, Rolf
>> Am 04.03.2009 um 16:13 schrieb Adam R. Maxwell:
>>
>>>
>>> On Mar 4, 2009, at 1:25 AM, Rolf Schmolling wrote:
>>>
 The crash report is pasted in below. Any idea how to accomplish  
 this
 task differently? I am talking about 894 entries…
>>>
>>> If this crash was reproducible, I'd really like to get a copy of
>>> the .bib file and your steps to reproduce it.
>>>
>>> thanks,
>>> Adam
>>>
>>>
> ->
>  
> >
> -
>>> Open Source Business Conference (OSBC), March 24-25, 2009, San
>>> Francisco, CA
>>> -OSBC tackles the biggest issue in open source: Open Sourcing the
>>> Enterprise
>>> -Strategies to boost innovation and cut costs with open source
>>> participation
>>> -Receive a $600 discount off the registration fee with the source
>>> code: SFAD
>>> http://p.sf.net/sfu/XcvMzF8H___
>>> Bibdesk-users mailing list
>>> Bibdesk-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/bibdesk-users
>>
>>
>> --
>> Rolf Schmolling M.A. Historian, rolf.schmoll...@alumni.tu-berlin.de
>> http://rolf_schmolling.macbay.de/
>>
>>
>> --
>> Open Source Business Conference (OSBC), March 24-25, 2009, San  
>> Francisco, CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the  
>> Enterprise
>> -Strategies to boost innovation and cut costs with open source  
>> participation
>> -Receive a $600 discount off the registration fee with the source  
>> code: SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>> ___
>> Bibdesk-users mailing list
>> Bibdesk-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bibdesk-users
>
>
> --
> Open Source Business Conference (OSBC), March 24-25, 2009, San  
> Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the  
> Enterprise
> -Strategies to boost innovation and cut costs with open source  
> participation
> -Receive a $600 discount off the registration fee with the source  
> code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> ___
> Bibdesk-users mailing list
> Bibdesk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bibdesk-users


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Bibdesk crash - using Field Search & Replace-script

2009-03-04 Thread Maxwell, Adam R
Tracking this down has uncovered a couple of problems, so will take some
time to figure out what's actually going wrong.

In the meantime, you probably won't run across this if you use BibDesk's
built in find & replace (cmd-shift-f) to do the job instead of a script.


On 03/04/09 07:30, "Rolf Schmolling" 
wrote:

> Hi Adam,
> 
> it is reproducible, at least on my system.
> 
> Steps taken: search in quick search system: Eig. Promotion, selected
> all references which came up, selected script from script-menu: "field
> search&replace", selected keywords in dialog, put in "Eig. Promotion"
> in dialog, put in "Promotion" in dialog and clicked ok. short delay -
> crash.
> 
> bib-file in private mail to amaxwell at mac dot com, ok?
> 
> Now will try work around as Christiaan suggested.
> 
> regards, Rolf
> Am 04.03.2009 um 16:13 schrieb Adam R. Maxwell:
> 
>> 
>> On Mar 4, 2009, at 1:25 AM, Rolf Schmolling wrote:
>> 
>>> The crash report is pasted in below. Any idea how to accomplish this
>>> task differently? I am talking about 894 entriesŠ
>> 
>> If this crash was reproducible, I'd really like to get a copy of
>> the .bib file and your steps to reproduce it.
>> 
>> thanks,
>> Adam
>> 
>> 
->>
-
>> Open Source Business Conference (OSBC), March 24-25, 2009, San
>> Francisco, CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the
>> Enterprise
>> -Strategies to boost innovation and cut costs with open source
>> participation
>> -Receive a $600 discount off the registration fee with the source
>> code: SFAD
>> http://p.sf.net/sfu/XcvMzF8H___
>> Bibdesk-users mailing list
>> Bibdesk-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bibdesk-users
> 
> 
> --
> Rolf Schmolling M.A. Historian, rolf.schmoll...@alumni.tu-berlin.de
> http://rolf_schmolling.macbay.de/
> 
> 
> --
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> ___
> Bibdesk-users mailing list
> Bibdesk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bibdesk-users


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Bibdesk crash - using Field Search & Replace-script

2009-03-04 Thread Christiaan Hofman
Small correction, I was looking at the wrong thread in your last report.
Even though it did occur at a different place, it probably is the same
crasher (and is the same as bug # 2124370). In all these cases the crash
took place in SearchKit (though in your previous one it was in adding info
to SearchKit, and in your later report it was in searching). My guess is
that SearchKit has a thread safety bug.

Christiaan

On Wed, Mar 4, 2009 at 4:54 PM, Christiaan Hofman wrote:

> This is a very different crasher from the previous one (compare the top of
> the Thread 0 trace). I wonder now which one is reproducible?
>
> Christiaan
>
>
> On 4 Mar 2009, at 4:31 PM, Rolf Schmolling wrote:
>
>  Hi,
>>
>> could reproduce the crash, report below, will try work around next:
>>
> 
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Bibdesk crash - using Field Search & Replace-script

2009-03-04 Thread Christiaan Hofman
This is a very different crasher from the previous one (compare the  
top of the Thread 0 trace). I wonder now which one is reproducible?

Christiaan

On 4 Mar 2009, at 4:31 PM, Rolf Schmolling wrote:

> Hi,
>
> could reproduce the crash, report below, will try work around next:
>
> ***
> Process: BibDesk [899]
> Path:/Applications/TeX/BibDesk.app/Contents/MacOS/BibDesk
> Identifier:  edu.ucsd.cs.mmccrack.bibdesk
> Version: 1.3.20 (1412)
> Code Type:   X86 (Native)
> Parent Process:  launchd [155]
>
> Date/Time:   2009-03-04 16:25:54.441 +0100
> OS Version:  Mac OS X 10.5.6 (9G55)
> Report Version:  6
>
> Exception Type:  EXC_BAD_ACCESS (SIGBUS)
> Exception Codes: KERN_PROTECTION_FAILURE at 0x0005
> Crashed Thread:  10
>
> Thread 0:
> 0   com.apple.CoreFoundation  0x907effe9 CFDictionaryGetValue +  
> 89
> 1   com.apple.AppKit  0x932c6dd9 -[NSLayoutManager
> temporaryAttribute:atCharacterIndex:longestEffectiveRange:inRange:] +
> 296
> 2   com.apple.AppKit  0x9320ee86 -
> [NSLayoutManager(NSPrivate)
> _clearTemporaryAttributesForCharacterRange:changeInLength:] + 208
> 3   com.apple.AppKit  0x9320eaef -[NSLayoutManager
> textStorage:edited:range:changeInLength:invalidatedRange:] + 133
> 4   com.apple.AppKit  0x9320ea5c -[NSTextStorage
> _notifyEdited:range:changeInLength:invalidatedRange:] + 144
> 5   com.apple.AppKit  0x932c5b2a -[NSTextStorage
> processEditing] + 217
> 6   com.apple.AppKit  0x931f5407 -[NSTextStorage
> endEditing] + 64
> 7   edu.ucsd.cs.mmccrack.bibdesk  0x00030d6f -[BibDocument
> displayTemplatedPreview:inTextView:] + 1088
> 8   edu.ucsd.cs.mmccrack.bibdesk  0x0002a8d5 -[BibDocument
> updateBottomPreviewPane] + 253
> 9   edu.ucsd.cs.mmccrack.bibdesk  0x0002a329 -[BibDocument
> doUpdatePreviews] + 52
> 10  ...up.framework.OmniFoundation0x0030f2a5 -[OFQueueProcessor
> processQueueUntilEmpty:forTime:] + 501
> 11  ...up.framework.OmniFoundation0x002c35ea -[OFQueueProcessor
> processQueueUntilEmpty:] + 58
> 12  ...up.framework.OmniFoundation0x002c361a -[OFQueueProcessor
> processQueueUntilEmpty] + 42




--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Bibdesk crash - using Field Search & Replace-script

2009-03-04 Thread Rolf Schmolling
Hi,

could reproduce the crash, report below, will try work around next:

***
Process: BibDesk [899]
Path:/Applications/TeX/BibDesk.app/Contents/MacOS/BibDesk
Identifier:  edu.ucsd.cs.mmccrack.bibdesk
Version: 1.3.20 (1412)
Code Type:   X86 (Native)
Parent Process:  launchd [155]

Date/Time:   2009-03-04 16:25:54.441 +0100
OS Version:  Mac OS X 10.5.6 (9G55)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0005
Crashed Thread:  10

Thread 0:
0   com.apple.CoreFoundation0x907effe9 CFDictionaryGetValue + 89
1   com.apple.AppKit0x932c6dd9 -[NSLayoutManager  
temporaryAttribute:atCharacterIndex:longestEffectiveRange:inRange:] +  
296
2   com.apple.AppKit0x9320ee86 - 
[NSLayoutManager(NSPrivate)  
_clearTemporaryAttributesForCharacterRange:changeInLength:] + 208
3   com.apple.AppKit0x9320eaef -[NSLayoutManager  
textStorage:edited:range:changeInLength:invalidatedRange:] + 133
4   com.apple.AppKit0x9320ea5c -[NSTextStorage  
_notifyEdited:range:changeInLength:invalidatedRange:] + 144
5   com.apple.AppKit0x932c5b2a -[NSTextStorage  
processEditing] + 217
6   com.apple.AppKit0x931f5407 -[NSTextStorage  
endEditing] + 64
7   edu.ucsd.cs.mmccrack.bibdesk0x00030d6f -[BibDocument  
displayTemplatedPreview:inTextView:] + 1088
8   edu.ucsd.cs.mmccrack.bibdesk0x0002a8d5 -[BibDocument  
updateBottomPreviewPane] + 253
9   edu.ucsd.cs.mmccrack.bibdesk0x0002a329 -[BibDocument  
doUpdatePreviews] + 52
10  ...up.framework.OmniFoundation  0x0030f2a5 -[OFQueueProcessor  
processQueueUntilEmpty:forTime:] + 501
11  ...up.framework.OmniFoundation  0x002c35ea -[OFQueueProcessor  
processQueueUntilEmpty:] + 58
12  ...up.framework.OmniFoundation  0x002c361a -[OFQueueProcessor  
processQueueUntilEmpty] + 42
13  ...up.framework.OmniFoundation  0x002c37b4 - 
[OFRunLoopQueueProcessor processQueueUntilEmpty] + 180
14  com.apple.Foundation0x91e9c823 __NSFireMachPort + 339
15  com.apple.CoreFoundation0x907f9455 __CFMachPortPerform + 117
16  com.apple.CoreFoundation0x9081d8e8 CFRunLoopRunSpecific +  
3896
17  com.apple.CoreFoundation0x9081dcd8 CFRunLoopRunInMode + 88
18  com.apple.HIToolbox 0x93df72c0  
RunCurrentEventLoopInMode + 283
19  com.apple.HIToolbox 0x93eaaa5f GetNextEventMatchingMask  
+ 447
20  com.apple.HIToolbox 0x93eaa766 WNEInternal + 151
21  com.apple.HIToolbox 0x93eaa6c5 WaitNextEvent + 54
22  com.apple.applescript   0x20e8107b  
AEDefaultActiveProc(long) + 135
23  com.apple.applescript   0x20e8502d  
InternalComponentActive(unsigned long) + 91
24  com.apple.applescript   0x20e850a4  
OccasionalComponentActive() + 46
25  com.apple.applescript   0x20e973bf UASExecute1() + 2639
26  com.apple.applescript   0x20e9783c UASExecute(unsigned  
char) + 178
27  com.apple.applescript   0x20e6909c ASExecute(unsigned long,  
unsigned long, long, unsigned long*) + 302
28  ...ple.CoreServices.CarbonCore  0x92e4ed3d  
CallComponentFunctionCommon + 537
29  ...ple.CoreServices.CarbonCore  0x92e942b4 CallComponentFunction +  
122
30  com.apple.applescript   0x20e64a9a AppleScriptComponent +  
1744
31  com.apple.applescript   0x20e808df  
AGenericManager::HandleOSACall(ComponentParameters*) + 63
32  ...ple.CoreServices.CarbonCore  0x92e4ea05 CallComponentDispatch + 29
33  com.apple.openscripting 0x922c0040 OSAExecute + 61
34  com.apple.Foundation0x91f4b58b - 
[NSAppleScript(NSPrivate) _executeWithMode:andReturnError:] + 107
35  com.apple.Foundation0x91f4b461 -[NSAppleScript  
executeAndReturnError:] + 49
36  edu.ucsd.cs.mmccrack.bibdesk0x000c3edd - 
[BDSKScriptMenu(Private) executeScript:] + 666
37  com.apple.AppKit0x9323353b -[NSApplication  
sendAction:to:from:] + 112
38  edu.ucsd.cs.mmccrack.bibdesk0x0012e3b4 -[BDSKApplication  
sendAction:to:from:] + 236
39  com.apple.AppKit0x932e217c -[NSMenu  
performActionForItemAtIndex:] + 493
40  com.apple.AppKit0x932e1e81 -[NSCarbonMenuImpl  
performActionWithHighlightingForItemAtIndex:] + 220
41  com.apple.AppKit0x932beb5a AppKitMenuEventHandler +  
6608
42  com.apple.HIToolbox 0x93dcf143  
DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*,  
HandlerCallRec*) + 1181
43  com.apple.HIToolbox 0x93dce57d  
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*,  
HandlerCallRec*) + 405
44  com.apple.HIToolbox 0x93deaed2 SendEventToEventTarget +  
52
45  com.apple.HIToolbox 0x93e1f23d

Re: [Bibdesk-users] Bibdesk crash - using Field Search & Replace-script

2009-03-04 Thread Rolf Schmolling
Hi Adam,

it is reproducible, at least on my system.

Steps taken: search in quick search system: Eig. Promotion, selected  
all references which came up, selected script from script-menu: "field  
search&replace", selected keywords in dialog, put in "Eig. Promotion"  
in dialog, put in "Promotion" in dialog and clicked ok. short delay -  
crash.

bib-file in private mail to amaxwell at mac dot com, ok?

Now will try work around as Christiaan suggested.

regards, Rolf
Am 04.03.2009 um 16:13 schrieb Adam R. Maxwell:

>
> On Mar 4, 2009, at 1:25 AM, Rolf Schmolling wrote:
>
>> The crash report is pasted in below. Any idea how to accomplish this
>> task differently? I am talking about 894 entries…
>
> If this crash was reproducible, I'd really like to get a copy of  
> the .bib file and your steps to reproduce it.
>
> thanks,
> Adam
>
> --
> Open Source Business Conference (OSBC), March 24-25, 2009, San  
> Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the  
> Enterprise
> -Strategies to boost innovation and cut costs with open source  
> participation
> -Receive a $600 discount off the registration fee with the source  
> code: SFAD
> http://p.sf.net/sfu/XcvMzF8H___
> Bibdesk-users mailing list
> Bibdesk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bibdesk-users


--
Rolf Schmolling M.A. Historian, rolf.schmoll...@alumni.tu-berlin.de
http://rolf_schmolling.macbay.de/


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Bibdesk crash - using Field Search & Replace-script

2009-03-04 Thread Adam R. Maxwell


On Mar 4, 2009, at 1:25 AM, Rolf Schmolling wrote:


The crash report is pasted in below. Any idea how to accomplish this
task differently? I am talking about 894 entries…


If this crash was reproducible, I'd really like to get a copy of  
the .bib file and your steps to reproduce it.


thanks,
Adam



smime.p7s
Description: S/MIME cryptographic signature
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Bibdesk crash - using Field Search & Replace-script

2009-03-04 Thread Christiaan Hofman

On 4 Mar 2009, at 12:51 PM, Rolf Schmolling wrote:

> Hi Christiaan,
>
> thanks for the response. Yes I did a search for "Eig. Promotion" and
> had selected the references. Then I started the script.
>
> Hope that helps. Will try a search & replace with TextWrangler.
>
> Rolf
>
> Sorry for the bad news…
>

Have you tried to do the search&replace with nothing in the search  
field? That may be a workaround. You could first search, select all  
items, then clear the search, and do the Replace All only on selected  
items.

Christiaan

> Am 04.03.2009 um 11:52 schrieb Christiaan Hofman:
>
>> The crash apparently takes place in the quick search functionality. I
>> wonder, did you have anything in the search field (in the toolbar) at
>> that point?
>>
>> As I've seen this crash before (there are a few on the bug tracker)
>> and I've never been able to discover anything wrong in the code, I
>> suspect this is a bug in SearchKit. Very annoying. I've never been
>> able to reproduce the crash myself though.
>>
>> I wouldn't really know a good alternative, except perhaps a
>> search&replace of the .bib file in a plain text editor.
>>
>> Christiaan
>>
>> On 4 Mar 2009, at 10:25 AM, Rolf Schmolling wrote:
>>
>>> Hi,
>>>
>>> got me a crash today (no apparent data-loss) while trying to
>>> replace a
>>> keyword with another.
>>>
>>> I wanted to replace "Eig. Promotion" with "Promotion" for
>>> symplification. I used the Field Search & replace Script, having
>>> selected all records with that particular keyword. Script started
>>> dialog, asking for field, search and replace string then appeared to
>>> start (no visible change) then Bibdesk crashed.
>>>
>>> The crash report is pasted in below. Any idea how to accomplish this
>>> task differently? I am talking about 894 entries…
>>>
>>> Thanks a bunch,
>>>
>>> Rolf
>>>
>>> ***
>>> Process: BibDesk [470]
>>> Path:/Applications/TeX/BibDesk.app/Contents/MacOS/ 
>>> BibDesk
>>> Identifier:  edu.ucsd.cs.mmccrack.bibdesk
>>> Version: 1.3.20 (1412)
>>> Code Type:   X86 (Native)
>>> Parent Process:  launchd [228]
>>>
>>> Date/Time:   2009-03-04 10:19:35.606 +0100
>>> OS Version:  Mac OS X 10.5.6 (9G55)
>>> Report Version:  6
>>>
>>> Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
>>> Exception Codes: KERN_INVALID_ADDRESS at 0xc5aa65db
>>> Crashed Thread:  10
>>>
>>> 
>
>
> --
> Rolf Schmolling M.A. Historian, rolf.schmoll...@alumni.tu-berlin.de
> http://rolf_schmolling.macbay.de/
>
>
> --
> Open Source Business Conference (OSBC), March 24-25, 2009, San  
> Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the  
> Enterprise
> -Strategies to boost innovation and cut costs with open source  
> participation
> -Receive a $600 discount off the registration fee with the source  
> code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> ___
> Bibdesk-users mailing list
> Bibdesk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bibdesk-users


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Bibdesk crash - using Field Search & Replace-script

2009-03-04 Thread Rolf Schmolling
Hi Christiaan,

thanks for the response. Yes I did a search for "Eig. Promotion" and  
had selected the references. Then I started the script.

Hope that helps. Will try a search & replace with TextWrangler.

Rolf

Sorry for the bad news…

Am 04.03.2009 um 11:52 schrieb Christiaan Hofman:

> The crash apparently takes place in the quick search functionality. I
> wonder, did you have anything in the search field (in the toolbar) at
> that point?
>
> As I've seen this crash before (there are a few on the bug tracker)
> and I've never been able to discover anything wrong in the code, I
> suspect this is a bug in SearchKit. Very annoying. I've never been
> able to reproduce the crash myself though.
>
> I wouldn't really know a good alternative, except perhaps a
> search&replace of the .bib file in a plain text editor.
>
> Christiaan
>
> On 4 Mar 2009, at 10:25 AM, Rolf Schmolling wrote:
>
>> Hi,
>>
>> got me a crash today (no apparent data-loss) while trying to  
>> replace a
>> keyword with another.
>>
>> I wanted to replace "Eig. Promotion" with "Promotion" for
>> symplification. I used the Field Search & replace Script, having
>> selected all records with that particular keyword. Script started
>> dialog, asking for field, search and replace string then appeared to
>> start (no visible change) then Bibdesk crashed.
>>
>> The crash report is pasted in below. Any idea how to accomplish this
>> task differently? I am talking about 894 entries…
>>
>> Thanks a bunch,
>>
>> Rolf
>>
>> ***
>> Process: BibDesk [470]
>> Path:/Applications/TeX/BibDesk.app/Contents/MacOS/BibDesk
>> Identifier:  edu.ucsd.cs.mmccrack.bibdesk
>> Version: 1.3.20 (1412)
>> Code Type:   X86 (Native)
>> Parent Process:  launchd [228]
>>
>> Date/Time:   2009-03-04 10:19:35.606 +0100
>> OS Version:  Mac OS X 10.5.6 (9G55)
>> Report Version:  6
>>
>> Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
>> Exception Codes: KERN_INVALID_ADDRESS at 0xc5aa65db
>> Crashed Thread:  10
>>
>> 


--
Rolf Schmolling M.A. Historian, rolf.schmoll...@alumni.tu-berlin.de
http://rolf_schmolling.macbay.de/


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Bibdesk crash - using Field Search & Replace-script

2009-03-04 Thread Christiaan Hofman
The crash apparently takes place in the quick search functionality. I  
wonder, did you have anything in the search field (in the toolbar) at  
that point?

As I've seen this crash before (there are a few on the bug tracker)  
and I've never been able to discover anything wrong in the code, I  
suspect this is a bug in SearchKit. Very annoying. I've never been  
able to reproduce the crash myself though.

I wouldn't really know a good alternative, except perhaps a  
search&replace of the .bib file in a plain text editor.

Christiaan

On 4 Mar 2009, at 10:25 AM, Rolf Schmolling wrote:

> Hi,
>
> got me a crash today (no apparent data-loss) while trying to replace a
> keyword with another.
>
> I wanted to replace "Eig. Promotion" with "Promotion" for
> symplification. I used the Field Search & replace Script, having
> selected all records with that particular keyword. Script started
> dialog, asking for field, search and replace string then appeared to
> start (no visible change) then Bibdesk crashed.
>
> The crash report is pasted in below. Any idea how to accomplish this
> task differently? I am talking about 894 entries…
>
> Thanks a bunch,
>
> Rolf
>
> ***
> Process: BibDesk [470]
> Path:/Applications/TeX/BibDesk.app/Contents/MacOS/BibDesk
> Identifier:  edu.ucsd.cs.mmccrack.bibdesk
> Version: 1.3.20 (1412)
> Code Type:   X86 (Native)
> Parent Process:  launchd [228]
>
> Date/Time:   2009-03-04 10:19:35.606 +0100
> OS Version:  Mac OS X 10.5.6 (9G55)
> Report Version:  6
>
> Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
> Exception Codes: KERN_INVALID_ADDRESS at 0xc5aa65db
> Crashed Thread:  10
>
> Thread 0:
> 0   com.apple.SearchKit   0x93a8eefc
> TermUpdateCFSetEqualCallBack(void const*, void const*) + 12
> 1   com.apple.CoreFoundation  0x908238a5 __CFSetFindBuckets1b +  
> 293
> 2   com.apple.CoreFoundation  0x90823fbd CFSetGetValue + 141
> 3   com.apple.SearchKit   0x93a8bcc8
> TermIndex::DefaultInvertDocumentToUpdateSet(OpaqueIATextAnalysisRef*,
> IADoc*, OpaqueIATextStreamRef*, unsigned long*) + 472
> 4   com.apple.SearchKit   0x93a8b9fc
> TermIndex::AddDocInternal(IADoc*, unsigned int,
> OpaqueIATextStreamRef*) + 1260
> 5   com.apple.SearchKit   0x93a87c10
> TIAIndex::Add(OpaqueIADocKeyRef*, OpaqueIATextStreamRef*, unsigned
> char) + 144
> 6   com.apple.SearchKit   0x93a87a08
> IAIndexAddDocWithTextStream + 136
> 7   com.apple.SearchKit   0x93a87851
> SKIndexAddDocumentWithText + 273
> 8   edu.ucsd.cs.mmccrack.bibdesk  0x0015911a -[BDSKItemSearchIndexes
> addPublications:] + 428
> 9   edu.ucsd.cs.mmccrack.bibdesk  0x00029b68 -[BibDocument
> handleBibItemChangedNotification:] + 438
> 10  com.apple.Foundation  0x91e61e1a _nsnote_callback + 106
> 11  com.apple.CoreFoundation  0x907fe8da __CFXNotificationPost +
> 362
> 12  com.apple.CoreFoundation  0x907febb3
> _CFXNotificationPostNotification + 179
> 13  com.apple.Foundation  0x91e5f080 -[NSNotificationCenter
> postNotificationName:object:userInfo:] + 128
> 14  edu.ucsd.cs.mmccrack.bibdesk  0x0004ac41 -[BibItem
> setField:toValue:] + 76
> 15  edu.ucsd.cs.mmccrack.bibdesk  0x000823e7 -[BDSKField setValue:] +
> 100
> 16  com.apple.Foundation  0x91e83cee -
> [NSObject(NSKeyValueCoding) setValue:forKey:] + 142
> 17  com.apple.Foundation  0x91fb0430 -
> [NSObject(NSScriptingInternal) _scriptingSetValue:forKey:] + 112
> 18  com.apple.Foundation  0x92037de3 -[NSSetCommand
> performDefaultImplementation] + 227
> 19  com.apple.Foundation  0x91f22815 -
> [NSScriptingAppleEventHandler handleCommandEvent:withReplyEvent:] +  
> 389
> 20  com.apple.Foundation  0x91e8743f -[NSAppleEventManager
> dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 655
> 21  com.apple.Foundation  0x91e8714f
> _NSAppleEventManagerGenericHandler + 223
> 22  com.apple.AE  0x95f5a648
> aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned
> char*) + 144
> 23  com.apple.AE  0x95f637be AESendMessage + 988
> 24  com.apple.AE  0x95f665ab aeSend + 173
> 25  com.apple.HIToolbox   0x93ee25af AESend + 85
> 26  com.apple.applescript 0x1efdb176 AEDefaultSendProc(AEDesc
> const*, AEDesc*, long, short, long, unsigned char (*)(EventRecord*,
> long*, OpaqueRgnHandle**), unsigned char (*)(EventRecord*, long, long,
> AEDesc const*), long) + 60
> 27  com.apple.applescript 0x1efdedf9 ComponentSend(AEDesc
> const*, AEDesc*, long, long) + 107
> 28  com.apple.applescript 0x1efed380
> TUASApplication::Send(TStackFrame_UASRemoteSend*, AEDesc*, AEDesc*,
> unsigned char, unsigned char, unsigned char) + 2548
> 29  com.apple.applescript 0x1f008879 UASRemoteSend(unsigned
> char, unsigned char, unsigned char, unsigned char,

[Bibdesk-users] Bibdesk crash - using Field Search & Replace-script

2009-03-04 Thread Rolf Schmolling
Hi,

got me a crash today (no apparent data-loss) while trying to replace a  
keyword with another.

I wanted to replace "Eig. Promotion" with "Promotion" for  
symplification. I used the Field Search & replace Script, having  
selected all records with that particular keyword. Script started  
dialog, asking for field, search and replace string then appeared to  
start (no visible change) then Bibdesk crashed.

The crash report is pasted in below. Any idea how to accomplish this  
task differently? I am talking about 894 entries…

Thanks a bunch,

Rolf

***
Process: BibDesk [470]
Path:/Applications/TeX/BibDesk.app/Contents/MacOS/BibDesk
Identifier:  edu.ucsd.cs.mmccrack.bibdesk
Version: 1.3.20 (1412)
Code Type:   X86 (Native)
Parent Process:  launchd [228]

Date/Time:   2009-03-04 10:19:35.606 +0100
OS Version:  Mac OS X 10.5.6 (9G55)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0xc5aa65db
Crashed Thread:  10

Thread 0:
0   com.apple.SearchKit 0x93a8eefc  
TermUpdateCFSetEqualCallBack(void const*, void const*) + 12
1   com.apple.CoreFoundation0x908238a5 __CFSetFindBuckets1b + 293
2   com.apple.CoreFoundation0x90823fbd CFSetGetValue + 141
3   com.apple.SearchKit 0x93a8bcc8  
TermIndex::DefaultInvertDocumentToUpdateSet(OpaqueIATextAnalysisRef*,  
IADoc*, OpaqueIATextStreamRef*, unsigned long*) + 472
4   com.apple.SearchKit 0x93a8b9fc  
TermIndex::AddDocInternal(IADoc*, unsigned int,  
OpaqueIATextStreamRef*) + 1260
5   com.apple.SearchKit 0x93a87c10  
TIAIndex::Add(OpaqueIADocKeyRef*, OpaqueIATextStreamRef*, unsigned  
char) + 144
6   com.apple.SearchKit 0x93a87a08  
IAIndexAddDocWithTextStream + 136
7   com.apple.SearchKit 0x93a87851  
SKIndexAddDocumentWithText + 273
8   edu.ucsd.cs.mmccrack.bibdesk0x0015911a -[BDSKItemSearchIndexes  
addPublications:] + 428
9   edu.ucsd.cs.mmccrack.bibdesk0x00029b68 -[BibDocument  
handleBibItemChangedNotification:] + 438
10  com.apple.Foundation0x91e61e1a _nsnote_callback + 106
11  com.apple.CoreFoundation0x907fe8da __CFXNotificationPost +  
362
12  com.apple.CoreFoundation0x907febb3  
_CFXNotificationPostNotification + 179
13  com.apple.Foundation0x91e5f080 -[NSNotificationCenter  
postNotificationName:object:userInfo:] + 128
14  edu.ucsd.cs.mmccrack.bibdesk0x0004ac41 -[BibItem  
setField:toValue:] + 76
15  edu.ucsd.cs.mmccrack.bibdesk0x000823e7 -[BDSKField setValue:] +  
100
16  com.apple.Foundation0x91e83cee - 
[NSObject(NSKeyValueCoding) setValue:forKey:] + 142
17  com.apple.Foundation0x91fb0430 - 
[NSObject(NSScriptingInternal) _scriptingSetValue:forKey:] + 112
18  com.apple.Foundation0x92037de3 -[NSSetCommand  
performDefaultImplementation] + 227
19  com.apple.Foundation0x91f22815 - 
[NSScriptingAppleEventHandler handleCommandEvent:withReplyEvent:] + 389
20  com.apple.Foundation0x91e8743f -[NSAppleEventManager  
dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 655
21  com.apple.Foundation0x91e8714f  
_NSAppleEventManagerGenericHandler + 223
22  com.apple.AE0x95f5a648  
aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned  
char*) + 144
23  com.apple.AE0x95f637be AESendMessage + 988
24  com.apple.AE0x95f665ab aeSend + 173
25  com.apple.HIToolbox 0x93ee25af AESend + 85
26  com.apple.applescript   0x1efdb176 AEDefaultSendProc(AEDesc  
const*, AEDesc*, long, short, long, unsigned char (*)(EventRecord*,  
long*, OpaqueRgnHandle**), unsigned char (*)(EventRecord*, long, long,  
AEDesc const*), long) + 60
27  com.apple.applescript   0x1efdedf9 ComponentSend(AEDesc  
const*, AEDesc*, long, long) + 107
28  com.apple.applescript   0x1efed380  
TUASApplication::Send(TStackFrame_UASRemoteSend*, AEDesc*, AEDesc*,  
unsigned char, unsigned char, unsigned char) + 2548
29  com.apple.applescript   0x1f008879 UASRemoteSend(unsigned  
char, unsigned char, unsigned char, unsigned char, unsigned char,  
unsigned char*) + 447
30  com.apple.applescript   0x1f000ada  
UASRemoteSetData(TUASObjectAlias*, TUASApplication*, TUASValue*) + 144
31  com.apple.applescript   0x1f01500a UASSetData(unsigned  
char, unsigned char) + 342
32  com.apple.applescript   0x1eff093c BCSetData() + 26
33  com.apple.applescript   0x1eff12f7 UASExecute1() + 2439
34  com.apple.applescript   0x1eff183c UASExecute(unsigned  
char) + 178
35  com.apple.applescript   0x1efc309c ASExecute(unsigned long,  
unsigned long, long, unsigned long*) + 302
36  ...ple.CoreServices.CarbonCore  0x