On Dec 7, 2010, at 23:45, Chris Goedde wrote:

> On Dec 7, 2010, at 3:42 PM, Christiaan Hofman wrote:
> 
>> 
>> On Dec 7, 2010, at 22:17, Chris Goedde wrote:
>> 
>>> Hi all,
>>> 
>>> I opened up BibDesk for the first time in a while, and all the links to PDF 
>>> files are broken. Some point to nothing, but others seem to point to random 
>>> files on my drive. As far as I know, I haven't moved any files or done 
>>> anything that would break the links. The files themselves are all where 
>>> they should be. Any ideas about what could have caused this? I'm on BD 
>>> 1.5.1.
>>> 
>>> Is there a way to fix this other than dragging and dropping all the files 
>>> onto the corresponding entries?
>>> 
>>> Thanks.
>>> 
>>> Chris
>> 
>> The first place BibDesk looks is the relative path form the database to the 
>> linked file. So when this is broken, you must have moved either the database 
>> or the linked files since the last time you saved the database.
> 
> You're right, I did move something. I keep my local texmf file in ~/Dropbox, 
> with a sym link to ~/Library/texmf. I moved the texmf directory in ~/Dropbox 
> (and fixed the sim link), so the bib file moved. So I guess what gets stored 
> is the actual path, and that changed. This is all in the Bdsk-File-1 field, 
> correct? Since I know the new and old paths to the bib file, is there a way 
> to fix it? (I have "File papers in fixed location" checked, and that hasn't 
> changed.
> 

The pref is not relevant, that only affects auto-filing.

It's in the Bdsk-File-* fields. Use the python script to figure out what the 
relative paths should be, and make sure that you  recreate the exact same 
relative paths between the .bib file and the linked files. If you only moved 
the .bib file that should be straight forward. After you've successfully opened 
the .bib file, and the links are restored, make sure you save it. After that, 
you can move the .bib file, though it might be prudent to use Save As for that. 
Also, I'd advice to keep a backup of your current .bib file in case things go 
wrong (of course, you should always keep backups anyway...)

>> You may want to use Adam Maxwell's python script 
>> http://homepage.mac.com/amaxwell/.cv/amaxwell/Sites/.Public/read_bdsk_file.py-zip.zip
>>  to figure out precisely which relative path was saved for some linked files.
> 
> Unfortunately, that gives an access denied error.
> 
> Chris

Get it from <http://bibdesk.sourceforge.net/scripts/read_bdsk_file.py.zip>.

Christiaan


------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

Reply via email to