Bug 544897 - Zotero Plugin crashes OpenOffice
Summary: Zotero Plugin crashes OpenOffice
Status: RESOLVED DUPLICATE of bug 548354
Alias: None
Product: openSUSE 11.2
Classification: openSUSE
Component: OpenOffice.org (show other bugs)
Version: Milestone 8
Hardware: x86-64 SUSE Other
: P5 - None : Critical with 1 vote (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: Ke Yu
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-07 07:43 UTC by Forgotten User wR5b4d_6ui
Modified: 2009-10-26 10:55 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
coolo: SHIP_STOPPER-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User wR5b4d_6ui 2009-10-07 07:43:26 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.3) Gecko/20090909 SUSE/3.5.3-1.3 Firefox/3.5.3

In the new Zotero plugin the installation works and the zotero toolbar appears on the openoffice menu. Even citations can be inserted but when I attempt to insert the bibliography openoffice crashes. Here is the output from the console:

QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPainter::begin: Cannot paint on a null pixmap                              
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPainter::begin: Cannot paint on a null pixmap                              
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPainter::begin: Cannot paint on a null pixmap                              
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPainter::begin: Cannot paint on a null pixmap                              
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPainter::begin: Cannot paint on a null pixmap                              
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPainter::begin: Cannot paint on a null pixmap                              
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPainter::begin: Cannot paint on a null pixmap                              
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPainter::begin: Cannot paint on a null pixmap                              
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPainter::begin: Cannot paint on a null pixmap                              
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPixmap: It is not safe to use pixmaps outside the GUI thread               
QPainter::begin: Cannot paint on a null pixmap                                                                                                          
QPixmap: It is not safe to use pixmaps outside the GUI thread                                                                                           
QPixmap: It is not safe to use pixmaps outside the GUI thread                                                                                           
QPixmap: It is not safe to use pixmaps outside the GUI thread                                                                                           
QPainter::begin: Cannot paint on a null pixmap                                                                                                          
QPixmap: It is not safe to use pixmaps outside the GUI thread                                                                                           
QPixmap: It is not safe to use pixmaps outside the GUI thread                                                                                           
QPixmap: It is not safe to use pixmaps outside the GUI thread                                                                                           
QPainter::begin: Cannot paint on a null pixmap                                                                                                          
QPixmap: It is not safe to use pixmaps outside the GUI thread                                                                                           
QPixmap: It is not safe to use pixmaps outside the GUI thread                                                                                           
QPixmap: It is not safe to use pixmaps outside the GUI thread                                                                                           
QPainter::begin: Cannot paint on a null pixmap                                                                                                          
QPixmap: It is not safe to use pixmaps outside the GUI thread                                                                                           
QPixmap: It is not safe to use pixmaps outside the GUI thread                                                                                           
QPixmap: It is not safe to use pixmaps outside the GUI thread                                                                                           
QPainter::begin: Cannot paint on a null pixmap                                                                                                          
QPixmap: It is not safe to use pixmaps outside the GUI thread                                                                                           
QPixmap: It is not safe to use pixmaps outside the GUI thread                                                                                           
QPixmap: It is not safe to use pixmaps outside the GUI thread                                                                                           
QPainter::begin: Cannot paint on a null pixmap                                                                                                          
QPixmap: It is not safe to use pixmaps outside the GUI thread                                                                                           
QPixmap: It is not safe to use pixmaps outside the GUI thread                                                                                           
QPixmap: It is not safe to use pixmaps outside the GUI thread                                                                                           
QPainter::begin: Cannot paint on a null pixmap                                                                                                          
QPixmap: It is not safe to use pixmaps outside the GUI thread                                                                                           
QPixmap: It is not safe to use pixmaps outside the GUI thread                                                                                           
QPixmap: It is not safe to use pixmaps outside the GUI thread                                                                                           
QPainter::begin: Cannot paint on a null pixmap                                                                                                          
QPixmap: It is not safe to use pixmaps outside the GUI thread                                                                                           
QPixmap: It is not safe to use pixmaps outside the GUI thread                                                                                           
QPixmap: It is not safe to use pixmaps outside the GUI thread                                                                                           
QPainter::begin: Cannot paint on a null pixmap                                                                                                          
QPixmap: It is not safe to use pixmaps outside the GUI thread                                                                                           
QPixmap: It is not safe to use pixmaps outside the GUI thread                                                                                           
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPainter::begin: Cannot paint on a null pixmap
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPainter::begin: Cannot paint on a null pixmap
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPainter::begin: Cannot paint on a null pixmap
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPainter::begin: Cannot paint on a null pixmap
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPainter::begin: Cannot paint on a null pixmap
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPainter::begin: Cannot paint on a null pixmap
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPainter::begin: Cannot paint on a null pixmap
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPainter::begin: Cannot paint on a null pixmap
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPainter::begin: Cannot paint on a null pixmap
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPainter::begin: Cannot paint on a null pixmap
X-Error: BadDrawable (invalid Pixmap or Window parameter)
        Major opcode: 62 (X_CopyArea)
        Resource ID:  0x0
        Serial No:    30497 (30497)
These errors are reported asynchronously,
set environment variable SAL_SYNCHRONIZE to 1 to help debugging

The Bug does also appear in Kubuntu Karmic (https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/434858). The culprit seems to be /usr/lib64/ooo3/basis3.1/program/libvclplug_kde4lx.so, which indicates that KDE integration  is somehow broken in OpenSuse 11.2


Reproducible: Always

Steps to Reproduce:
Press "Insert Bibliography" button in Zoter Toolbar
crash
Comment 1 Petr Mladek 2009-10-08 17:12:20 UTC
Edgar, does it help you to uninstall the package OpenOffice_org-kde4?

Also, could you please provide detailed steps how to get it working? Something like:

1. Download the OpenOffice.org plugin, version xxx from http://
2. Install it by the command, ...
3. Download the Firefox plugin, version yyy from http://
4. Install it by the command, ...
5. Run/restart firefox, ...

I tried to get the plugins from http://www.zotero.org/support/word_processor_plugin_installation. Though, firefox complained that the plugin was not compatible with the OOo plugin. It required the version at least 2.0b7SVN. I am not sure where to get it. It looks like a beta version. I am not sure if you use it or if you use a stable version.

Also, I am not sure what I should start first. OOo or Firefox?

Finally, the Firefox plugin has some preferences. Do I need to set the paths manually? How should I set them?
Comment 2 Forgotten User wR5b4d_6ui 2009-10-08 19:05:41 UTC
Peter, uninstalling the package OpenOffice_org-kde4 does not help.

Before I go into a step-by-step installation guide, one quick note about compatible Java-versions: Zotero does currently not work well with the IcedTea- Java plugin and/or runtime environment. Ideally, you will have a clean Sun-Java installation. Zotero's developers are aware of the issue and, I believe, are dealing with it.

It is the 'beta'-version I am testing, because of the unique online-sync-features which allow Zotero to be run on several computers while the database will always be up to date. The current 'stable' beta-version is 2.0b7.2 and can be found on http://www.zotero.org

The matching OpneOffice-plugin is 3.0a1 and can be found here: 

http://www.zotero.org/support/word_processor_plugin_installation#plugins_for_zotero_2.0_beta

pretty much towards the end of the page.

the installation:

1. remove any old zotero-extension from openoffice
2. close openoffice
3. install the plugin in firefox
4. close firefox and restart

The installation into openoffice should normally be fully automatic. If the "select installation path" dialogue pops up, simply choose 'detect path automatically".

Now start OpenOffice, the zotero-toolbar should be present. I have followed this procedure several times on OpneSuse 11.2 Milestone 7 and Milestone 8, it has always worked.
Comment 3 Petr Mladek 2009-10-26 10:55:29 UTC
We get the same problems also with a mono-based extension, see the bug #548354. I will close this bug as duplicate of the mono-based one because it is easier to setup.

It is related to KDE4.

A workaround is to remove /usr/lib64/ooo3/basis3.1/program/libvclplug_kde4lx.so from the system. Unfortunately, this file is not part of the optional -kde4 package because of design problems :-(

*** This bug has been marked as a duplicate of bug 548354 ***