Mendeley / openoffice-plugin

38 stars 16 forks source link

Unable to install on OS X 10.7 / NeoOffice : No module named json #7

Open ssbarnea opened 12 years ago

ssbarnea commented 12 years ago

Currently install of the extension failes on OS X 10.7 with NeoOffice 3.2.1 due to

bash-3.2$ python --version Python 2.7.1

python> import json works!

https://lh6.googleusercontent.com/ZLjq7h-a3ssakPXvxrFRamhT7gvHPDDixGbVKysuwsTrYPnsLQMEjY48GGn6eY3B-HmqqYl0-P4

robertknight commented 12 years ago

Hello,

Thanks for the note. I'm not able to access that link (I get a 403 error). Officially, we've dropped support for NeoOffice and only test the plugin with the current version of LibreOffice on Mac and Linux. LibreOffice apparently bundles their own version of Python and I presume NeoOffice does likewise, this might be missing the json module.

Having said that, we'll consider patches to fix the problem and anyone is welcome to re-use the Python APIs for interacting with Mendeley Desktop's citation editor for use with other word processors.

ssbarnea commented 12 years ago

Not a good decision, considering that currently NeoOffice is the only product from the OOo blends which does not crash on my MBP running 10.7.4 !!! The others do crash in less than one minute after start!

robertknight commented 12 years ago

Hello,

Can you get a crash log from LibreOffice / OpenOffice - see http://www.webkit.org/quality/crashlogs.html for steps on how to do this. It may also be worth checking the LO bug-tracker.

ssbarnea commented 12 years ago

I added the bug at https://bugs.freedesktop.org/show_bug.cgi?id=51712 and the full dump is at http://pastebin.com/BJVtsKXY

robertknight commented 12 years ago

OK, I'm not immediately able to say what the problem is but a few things come to mind:

  1. LibreOffice and OpenOffice.org share the same preferences I believe, I'm not sure if NeoOffice does though. It might be worth backing up and clearing out settings for OpenOffice / LO under ~/Library/Preferences and ~/Library/Application Support
  2. From the trace, it looks as though the app is getting stuck in some accessibility-related code, so the issue could be related to any accessibility features that are enabled or extra window management apps installed.
ssbarnea commented 12 years ago

I found the cause, it is Window Magnet which causes the crash. Now, I don't know if is their fault or LO/OO fault. Let's continue this to LO bug report.

Now. I will be able to test LO and see if it works decently on OS X, as NeoOffice is quite old and has lots of bugs, still is very stable, in fact it never crashed in 3 weeks of daily use, with few restarts. Still, I will be happy to switch to LO.