Re: [FSO M5] Paroli-Apps crash with 'Screen' object has no attribute 'etk_obj

2009-02-11 Thread Arigead
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Guillaume Chereau wrote:
 On Tue, 2009-02-10 at 14:39 +, Arigead wrote:
 cd ../paroli-scripts/
 DISPLAY=:0; python paroli-launcher


 results in the following:

 [Etk-Warning] (ecore_evas_x11.c:190 - _engine_init()):
 Ecore_X initialization failed!

 [Etk-Warning] (etk_engine.c:221 - etk_engine_load()):
 Etk can not initialize the requested engine!

 Segmentation fault
 I don't know what the problem is. It is the error you get when you don't
 set DISPLAY=:0 (by the way very annoying to have a seg fault in that
 case) but since you took care of setting DISPLAY then I don't know.
 
 Can you run this simple test : 
 
  DISPLAY=:0; python -c 'import etk'
 
 And see if you get the same error.
 
 /Guillaume

r...@om-gta02:~# DISPLAY=:0; python -c 'import etk'
[Etk-Warning] (ecore_evas_x11.c:190 - _engine_init()):
Ecore_X initialization failed!

[Etk-Warning] (etk_engine.c:221 - etk_engine_load()):
Etk can not initialize the requested engine!

Segmentation fault
r...@om-gta02:~#


Nice one Guillaume ;-)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmSiD8ACgkQXlbjSJ5n4BC2ZwCgoO+pzeYsz7PmSEr58Oz6Z0yi
xiEAniugv0iTyeq8iLhmoiulbGIuIdcs
=vUoc
-END PGP SIGNATURE-

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO M5] Paroli-Apps crash with 'Screen' object has no attribute 'etk_obj

2009-02-11 Thread Arigead
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Guillaume Chereau wrote:
 On Wed, 2009-02-11 at 08:12 +, Arigead wrote:
 r...@om-gta02:~# DISPLAY=:0; python -c 'import etk'
 [Etk-Warning] (ecore_evas_x11.c:190 - _engine_init()):
 Ecore_X initialization failed!

 [Etk-Warning] (etk_engine.c:221 - etk_engine_load()):
 Etk can not initialize the requested engine!

 Segmentation fault
 r...@om-gta02:~#
 
 OK then at least the error doesn't come from paroli.
 
 I don't get the error on my gta02, using FSO ms5 (illume)
 My version of python-etk (opkg info python-etk) is 0.1.1+svnr38544-ml1
 and my version of libetk1 is 2:0.1.0.042+svnr38544-r4, what are
 yours ?
 
 Also, which flavor of FSO ms5 are you using ? fso-console-image,
 fso-illume-image, or fso-image ? I am using illume version and haven't
 tried the other ones.
 
 Ah, and just to make sure, can you also try using export DISPLAY=:0
 instead of DISPLAY=:0 ?
 
 -gui

what can I say, leaving out naughty words? export makes a world of
difference. Thanks a million for your help. Now I can start using Paroli.

John
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmSrJEACgkQXlbjSJ5n4BB1sACfSQQcDTVmcg9Lh5X/ZAUryUln
Zs0AniHfl/3wz+0W2B0QIiZoRO4le9jm
=rZGo
-END PGP SIGNATURE-

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO M5] Paroli-Apps crash with 'Screen' object has no attribute 'etk_obj

2009-02-11 Thread Arigead
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ok now I've got Paroli up and running and removed the test stuff from
the config file. I'll cut and paste the output to the terminal windown.
I've basically selected Tele, the only app in the list and get the
following output. I'll have a look at it later on. One thing is that
later on the coverage display on the top does change to show my coverage
but it's down as No Service. Selecting Tele after the first time
does nothing and produces no more output. Paroli seems to be a bit away
from daily use in my case :-(

John

paroli-launcher.py 70 Launcher INFO adding - Tele to launcher
paroli-launcher.py 108 Launcher INFO False
paroli-launcher 284 root INFO starting mainloop
gsm.py 181 GSM  INFO Check antenna power
gsm.py 183 GSM  INFO antenna power is 0
gsm.py 186 GSM  INFO turn on antenna power
gsm.py 173 GSM  INFO register on the network
gsm.py 177 GSM  ERRORError :
org.freesmartphone.GSM.Device.Timeout: device did not answer within 30
seconds
tasklet.py 121 tasklet  ERRORGot error from unconnected tasklet :
org.freesmartphone.GSM.Device.Timeout: device did not answer within 30
seconds
tasklet.py 125 tasklet  ERROR  File
../paroli-core/tichy/tasklet.py, line 162, in throw
tasklet.py 125 tasklet  ERRORvalue = self.generator.throw(type,
value, traceback)
tasklet.py 125 tasklet  ERROR
tasklet.py 125 tasklet  ERROR  File paroli-launcher, line 123, in run
tasklet.py 125 tasklet  ERRORyield gsm_service.init()
tasklet.py 125 tasklet  ERROR
tasklet.py 125 tasklet  ERROR  File
../paroli-core/tichy/tasklet.py, line 162, in throw
tasklet.py 125 tasklet  ERRORvalue = self.generator.throw(type,
value, traceback)
tasklet.py 125 tasklet  ERROR
tasklet.py 125 tasklet  ERROR  File
../paroli-services/phone/gsm.py, line 174, in init
tasklet.py 125 tasklet  ERRORyield
WaitDBus(self.gsm_network.Register)
tasklet.py 125 tasklet  ERROR
gh

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmSwLEACgkQXlbjSJ5n4BBokwCg0m4uz8D3Bmw8A4a8c1GOdMHf
3c4AnjRywX72BtksDfZe76MSvoztmXHe
=qx+P
-END PGP SIGNATURE-

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO M5] Paroli-Apps crash with 'Screen' object has no attribute 'etk_obj

2009-02-11 Thread Mirko Lindner
Hi,

I am almost certain that that is not a paroli error.

See more comments below:

Arigead wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Ok now I've got Paroli up and running and removed the test stuff from
 the config file. I'll cut and paste the output to the terminal windown.
 I've basically selected Tele, the only app in the list and get the
 following output. I'll have a look at it later on. One thing is that
 later on the coverage display on the top does change to show my coverage
 but it's down as No Service. Selecting Tele after the first time
 does nothing and produces no more output. Paroli seems to be a bit away
 from daily use in my case :-(
 
 John
 
 paroli-launcher.py 70 Launcher INFO adding - Tele to launcher
 paroli-launcher.py 108 Launcher INFO False
 paroli-launcher 284 root INFO starting mainloop
 gsm.py 181 GSM  INFO Check antenna power
 gsm.py 183 GSM  INFO antenna power is 0
 gsm.py 186 GSM  INFO turn on antenna power
 gsm.py 173 GSM  INFO register on the network

OK here we go ;)

 gsm.py 177 GSM  ERRORError :
 org.freesmartphone.GSM.Device.Timeout: device did not answer within 30
 seconds
 tasklet.py 121 tasklet  ERRORGot error from unconnected tasklet :
 org.freesmartphone.GSM.Device.Timeout: device did not answer within 30
 seconds

This means paroli tried to connect to the framework but did not get an 
answer to its register request.

Together with what you mentioned above :
One thing is that later on the coverage display on the top does change 
to show my coverage but it's down as No Service.

It seems as if the framework simply cannot conenct to the network. Could 
you paste the framework.log as well?

Or even better open a ticket on

http://www.paroli-project.org/trac/

And paste both logs there.

/mirko

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO M5] Paroli-Apps crash with 'Screen' object has no attribute 'etk_obj

2009-02-10 Thread Arigead
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mirko Lindner wrote:
 
 Yepp, it is an error in the python bindings of ecore.x. The easiest way
 to get around this error is to remove the import call in
 ../paroli-core/tichy/gui_paroli/__init__.py, line 27. We don't use the
 module currently. I will also remove it in the git.
 
 Not sure since when the module is broken, in the version of MS5 that I
 have all is still working even when importing that module.
 
 /mirko
 

Hi Mirko,
according to the Paroli web pages this is a good a place as any to
discuss issues on Paroli. Perhaps it'd be better on Devel which doesn't
see much action these days?

Anyhow thanks for your help I got Paroli launcher running with your help
but I'm a bit surprised with the results. The only app available in the
paroli-launcher is Tele, I'd expected it to pick up contacts and the
other apps in paroli.

As for Tele it does no start up the GSM modem at all, and register to
the network, so I can't make a call with it. Is this a know issue? I'd
like to help out by doing a bit of testing and giving some feedback.
I've probably a lot of opinion but for a start I'd like to be able to
make a phone call if I can't do that I'll have to reinstall zhone, but I
was hoping to move on from that app.

