View Issue Details

IDProjectCategoryView StatusLast Update
0004847ScribusImport / Exportpublic2015-04-29 01:49
Reporterchristoph_s Assigned To 
PrioritynormalSeveritytweakReproducibilityalways
Status newResolutionopen 
Platformx86OSLinuxOS VersionSuSE 10.1
Product Version1.3.4cvs 
Summary0004847: Add OOo templates to the list of imported file types (ott, otg, stw, stg ...)
DescriptionIIRC, templates in OO.o are more or less the same as regular OOo files, except for some kind of "switch" that forces OOo to save the file under a different name. Scribus 1.3.3 does import them without any issues. 1.3.4cvs works with OO.o Draw templates, but crashes with Writer templates:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1224444240 (LWP 6757)]
0x08217a94 in QString::length (this=0x9561dac)
    at /usr/lib/qt3/include/qstring.h:880
880 { return d->len; }
(gdb) bt
#0 0x08217a94 in QString::length (this=0x9561dac)
    at /usr/lib/qt3/include/qstring.h:880
0000001 0x0839dc5f in gtDialogs::runImporterDialog (this=0x9561da8,
    importers=@0x902098c)
    at /home/christoph/scribus134cvs/Scribus/scribus/gtdialogs.cpp:225
0000002 0x083a7d85 in gtGetText::launchImporter (this=0x9020978, importer=-1,
    filename=@0xbfc56478, textOnly=false, encoding=@0xbfc56480, append=false,
    target=0x0)
    at /home/christoph/scribus134cvs/Scribus/scribus/gtgettext.cpp:55
0000003 0x086cd22f in ScribusMainWindow::slotGetContent (this=0x8bebbc0)
    at /home/christoph/scribus134cvs/Scribus/scribus/scribus.cpp:3848
0000004 0x086d4812 in ScribusMainWindow::qt_invoke (this=0x8bebbc0, _id=102,
    _o=0xbfc56638)
    at /home/christoph/scribus134cvs/Scribus/scribus/scribus.moc:987
0000005 0xb7ad0e9d in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
0000006 0xb7ad1afd in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
0000007 0xb7e2a619 in QAction::activated () from /usr/lib/libqt-mt.so.3
0000008 0xb7c0f18e in QAction::internalActivation () from /usr/lib/libqt-mt.so.3
0000009 0xb7e2a93c in QAction::qt_invoke () from /usr/lib/libqt-mt.so.3
0000010 0x0866b1d5 in ScrAction::qt_invoke (this=0x8fe9fa0, _id=8, _o=0xbfc56744)
    at /home/christoph/scribus134cvs/Scribus/scribus/scraction.moc:229
0000011 0xb7ad0e9d in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
0000012 0xb7e0839e in QSignal::signal () from /usr/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
0000013 0xb7aecf77 in QSignal::activate () from /usr/lib/libqt-mt.so.3
0000014 0xb7bd4ffa in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
0000015 0xb7b09bc0 in QWidget::event () from /usr/lib/libqt-mt.so.3
0000016 0xb7a71f37 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
0000017 0xb7a72e5b in QApplication::notify () from /usr/lib/libqt-mt.so.3
0000018 0xb7a1251e in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3
0000019 0xb7a10e16 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
0000020 0xb7a2145a in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
0000021 0xb7a88d68 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
0000022 0xb7a71a5f in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
0000023 0xb7bd8237 in QPopupMenu::exec () from /usr/lib/libqt-mt.so.3
0000024 0x0877931e in ScribusView::contentsMouseReleaseEvent (this=0x949ecf0,
    m=0xbfc592b4)
    at /home/christoph/scribus134cvs/Scribus/scribus/scribusview.cpp:2685
0000025 0xb7be6765 in QScrollView::viewportMouseReleaseEvent ()
   from /usr/lib/libqt-mt.so.3
0000026 0xb7be3b8f in QScrollView::eventFilter () from /usr/lib/libqt-mt.so.3
0000027 0xb7ad079c in QObject::activate_filters () from /usr/lib/libqt-mt.so.3
0000028 0xb7ad080b in QObject::event () from /usr/lib/libqt-mt.so.3
0000029 0xb7b0984c in QWidget::event () from /usr/lib/libqt-mt.so.3
0000030 0xb7a71f37 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
0000031 0xb7a72e5b in QApplication::notify () from /usr/lib/libqt-mt.so.3
0000032 0xb7a11c42 in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
0000033 0xb7a10e16 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
0000034 0xb7a2145a in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
0000035 0xb7a88d68 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
0000036 0xb7a88bfe in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
0000037 0xb7a71aef in QApplication::exec () from /usr/lib/libqt-mt.so.3
0000038 0x08403a5f in mainApp (argc=1, argv=0xbfc59b34)
    at /home/christoph/scribus134cvs/Scribus/scribus/main_nix.cpp:76
0000039 0x08403ac6 in main (argc=Cannot access memory at address 0x0
)
    at /home/christoph/scribus134cvs/Scribus/scribus/main_nix.cpp:52
TagsNo tags attached.
Patch

Activities

cbradney

2006-12-18 19:41

administrator   ~0014049

Not in 1.3.4. Too many options with our file dialog that wont handle them well.

cbradney

2007-10-09 22:21

administrator   ~0017572

Any chance you can remember which doc you used back then and retest with 135svn?

christoph_s

2007-10-09 22:26

developer   ~0017573

No, but I'll do some testing.

christoph_s

2007-10-10 17:27

developer   ~0017577

OTT docs are imported without issues (in case there is something to import). OTG files are imported, but special characters aren't displayed correctly. The attached OTG triggers a crash:

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb6baeaa0 (LWP 4252)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0 0xffffe410 in __kernel_vsyscall ()
0000001 0xb6eb18f5 in raise () from /lib/libc.so.6
0000002 0xb6eb31e1 in abort () from /lib/libc.so.6
0000003 0xb6eaac1e in __assert_fail () from /lib/libc.so.6
0000004 0x087fea81 in abort_on_error (t=QtFatalMsg,
    m=0xbfef1e4c "ASSERT failure in QList<T>::at: \"index out of range\", file /usr/include/QtCore/qlist.h, line 386")
    at /home/christoph/scribus135/trunk/Scribus/scribus/scribuscore.cpp:77
0000005 0xb73624f3 in qt_message_output () from /usr/lib/libQtCore.so.4
0000006 0xb7362608 in qFatal () from /usr/lib/libQtCore.so.4
0000007 0xb736266c in qt_assert_x () from /usr/lib/libQtCore.so.4
0000008 0x082e4f22 in QList<PageItem*>::at (this=0x96c5650, i=18)
    at /usr/include/QtCore/qlist.h:386
0000009 0x0888b10d in ScriXmlDoc::ReadElem (this=0x966ebf8, fileName=@0xbfef4db0,
    avail=@0x8ca7bf0, doc=0x96c5570, Xp=366, Yp=135, Fi=false, loc=false,
    FontSub=@0x8ca8020, view=0x96d3348)
    at /home/christoph/scribus135/trunk/Scribus/scribus/scribusXml.cpp:1498
0000010 0x087b1461 in ScribusMainWindow::slotElemRead (this=0x8c8afd8,
    xml=@0xbfef4e94, x=366, y=135, art=false, loca=false, docc=0x96c5570,
    vie=0x96d3348)
    at /home/christoph/scribus135/trunk/Scribus/scribus/scribus.cpp:7848
0000011 0x082159df in ScribusMainWindow::qt_metacall (this=0x8c8afd8,
    _c=QMetaObject::InvokeMetaMethod, _id=166, _a=0xbfef53c0)
---Type <return> to continue, or q <return> to quit---
    at /home/christoph/scribus135/trunk/Scribus/scribus/moc_scribus.cxx:567
0000012 0xb741f0c0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
0000013 0xb741fa02 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
0000014 0x082181cf in ScribusView::LoadElem (this=0x96d3348, _t1=@0xbfef56e0,
    _t2=366, _t3=135, _t4=false, _t5=false, _t6=0x96c5570, _t7=0x96d3348)
    at /home/christoph/scribus135/trunk/Scribus/scribus/moc_scribusview.cxx:643
0000015 0x08859751 in ScribusView::contentsDropEvent (this=0x96d3348, e=0xbfef5ab8)
    at /home/christoph/scribus135/trunk/Scribus/scribus/scribusview.cpp:927
0000016 0x0884d4ce in ScribusView::eventFilter (this=0x96d3348, obj=0x96d4068,
    event=0xbfef5ab8)
    at /home/christoph/scribus135/trunk/Scribus/scribus/scribusview.cpp:5136
0000017 0xb7913bd2 in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
0000018 0xb791a962 in QApplication::notify () from /usr/lib/libQtGui.so.4
0000019 0xb740dd5b in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
0000020 0xb7974f53 in QX11Data::xdndHandleDrop () from /usr/lib/libQtGui.so.4
0000021 0xb797525d in QDragManager::drop () from /usr/lib/libQtGui.so.4
0000022 0xb797724d in QDragManager::eventFilter () from /usr/lib/libQtGui.so.4
0000023 0xb7913ad2 in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
0000024 0xb791a38d in QApplication::notify () from /usr/lib/libQtGui.so.4
0000025 0xb740dd5b in QCoreApplication::notifyInternal ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libQtCore.so.4
0000026 0xb796a733 in QETWidget::translateMouseEvent () from /usr/lib/libQtGui.so.4
0000027 0xb7969d96 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
0000028 0xb798d17a in ?? () from /usr/lib/libQtGui.so.4
0000029 0xbfef7e00 in ?? ()
0000030 0xbfef62e8 in ?? ()
0000031 0xbfef6268 in ?? ()
0000032 0xb6d73ff0 in _xcb_unlock_io () from /usr/lib/libxcb.so.1
0000033 0xb6dbe446 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
0000034 0xb6dc17e2 in ?? () from /usr/lib/libglib-2.0.so.0
0000035 0x08c60c90 in ?? ()
0000036 0x00000000 in ?? ()

2007-10-10 17:27

 

faltkarte.otg (97,028 bytes)

jghali

2007-10-12 22:59

administrator   ~0017593

The faltkarte.otg crash is fixed

christoph_s

2007-10-13 20:07

developer   ~0017597

Yes, the crash is gone, but import doesn't work.

2007-10-13 20:10

 

glueckwunschkarte.otg (39,916 bytes)

christoph_s

2007-10-13 20:10

developer   ~0017598

Uploaded another otg that can't be imported.

Kunda

2015-04-29 01:49

updater   ~0034984

Christoph, what's the status of this ?

Issue History

Date Modified Username Field Change
2006-12-18 13:20 christoph_s New Issue
2006-12-18 19:41 cbradney Note Added: 0014049
2007-10-09 22:21 cbradney Note Added: 0017572
2007-10-09 22:26 christoph_s Note Added: 0017573
2007-10-10 17:27 christoph_s Note Added: 0017577
2007-10-10 17:27 christoph_s File Added: faltkarte.otg
2007-10-12 22:59 jghali Note Added: 0017593
2007-10-13 20:07 christoph_s Note Added: 0017597
2007-10-13 20:10 christoph_s File Added: glueckwunschkarte.otg
2007-10-13 20:10 christoph_s Note Added: 0017598
2015-04-29 01:49 Kunda Note Added: 0034984