OpenOffice plugin problems

My system:

Zotero 1.5b1
Open Office 3.0.1
Zotero.oxt 2.0a2
Ubuntu 9.04 alpha

The problem: When clicking on insert citation or set document preferences, I get the following error:

"An unknown error occurred contacting Zotero. Please use the "report errors" feature from within Zotero (...)"

I checked the following:

- python-uno 3.0.1-5ubuntu1 is installed
- running zotero with debug on shows that zotero starts listening on localhost:50001
- tried removing the plugin and reinstalling, cleared out .openoffice.org folder too
- tried reinstalling firefox plugin
- firefox is not in offline mode
- openoffice does not track changes

So where do I go from here, I need this to work soon, so any help appreciated. One thing I have wondered about: People seem to mention there being multiple entries for the zotero plugin in the OO plugin manager. I see only one, and its not expandable in any way.

Regards.
Tor
  • Did you use the "Report Errors" feature (under the gear menu)? Send in a report after you get the error and post the Report ID here.
  • The option is grayed out, even after errors occur. Probably since communication between the OO plugin and zotero is not happening at all.
  • Do you see any debug output (e.g., a SOAP request) when you click the button? If not, it's likely some sort of Python problem.
  • Hi again, thanks for helping out Dan.

    If you mean when I click on the cite icon in OO, then no theres just the error message that I described above.

    Where should I start troubleshooting python? Can I make the OO pluging give me a debug output somehow?
  • I have a very similar problem. Here's my configuration:
    Zotero 1.5b2 or Zotero 1.09 (both result in exactly the same error by OO)
    Ubuntu 9.04 beta with all current updates
    OpenOffice 3.0.1 (Build: 9379)(ubuntu build) with OO plugin 1.04b
    python-uno 1:3.0.1-7ubuntu1

    Zotero works fine in firefox.
    I start OO while firefox is running.
    When I click on the 'insert citation', 'insert bibliography', 'refresh', or 'edit document preferences', I get the following error:
    "An error occurred communicating with Zotero. Please ensure Firefox is open and try again."
    When I click the 'edit citation' or 'edit bibliography', I get the correct error messages, like 'you are not within a citation' or something like that.
    The only error message I get from OpenOffice when it starts up from a console is:
    'unable to get gail version number'
    but nothing comes up in the console when I click the zotero extension buttons, only the popup window with the errors mentioned above.
    I also changed from open java to sun java, but the errors were the same.
    I hope we can track this down soon
    Nick
  • Oups, I realised I should use the plugin 2.0a2. I removed 1.04b and installed 2.0a2. Now I get the same error as in the first posting here.
    I ran openoffice from the console again, and only got the same error:
    'unable to get gail version number'

    Nick
  • I used 'Report Errors...' from zotero, and it gave me the following error messages:

    Failed to load XPCOM component: /usr/lib/xulrunner-1.9.0.8/components/libpyloader.so

    Failed to load XPCOM component: /usr/lib/xulrunner-1.9.0.8/components/pyabout.py

    I got the error report number: 1164778058

    I installed xulrunner, and now the 'Report Errors...' is grayed out, and these files exist, so the above error submission is irrelevant. The OO plugin still doesn't work, with exactly the same error message.

    Nick
  • There is/was an issue with python in the ubuntu beta.

    http://ubuntuforums.org/showthread.php?t=1107854

    Perhaps it is related.
  • I have this problem in Ubuntu 9.04 beta too.

    My setup:
    Zotero 1.5b2
    Zotero.oxt 2.0a2
    python 2.6.1-1ubuntu7
    python-uno 1:3.0.1-7ubuntu1
    openoffice.org 1:3.0.1-7ubuntu1

    There is no error output relevant to zotero in the debugging output

    @Sebastian - my version of python is later than the known bad version from ubuntu.

    The localhost http server is starting up, but the OO extension doesn't seem to be connecting to it. I can confirm that the same combination of plugin and OO profile is working in 32 bit intrepid.
  • I too have the latest python and still get the connection problem. I ran both firefox and openoffice in sudo to make sure it wasn't a priviledges issue, but that didn't solve it. I also ran
    strace -o /tmp/strace.log -f -tt -s 512 ooffice
    I'm no openoffice expert, and the file is quite huge, so I couldn't figure much out from that.
    I use the same versions in Intrepid (Ubuntu 8.10) with latest python updates, and it works fine.

    Does anyone know how to get verbose output from the oxt extension? That might help pinpoint the problem.
  • Same issue here:

    Ubuntu: Jaunty Beta
    OpenOffice 3.0.1
    Python 2.6.1+, 2.6.1-0ubuntu9
    Python-uno: 3.0.1-7ubuntu1
    Zotero Plugin: 2.0a2
    Addon: 1.5b2

    I get no errors from console when loading OO aside from:
    ** (soffice:7571): WARNING **: unable to get gail version number

    When clicking 'Insert citation' I get:

    'An unknown error occurred contacting Zotero. Please use the "Report Errors" feature from within Zotero to report this to the Zotero developers.'

    In Zotero, the 'report errors' option is greyed out... Can I get you any more information?

    S
  • Same problem

    Failed to load XPCOM component: /usr/lib/xulrunner-1.9.0.7/components/libpyloader.so

    report id 1806329190

    Suspect this is an Ubuntu problem, it is beta for a reason :)
    Updating stuff, trying to track it down.
    Jon.
  • OK pretty sure it's a Python / Ubuntu problem.
    ran
    /usr/lib/firefox-3.0.8/run-mozilla.sh `which ldd` -r /usr/lib/xulrunner-1.9.0.8/components/libpyloader.so

    and got
    linux-gate.so.1 => (0xb8031000)
    libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7ffd000)
    libxpcom.so => /usr/lib/libxpcom.so (0xb7ff9000)
    libxul.so => /usr/lib/libxul.so (0xb739d000)
    libplds4.so => /usr/lib/libplds4.so (0xb7399000)
    libplc4.so => /usr/lib/libplc4.so (0xb7394000)
    libnspr4.so => /usr/lib/libnspr4.so (0xb735e000)
    libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb735a000)
    libpython2.6.so.1.0 => /usr/lib/libpython2.6.so.1.0 (0xb7106000)
    libutil.so.1 => /lib/tls/i686/cmov/libutil.so.1 (0xb7101000)
    libpyxpcom.so => not found
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7012000)
    libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb6fec000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6fdd000)
    libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb6e79000)
    /lib/ld-linux.so.2 (0xb8032000)
    libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb6e59000)
    libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb6e33000)
    libmozjs.so.0d => /usr/lib/libmozjs.so.0d (0xb6d7e000)
    libz.so.1 => /lib/libz.so.1 (0xb6d68000)
    libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb6d64000)
    libX11.so.6 => /usr/lib/libX11.so.6 (0xb6c75000)
    libXft.so.2 => /usr/lib/libXft.so.2 (0xb6c61000)
    libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb68b0000)
    libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb6823000)
    libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb6808000)
    libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb67de000)
    libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb67c4000)

    So that, I guess is the problem:
    libpyxpcom.so => not found

    But have no idea how to fix it ...
  • Today's package updates fixed the problem for me. I think it was an uno update that did the job.
    Nick
  • Yup, it's working now for me too..
    Jon.
  • Working for me now too.
  • Fixed here - updates have fixed the issue...
    S
Sign In or Register to comment.