John
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmRNeYACgkQXlbjSJ5n4BB+GgCgivgjP2k5fuStmfZfTpvuwFMd
OPsAmwS6HQ51t6KYPVMMYfawiI7k1xfy
=rrLg
-END PGP SIGNATURE-

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO M5] Paroli-Apps crash with 'Screen' object has no attribute 'etk_obj

2009-02-10 Thread Guillaume Chereau
On Tue, 2009-02-10 at 08:08 +, Arigead wrote:
 As for Tele it does no start up the GSM modem at all, and register to
 the network, so I can't make a call with it. Is this a know issue? I'd
 like to help out by doing a bit of testing and giving some feedback.
 I've probably a lot of opinion but for a start I'd like to be able to
 make a phone call if I can't do that I'll have to reinstall zhone, but
 I
 was hoping to move on from that app.

Hi John,

They are two things you could look for :

First, if you start paroli directy from its source directory, and you
don't have it installed, it will read the local config file
./paroli.cfg, wich set GSM service to TEST, so that you will never get
connected to the network. If you see this line the log :

 INFO set service GSM to Test

Then it means you have to comment the line

 defaults = GSM:Test, SIM:Test, Audio:Test,

in paroli.cfg

Second thing is that even when you run paroli using the correct GSM
service, you get no visual indication of the connection status. And it
can be quite long before you get a network connection.

Could you please repeat the operation and send the log (/tmp/paroli.log)
to the mailing list ?

Regards,

Guillaume


signature.asc
Description: This is a digitally signed message part
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO M5] Paroli-Apps crash with 'Screen' object has no attribute 'etk_obj

2009-02-10 Thread Mirko Lindner
Hi,

 
 Hi Mirko,
 according to the Paroli web pages this is a good a place as any to
 discuss issues on Paroli. Perhaps it'd be better on Devel which doesn't
 see much action these days?

Either one works, if we get to technical devel is probably better.

 
 Anyhow thanks for your help I got Paroli launcher running with your help
 but I'm a bit surprised with the results. The only app available in the
 paroli-launcher is Tele, I'd expected it to pick up contacts and the
 other apps in paroli.

It is the only app that is somewhat stable for now. Msgs and Logs are in 
the making.

You can add contacts in Tele as well
see http://www.paroli-project.org/running-paroli/tele/

 
 As for Tele it does no start up the GSM modem at all, and register to
 the network, so I can't make a call with it. Is this a know issue? I'd
 like to help out by doing a bit of testing and giving some feedback.
 I've probably a lot of opinion but for a start I'd like to be able to
 make a phone call if I can't do that I'll have to reinstall zhone, but I
 was hoping to move on from that app.

see http://www.paroli-project.org/running-paroli/

and

http://www.paroli-project.org/running-paroli/parolicfg/

for details.

I think Charlie also answered to this mail with detailed explanation.

If the pages mentioned don't help, don't hesitate to ask, because that 
mean the pages are not detailed enough.

Any comment input is highly appreciated.

/mirko



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO M5] Paroli-Apps crash with 'Screen' object has no attribute 'etk_obj

2009-02-10 Thread Arigead
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Guillaume Chereau wrote:
 On Tue, 2009-02-10 at 08:08 +, Arigead wrote:
 As for Tele it does no start up the GSM modem at all, and register to
 the network, so I can't make a call with it. Is this a know issue? I'd
 like to help out by doing a bit of testing and giving some feedback.
 I've probably a lot of opinion but for a start I'd like to be able to
 make a phone call if I can't do that I'll have to reinstall zhone, but
 I
 was hoping to move on from that app.
 
 Hi John,
 
 They are two things you could look for :
 
 First, if you start paroli directy from its source directory, and you
 don't have it installed, it will read the local config file
 ./paroli.cfg, wich set GSM service to TEST, so that you will never get
 connected to the network. If you see this line the log :
 
  INFO set service GSM to Test
 
 Then it means you have to comment the line
 
  defaults = GSM:Test, SIM:Test, Audio:Test,
 
 in paroli.cfg
 
 Second thing is that even when you run paroli using the correct GSM
 service, you get no visual indication of the connection status. And it
 can be quite long before you get a network connection.
 
 Could you please repeat the operation and send the log (/tmp/paroli.log)
 to the mailing list ?
 
 Regards,
 
 Guillaume
 
 

