Results 1 to 3 of 3

Thread: Openoffice dies during automation

  1. #1

    Default Openoffice dies during automation

    Oo3.1.1.4
    opensuse 11.2

    We have a python document generator script using pyuno to automate swriter,which run ok on 11.1 but
    now we get these errors and openoffice dies. I remember a similar issue a few years ago.


    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
    QPainter::save: Painter not active
    QPainter::setRenderHint: Painter must be active to set rendering hints
    QPainter::setPen: Painter not active
    QPainter::setBrush: Painter not active
    QPainter::restore: Unbalanced save/restore
    QPainter::save: Painter not active
    QPainter::translate: Painter not active
    QPainter::translate: Painter not active
    QPainter::setPen: Painter not active
    QPainter::setRenderHint: Painter must be active to set rendering hints
    QPainter::translate: Painter not active
    QPainter::setPen: Painter not active
    QPainter::restore: Unbalanced save/restore
    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
    QPainter::save: Painter not active
    QPainter::setRenderHint: Painter must be active to set rendering hints
    QPainter::setPen: Painter not active
    QPainter::setBrush: Painter not active
    QPainter::restore: Unbalanced save/restore
    QPainter::save: Painter not active
    QPainter::translate: Painter not active
    QPainter::translate: Painter not active
    QPainter::setPen: Painter not active
    QPainter::setRenderHint: Painter must be active to set rendering hints
    QPainter::translate: Painter not active
    QPainter::setPen: Painter not active
    QPainter::restore: Unbalanced save/restore
    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
    QPainter::save: Painter not active
    QPainter::setRenderHint: Painter must be active to set rendering hints
    QPainter::setPen: Painter not active
    QPainter::setBrush: Painter not active
    QPainter::restore: Unbalanced save/restore
    QPainter::save: Painter not active
    QPainter::translate: Painter not active
    QPainter::translate: Painter not active
    QPainter::setPen: Painter not active
    QPainter::setRenderHint: Painter must be active to set rendering hints
    QPainter::translate: Painter not active
    QPainter::setPen: Painter not active
    QPainter::restore: Unbalanced save/restore
    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
    QPainter::save: Painter not active
    QPainter::setRenderHint: Painter must be active to set rendering hints
    QPainter::setPen: Painter not active
    QPainter::setBrush: Painter not active
    QPainter::restore: Unbalanced save/restore
    QPainter::save: Painter not active
    QPainter::translate: Painter not active
    QPainter::translate: Painter not active
    QPainter::setPen: Painter not active
    QPainter::setRenderHint: Painter must be active to set rendering hints
    QPainter::translate: Painter not active
    QPainter::setPen: Painter not active
    QPainter::restore: Unbalanced save/restore
    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
    QPainter::save: Painter not active
    QPainter::setRenderHint: Painter must be active to set rendering hints
    QPainter::setPen: Painter not active
    QPainter::setBrush: Painter not active
    QPainter::restore: Unbalanced save/restore
    QPainter::save: Painter not active
    QPainter::translate: Painter not active
    QPainter::translate: Painter not active
    QPainter::setPen: Painter not active
    QPainter::setRenderHint: Painter must be active to set rendering hints
    QPainter::translate: Painter not active
    QPainter::setPen: Painter not active
    QPainter::restore: Unbalanced save/restore
    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
    QPainter::save: Painter not active
    QPainter::setRenderHint: Painter must be active to set rendering hints
    QPainter::setPen: Painter not active
    QPainter::setBrush: Painter not active
    QPainter::restore: Unbalanced save/restore
    QPainter::save: Painter not active
    QPainter::translate: Painter not active
    QPainter::translate: Painter not active
    QPainter::setPen: Painter not active
    QPainter::setRenderHint: Painter must be active to set rendering hints
    QPainter::translate: Painter not active
    QPainter::setPen: Painter not active
    QPainter::restore: Unbalanced save/restore
    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
    QPainter::save: Painter not active
    QPainter::setRenderHint: Painter must be active to set rendering hints
    QPainter::setPen: Painter not active
    QPainter::setBrush: Painter not active
    QPainter::restore: Unbalanced save/restore
    QPainter::save: Painter not active
    QPainter::translate: Painter not active
    QPainter::translate: Painter not active
    QPainter::setPen: Painter not active
    QPainter::setRenderHint: Painter must be active to set rendering hints
    QPainter::translate: Painter not active
    QPainter::setPen: Painter not active
    QPainter::restore: Unbalanced save/restore
    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
    QPainter::save: Painter not active
    QPainter::setRenderHint: Painter must be active to set rendering hints
    QPainter::setPen: Painter not active
    QPainter::setBrush: Painter not active
    QPainter::restore: Unbalanced save/restore
    QPainter::save: Painter not active
    QPainter::translate: Painter not active
    QPainter::translate: Painter not active
    QPainter::setPen: Painter not active
    QPainter::setRenderHint: Painter must be active to set rendering hints
    QPainter::translate: Painter not active
    QPainter::setPen: Painter not active
    QPainter::restore: Unbalanced save/restore
    X-Error: BadDrawable (invalid Pixmap or Window parameter)
    Major opcode: 62 (X_CopyArea)
    Resource ID: 0x0
    Serial No: 14416 (14416)
    These errors are reported asynchronously,

  2. #2

    Default Re: Openoffice dies during automation

    I have a similar problem, when I move a sheet ooo crash, running it from console this is the error:
    soffice
    pla@linux-dvkc:~/Documenti> 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
    ................a few tenth of this an then...........
    X-Error: BadDrawable (invalid Pixmap or Window parameter)
    Major opcode: 62 (X_CopyArea)
    Resource ID: 0x0
    Serial No: 12191 (12191)
    These errors are reported asynchronously,
    set environment variable SAL_SYNCHRONIZE to 1 to help debugging

  3. #3
    Will Honea NNTP User

    Default Re: Openoffice dies during automation

    pier andreit wrote:

    >
    > I have a similar problem, when I move a sheet ooo crash, running it from
    > console this is the error:
    > soffice
    > pla@linux-dvkc:~/Documenti> 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
    > ...............a few tenth of this an then...........
    > X-Error: BadDrawable (invalid Pixmap or Window parameter)
    > Major opcode: 62 (X_CopyArea)
    > Resource ID: 0x0
    > Serial No: 12191 (12191)
    > These errors are reported asynchronously,
    > set environment variable SAL_SYNCHRONIZE to 1 to help debugging


    I ran into a similar problem with Calc where simply creating a new sheet
    crashed me. I was playing with 11.2/KDE4 at the time and that problem
    appeared to resolve itself when I turned off desktop effects.

    I also had to re-configure Klipper to get cut/paste between sheets to work
    right - or at least like what I expected.

    OTOH, 11.1/KDE3 with the same build level of oo is rock solid....

    --
    Will Honea

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •