Re: abiwidget with odt files - question for rob

From: Martin Sevior <msevior_at_gmail.com>
Date: Sat Nov 08 2008 - 00:25:33 CET

Bah, I a typo in there.

I meant to say: rerun configure with "--enable-dynamic"

Cheers

Martin

On Sat, Nov 8, 2008 at 10:14 AM, Martin Edmund Sevior
<martines@unimelb.edu.au> wrote:
>
> Hi Daniel,
> The problem is fixed if you build libabiword with the
> "--enable-dynamic" configure option. Do a "make clean" in your abiword build
> directory, rerun configure with "--renable-dynamic" and NOT
> "--enable-libabiword", rebuild pyabiword and it works! (It did for me
> anyway.)
>
> I've fixed the wiki to reflect all this.
>
> http://www.abisource.com/wiki/AbiWordSDK
> http://www.abisource.com/wiki/PyAbiWord
>
> Cheers
>
> Martin
>
>
> -----Original Message-----
> From: owner-abiword-dev@abisource.com on behalf of Martin Sevior
> Sent: Thu 11/6/2008 5:38 PM
> To: Daniel Carvalho; abiword-dev
> Subject: Re: abiwidget with odt files - question for rob
>
>
> Hi Rob,
> Further investigation of this problem reveals that this
> problem is caused because *none* of the plugins load with pyabiword.
>
> I recall that there was a magic command one had to put on the
> configure line when building pyabiword to make it load plugins but I
> can't remember what it is. Can you remind me?
>
> Thanks!
>
> Martin
>
> On Thu, Nov 6, 2008 at 4:27 PM, Martin Sevior <msevior@gmail.com> wrote:
>> HI Daniel,
>> I just tried my own build and I see the same bug as you.
>> Advanced.py freezes as it tries to open an *.odt file.
>>
>> I'll investigate and fix the bug.
>>
>> Cheers
>>
>> Martin
>>
>> On Thu, Nov 6, 2008 at 9:07 AM, Martin Sevior <msevior@gmail.com> wrote:
>>> HI Daniel,
>>> Ah thanks! You'll need to build the "loadbindings" plugin
>>> for the "advaned.py" program.
>>>
>>> To do that do:
>>>
>>> ../configure --enable-debug --enable-libabiword
>>> --enable-plugins="loadbindings"
>>>
>>> in the abiword directory. This also builds abiword as library which
>>> you'll need for building the pyabiword bindings
>>> and abiwidget.
>>>
>>> After this rebuild the pyabiword bindings.
>>>
>>> I actually haven't tried to build the pyabiword bindings on trunk in a
>>> while. I'll give it a shot and check it all works myself.
>>>
>>> Cheers
>>>
>>> Martin
>>>
>>> On Thu, Nov 6, 2008 at 2:26 AM, Daniel Carvalho <idnael@gmail.com> wrote:
>>>> hi Martin!
>>>>
>>>> I tried again, compiling everything from the source... If you want,
>>>> you can see the output from the compilation in the attached zip file.
>>>>
>>>>
>>>> This is the error that happens when starting "python advanced.py " :
>>>>
>>>> python: symbol lookup error:
>>>> /usr/local/lib/abiword-2.6/plugins/libLoadBindings.so: undefined
>>>> symbol: _ZN7XAP_App6getAppEv
>>>>
>>>>
>>>>
>>>> I tried to remove some of the plugins with
>>>>
>>>> sudo rm /usr/local/lib/abiword-2.6/plugins/libLoadBindings.so
>>>> sudo rm /usr/local/lib/abiword-2.6/plugins/libAbiWikipedia.*
>>>> sudo rm /usr/local/lib/abiword-2.6/plugins//libAbiURLDict.*
>>>> sudo rm /usr/local/lib/abiword-2.6/plugins//libAbiGoogle.*
>>>> sudo rm /usr/local/lib/abiword-2.6/plugins//libAbiGimp.*
>>>> sudo rm /usr/local/lib/abiword-2.6/plugins//libAbiGdict.
>>>> sudo rm /usr/local/lib/abiword-2.6/plugins//libAbiGdict.*
>>>> sudo rm /usr/local/lib/abiword-2.6/plugins//libAbiGdict.
>>>> sudo rm /usr/local/lib/abiword-2.6/plugins//libAbiFreeTranslation.*
>>>> sudo rm /usr/local/lib/abiword-2.6/plugins//libAbiBabelfish.*
>>>>
>>>> now the application starts and works well. Only freezes when i try to
>>>> open an ODT file!!
>>>>
>>>>
>>>> cheers
>>>> daniel
>>>>
>>>> 2008/11/5 Martin Sevior <msevior@gmail.com>:
>>>>> HI Daniel,
>>>>> Did you compile everything yourself? Including pyabiword?
>>>>>
>>>>> Cheers
>>>>>
>>>>> Martin
>>>>>
>>>>>
>>>>> On Tue, Nov 4, 2008 at 2:48 AM, Daniel Carvalho <idnael@gmail.com>
>>>>> wrote:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> i installed pyabiword-0.6.1 and want to use abiwidget to open Open
>>>>>> Document (*.odt) files...
>>>>>>
>>>>>> But the included example program "advanced.py" freezes when trying to
>>>>>> open a odt file... the widget works well when opening abw files.
>>>>>>
>>>>>> And I can open odt files normally from Abiword word processor.
>>>>>>
>>>>>> I have tried that in a different system where i compiled all the
>>>>>> abiword packages from the source, and I got the same problem. It seems
>>>>>> the ODT plugin that is included in abiword-plugins-2.6.4 doensn't work
>>>>>> well with abiwidget...
>>>>>>
>>>>>>
>>>>>> daniel
>>>>>>
>>>>>
>>>>
>>>
>>
>
>
Received on Sat Nov 8 00:25:51 2008

This archive was generated by hypermail 2.1.8 : Sat Nov 08 2008 - 00:25:52 CET