Sorry Guillaume,
I seem to be going backwards here. I've gone through a fresh install
using the following steps from flashing a fresh rootfs into the FR

sudo dfu-util -a rootfs -R -D
openmoko-fso-illume-image-glibc-ipk--20090202-om-gta02.rootfs.jffs2


now on the FR:

opkg update
opkg install python-ecore python-evas python-etk python-edje python-edbus

cd paroli/paroli-applications
sh build.sh

cd ../paroli-scripts/
DISPLAY=:0; python paroli-launcher


results in the following:

[Etk-Warning] (ecore_evas_x11.c:190 - _engine_init()):
Ecore_X initialization failed!

[Etk-Warning] (etk_engine.c:221 - etk_engine_load()):
Etk can not initialize the requested engine!

Segmentation fault

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmRkYkACgkQXlbjSJ5n4BDu9ACfXfNj24Spcsmf6s5qSzKrbw5O
KzYAn2E25O89jPM0gTAFRMM+LLrH1L4k
=fxhR
-END PGP SIGNATURE-

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO M5] Paroli-Apps crash with 'Screen' object has no attribute 'etk_obj

2009-02-10 Thread Guillaume Chereau
On Tue, 2009-02-10 at 14:39 +, Arigead wrote:
 cd ../paroli-scripts/
 DISPLAY=:0; python paroli-launcher
 
 
 results in the following:
 
 [Etk-Warning] (ecore_evas_x11.c:190 - _engine_init()):
 Ecore_X initialization failed!
 
 [Etk-Warning] (etk_engine.c:221 - etk_engine_load()):
 Etk can not initialize the requested engine!
 
 Segmentation fault
I don't know what the problem is. It is the error you get when you don't
set DISPLAY=:0 (by the way very annoying to have a seg fault in that
case) but since you took care of setting DISPLAY then I don't know.

Can you run this simple test : 

 DISPLAY=:0; python -c 'import etk'

And see if you get the same error.

/Guillaume


signature.asc
Description: This is a digitally signed message part
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO M5] Paroli-Apps crash with 'Screen' object has no attribute 'etk_obj

2009-02-09 Thread Arigead
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mirko Lindner wrote:
 Hi,
 
 The paroli version used in MS5 seems very very old (in paroli terms) I 
 will try to get it updated.
 
 /mirko
 

Hello all,
Tried to install Paroli on MS5 and think I've got a repository issue
stopping my success. I installed FSO rootfs:

openmoko-fso-illume-image-glibc-ipk--20090202-om-gta02.rootfs.jffs2

which does not include much stuff and tried to install paroli as per the
web instructions [1]. When I try the command DISPLAY=:0; python
paroli-launcher I get an error:

Traceback (most recent call last):
  File paroli-launcher, line 58, in module
import tichy
  File ../paroli-core/tichy/__init__.py, line 42, in module
import gui_paroli as gui
  File ../paroli-core/tichy/gui_paroli/__init__.py, line 20, in module
import e_dbus
ImportError: No module named e_dbus

the web page [1] does say that you need e_dbus so that's fine but if I
issue the command:

opkg list | grep e_dbus

there are no packages that match that search. If I do an opkg update I
get one error which might be the problem:

Collected errors:
 * Failed to download
http://downloads.freesmartphone.org/fso-milestone5/feeds//armv4/Packages.gz,
error 404

Can anybody tell me where I could get hold of e_dbus so that I can have
a look at Paroli.

Thanks


[1] http://www.paroli-project.org/running-paroli/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmQABsACgkQXlbjSJ5n4BBp9gCgyZxVqX8YmnAnveP8liSHLPSJ
jkcAnR02dNU7jYf5MOBvhUrZT7xk0PKA
=SfdQ
-END PGP SIGNATURE-

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO M5] Paroli-Apps crash with 'Screen' object has no attribute 'etk_obj

2009-02-09 Thread Guillaume Chereau
On Mon, 2009-02-09 at 10:06 +, Arigead wrote:
 Hello all,
 Tried to install Paroli on MS5 and think I've got a repository issue
 stopping my success. I installed FSO rootfs:
 
 openmoko-fso-illume-image-glibc-ipk--20090202-om-gta02.rootfs.jffs2
 
 which does not include much stuff and tried to install paroli as per the
 web instructions [1]. When I try the command DISPLAY=:0; python
 paroli-launcher I get an error:
 
 Traceback (most recent call last):
   File paroli-launcher, line 58, in module
 import tichy
   File ../paroli-core/tichy/__init__.py, line 42, in module
 import gui_paroli as gui
   File ../paroli-core/tichy/gui_paroli/__init__.py, line 20, in module
 import e_dbus
 ImportError: No module named e_dbus
 
 the web page [1] does say that you need e_dbus so that's fine but if I
 issue the command:
 
 opkg list | grep e_dbus
 
 there are no packages that match that search. 
The package name is 'python-edbus'.

 If I do an opkg update I
 get one error which might be the problem:
 
 Collected errors:
  * Failed to download
 http://downloads.freesmartphone.org/fso-milestone5/feeds//armv4/Packages.gz,
 error 404
It depends, maybe you did get the package from an other feed. Try to
type :

  opkg list | grep python-edbus


-gui


signature.asc
Description: This is a digitally signed message part
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO M5] Paroli-Apps crash with 'Screen' object has no attribute 'etk_obj

2009-02-09 Thread Arigead
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Guillaume Chereau wrote:
 On Mon, 2009-02-09 at 10:06 +, Arigead wrote:
 Hello all,
 Tried to install Paroli on MS5 and think I've got a repository issue
 stopping my success. I installed FSO rootfs:

 openmoko-fso-illume-image-glibc-ipk--20090202-om-gta02.rootfs.jffs2

 which does not include much stuff and tried to install paroli as per the
 web instructions [1]. When I try the command DISPLAY=:0; python
 paroli-launcher I get an error:

 Traceback (most recent call last):
   File paroli-launcher, line 58, in module
 import tichy
   File ../paroli-core/tichy/__init__.py, line 42, in module
 import gui_paroli as gui
   File ../paroli-core/tichy/gui_paroli/__init__.py, line 20, in module
 import e_dbus
 ImportError: No module named e_dbus

 the web page [1] does say that you need e_dbus so that's fine but if I
 issue the command:

 opkg list | grep e_dbus

 there are no packages that match that search. 
 The package name is 'python-edbus'.
 
 If I do an opkg update I
 get one error which might be the problem:

 Collected errors:
  * Failed to download
 http://downloads.freesmartphone.org/fso-milestone5/feeds//armv4/Packages.gz,
 error 404
 It depends, maybe you did get the package from an other feed. Try to
 type :
 
   opkg list | grep python-edbus
 
Thanks so much for that, and sorry I should have thought of removing the
'_' !

John
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmQGJYACgkQXlbjSJ5n4BCs9QCgoAB5itCEO0Z/NJ5G56iw1EBs
MY4An2lclN68gzVUuavBAXKcnSbzcRpy
=cA7N
-END PGP SIGNATURE-

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO M5] Paroli-Apps crash with 'Screen' object has no attribute 'etk_obj

2009-02-09 Thread Arigead
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


 
   opkg list | grep python-edbus
 
 

Got python-edbus installed but still hitting problems with running
paroli on MS5. My Python is not good enough for my looking at the code
to have any point but if I get a chance later I'll try find the source
of the problem. If anybody has any ideas in the mean time that would be
great.

r...@om-gta02:~/paroli/paroli-scripts# DISPLAY=:0; python paroli-launcher
Traceback (most recent call last):
  File paroli-launcher, line 58, in module
import tichy
  File ../paroli-core/tichy/__init__.py, line 42, in module
import gui_paroli as gui
  File ../paroli-core/tichy/gui_paroli/__init__.py, line 27, in module
import ecore.x
  File /usr/lib/python2.6/site-packages/ecore/x/__init__.py, line 266,
in module
init()
  File ecore.x.c_ecore_x.pyx, line 38, in ecore.x.c_ecore_x.init
(ecore/x/ecore.x.c_ecore_x.c:2034)
  File ecore.x.c_ecore_x_events.pxi, line 657, in
ecore.x.c_ecore_x.x_events_register (ecore/x/ecore.x.c_ecore_x.c:12557)
  File ecore.c_ecore_events.pxi, line 27, in
ecore.c_ecore._event_mapping_register (ecore/ecore.c_ecore.c:7245)
ValueError: event type '0' already registered.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmQJMwACgkQXlbjSJ5n4BAulgCeLNWFIsrRX0pQ57UY1szpK2CO
LswAn0Vznb5LPj8LF+/U0Op+v74oL0U7
=AwVK
-END PGP SIGNATURE-

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO M5] Paroli-Apps crash with 'Screen' object has no attribute 'etk_obj

2009-02-09 Thread Mirko Lindner
Hi,

Arigead wrote:

 Got python-edbus installed but still hitting problems with running
 paroli on MS5. My Python is not good enough for my looking at the code
 to have any point but if I get a chance later I'll try find the source
 of the problem. If anybody has any ideas in the mean time that would be
 great.
 
 r...@om-gta02:~/paroli/paroli-scripts# DISPLAY=:0; python paroli-launcher
 Traceback (most recent call last):
   File paroli-launcher, line 58, in module
 import tichy
   File ../paroli-core/tichy/__init__.py, line 42, in module
 import gui_paroli as gui
   File ../paroli-core/tichy/gui_paroli/__init__.py, line 27, in module
 import ecore.x
   File /usr/lib/python2.6/site-packages/ecore/x/__init__.py, line 266,
 in module
 init()
   File ecore.x.c_ecore_x.pyx, line 38, in ecore.x.c_ecore_x.init
 (ecore/x/ecore.x.c_ecore_x.c:2034)
   File ecore.x.c_ecore_x_events.pxi, line 657, in
 ecore.x.c_ecore_x.x_events_register (ecore/x/ecore.x.c_ecore_x.c:12557)
   File ecore.c_ecore_events.pxi, line 27, in
 ecore.c_ecore._event_mapping_register (ecore/ecore.c_ecore.c:7245)
 ValueError: event type '0' already registered.
 

Yepp, it is an error in the python bindings of ecore.x. The easiest way 
to get around this error is to remove the import call in 
../paroli-core/tichy/gui_paroli/__init__.py, line 27. We don't use the 
module currently. I will also remove it in the git.

Not sure since when the module is broken, in the version of MS5 that I 
have all is still working even when importing that module.

/mirko

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO M5] Paroli-Apps crash with 'Screen' object has no attribute 'etk_obj

2009-02-04 Thread Mirko Lindner
Hi,

The paroli version used in MS5 seems very very old (in paroli terms) I 
will try to get it updated.

/mirko

Marc Bantle wrote:
 Hi,
 
 I just installed FSO M5. Are the paroli-apps that come
 with M5 supposed to work ? I always get the following
 error:
 
   root INFO launch Paroli-Contacts
   parent != None:  tichy.gui_paroli.Screen object at 0x2c4190
   root ERRORapplication Paroli-Contacts failed : 'Screen' object 
 has no attribute 'etk_obj'
   root ERRORTraceback (most recent call last):
 File /usr/bin/paroli-launcher, line 213, in launch
   yield app(self.screen)
 File /usr/lib/python2.6/site-packages/tichy/tasklet.py, line 162, 
 in throw
   value = self.generator.throw(type, value, traceback)
 File /usr/lib/python2.6/site-packages/tichy/application.py, line 
 73, in do_run
   ret = yield super(Application, self).do_run(window, *args, **kargs)
 File /usr/lib/python2.6/site-packages/tichy/tasklet.py, line 147, 
 in send
   value = self.generator.send(value)
 File 
 /usr/share/paroli/applications/paroli-contacts/paroli-contacts.py, 
 line 47, in run
   self.main.etk_obj.title_set('Paroli Contacts')
   AttributeError: 'Screen' object has no attribute 'etk_obj'
 
 How do I supply that etk_obj-attribute?
 
 Cheers,
 Marc
 
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO M5] Paroli-Apps crash with 'Screen' object has no attribute 'etk_obj

2009-02-04 Thread Michael 'Mickey' Lauer
We bundled it in the image so that the Paroli team can base on MS5.
We did not test it though.

-- 
:M:

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO M5] Paroli-Apps crash with 'Screen' object has no attribute 'etk_obj

2009-02-04 Thread Mirko Lindner
Hi,

We updated a few things and think we are ready to change the sec rev.
I also changed the setup.py a bit so it should be easier recognizable 
what to do ;)

In essence,just click the icon on the desktop (there is only the 
PLauncher) and that should open a launcher window.

Would be great if the rev could be set to:

7c5ccfc012e0b9f7003f7f192971a87283979b80

/mirko


Michael 'Mickey' Lauer wrote:
 We bundled it in the image so that the Paroli team can base on MS5.
 We did not test it though.
 

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community