JonnoFTW / BibTeX-Label-Creator

Plugin for Endnote to generate bibtex labels
23 stars 7 forks source link

Endnote X7.2 and X5. 1 crashes :( #1

Open 1234Mannheim opened 9 years ago

1234Mannheim commented 9 years ago

Hi, I've searched for an opportunity to create BibTex Labels from my Endnote Bib. Installation worked fine. I tried to copy the.dll file into "My Documents/Endnote/Plugins" folder (I created the subfolder Plugins), but nothing happened. Then I copied the .dll file to "C:\Program Files (x86)\EndNote X7\Plugins" and the option in Tools->Generate BibTeX Labels was visible. HOWEVER as soon as I try it Endnote crashes immediately -> No labels generated. :( Does anybody have an idea what's wrong? Best regards from Germany

JonnoFTW commented 9 years ago

If you send me your .enl file that you're trying to generate the labels for, I'll see what the problem is. You can send the file via dropbox if you want.

1234Mannheim commented 9 years ago

Did it work with my .enl file?

JonnoFTW commented 9 years ago

I've reproduced the crash, now I just need to figure out what's causing it!

JonnoFTW commented 9 years ago

@1234Mannheim Okay, it looks like it will crash when your reference is missing a year or an author. If you fix your references up by filling in this missing data it should work fine.

I'll fix the code so it doesn't crash on missing data. What should it do when the author or year is missing? I'm thinking of having it use an abbreviated form of the title (unless that's missing, in which case you don't have much of a reference).

1234Mannheim commented 9 years ago

Wow great, thanks a lot. Taking the title or creating a random citation would be great. Thank a lot!!!!

mushroom-matthew commented 6 years ago

Did you every update your code so it wouldn't crash when there was missing data?

JonnoFTW commented 6 years ago

@mushroom-matthew no I haven't. It probably shouldn't crash and instead skip the incomplete reference. Also I'm not on windows at the moment. As a temporary measure, give your references an author and a year.