Re: [Sugar-devel] Error on Write activity: no module named abiword

2014-07-18 Thread Lionel Laské
I've no time now to upgrade to Sugar 0.102. I should deliver the image very
soon.

As a work around, I've done put a more recent version (94) of Write  in my
sugar-activities-extra directory.
And good news: it perfectly works !

Sorry I don't have a public repository for the image but you can find my
updated .ini file here [1].

Thanks to all for your help.

 Lionel.


[1] http://olpc-france.org/download/mundurucu-xo1.75.ini


2014-07-18 17:35 GMT+02:00 Gonzalo Odiard :

> On Fri, Jul 18, 2014 at 12:30 PM, Daniel Drake  wrote:
>
>> The error that he's seeing suggests that the activity isn't trying to
>> use introspection
>>
>> from abiword import Canvas
>>
>> so maybe the problem is that the Write version is too old?
>>
>
> Ohh, good catch! Is true.
>
> Lionel, do you really want work in a build based on Sugar 0.98.7?
>
> Daniel good to see you have a eye in the list still :)
>
> --
> Gonzalo Odiard
>
> SugarLabs - Software for children learning
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Error on Write activity: no module named abiword

2014-07-18 Thread Gonzalo Odiard
On Fri, Jul 18, 2014 at 12:30 PM, Daniel Drake  wrote:

> The error that he's seeing suggests that the activity isn't trying to
> use introspection
>
> from abiword import Canvas
>
> so maybe the problem is that the Write version is too old?
>

Ohh, good catch! Is true.

Lionel, do you really want work in a build based on Sugar 0.98.7?

Daniel good to see you have a eye in the list still :)

-- 
Gonzalo Odiard

SugarLabs - Software for children learning
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Error on Write activity: no module named abiword

2014-07-18 Thread Daniel Drake
On Thu, Jul 17, 2014 at 9:21 PM, Gonzalo Odiard  wrote:
>
> Do you have a abiword rpm with introspection enabled?
> Hint: we use a custom rpm
>
> http://harvest.one-education.org/public/au1b-updates/RPMS/abiword-2.9.3-1.git20121011.fc18.olpc12.armv7hl.rpm

The error that he's seeing suggests that the activity isn't trying to
use introspection

from abiword import Canvas

so maybe the problem is that the Write version is too old?
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Error on Write activity: no module named abiword

2014-07-18 Thread James Cameron
On Fri, Jul 18, 2014 at 09:48:35AM +0200, Lionel Laské wrote:
> 
> Hi Gonzalo,
> 
> Thanks for your answer.
> 
> 2014-07-17 22:21 GMT+02:00 Gonzalo Odiard :
> 
> Do you have a abiword rpm with introspection enabled?
> 
> 
> Not sure to understand the question :-(
> I didn't add any custom rpm in the image.
> Where can I find the information about that ?
> 
>  
> 
> Hint: we use a custom rpm
> 
> http://harvest.one-education.org/public/au1b-updates/RPMS/
> abiword-2.9.3-1.git20121011.fc18.olpc12.armv7hl.rpm
> 
> 
> Does it mean that I need to include a different rpm ?

Without seeing your .ini file it isn't practical to answer this.  ;-)

It is certainly possible to need a different rpm, if different
activities or rpms are already being used.

Are you publishing your olpc-os-builder git repository anywhere?
github seems a reasonable place.

-- 
James Cameron
http://quozl.linux.org.au/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Error on Write activity: no module named abiword

2014-07-18 Thread Lionel Laské
Hi Gonzalo,

Thanks for your answer.

2014-07-17 22:21 GMT+02:00 Gonzalo Odiard :

> Do you have a abiword rpm with introspection enabled?
>

Not sure to understand the question :-(
I didn't add any custom rpm in the image.
Where can I find the information about that ?



> Hint: we use a custom rpm
>
>
> http://harvest.one-education.org/public/au1b-updates/RPMS/abiword-2.9.3-1.git20121011.fc18.olpc12.armv7hl.rpm
>
> Does it mean that I need to include a different rpm ?

Lionel.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Error on Write activity: no module named abiword

2014-07-17 Thread Gonzalo Odiard
Do you have a abiword rpm with introspection enabled?
Hint: we use a custom rpm

http://harvest.one-education.org/public/au1b-updates/RPMS/abiword-2.9.3-1.git20121011.fc18.olpc12.armv7hl.rpm


On Thu, Jul 17, 2014 at 5:19 PM, Lionel Laské 
wrote:

>
> Hi all,
>
> I've got an issue with Write 79 on XO 1.75 using a custom build based on
> Sugar 0.98.7.
> When I launch the activity, it don't start and write the error:
>
> Traceback (most recent call last):
>   File "/usr/bin/sugar-activity", line 161, in 
> main()
>   File "/usr/bin/sugar-activity", line 119, in main
> module = __import__(module_name)
>   File "/home/olpc/Activities/Write.activity/AbiWordActivity.py", line 31,
> in 
> from abiword import Canvas
> ImportError: No module named abiword
> Exited with status 1, pid 1072 data (None, ', mode 'w'
> at 0xc4ade0>, '6142fa1b96ff478628b102f9f18ca8f430ae180e')
>
>
> Sound like "abiword" is not installed but when I'm doing "yum install
> abiword", it tell me that the last abiword is already installed.
>
> Any idea ?
>
> Best regards from France.
>
>   Lionel.
>
>
> ___
> Sugar-devel mailing list
> sugar-de...@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>


-- 
Gonzalo Odiard

SugarLabs - Software for children learning
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel