Released - PyQt4 for Maemo

2008-09-24 Thread Luciano Miguel Wolf
Hi all,

I am pleased to announce PyQt4 for Maemo OS2008 [Diablo].

This new release is available from:
http://pyqt.garage.maemo.org

What's it?
--
PyQt4 for Maemo is a set of bindings that allows programmers to access 
Qt4 library using Python for Maemo.

What's changed?
---
This release is a port. It was generated against 'Qt4 for Maemo'[1], 
providing Python bindings to it. Installation should be done manually 
since this project is a library and does not show up in Application 
Manager. Instructions on how to install can be found at PyQt4 for Maemo 
website.

Acknowledgements:
-
Thanks to everybody who helped making this release possible.

Bug reports, as always, should go to Bugzilla; check out 
http://pyqt.garage.maemo.org for links to posting and querying bug 
reports for PyQt4 for Maemo.

Regards,
Luciano Wolf


[1] http://qt4.garage.maemo.org
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Python install broken

2008-07-01 Thread Luciano Miguel Wolf
Hi Pavel,

I've already uploaded that dependencies to the extras repository. Now it 
is ready for use. Just run an 'apt-get update' or refresh the 
application list through Application Manager.

Regards,
Luciano

ext Pavel Rojtberg wrote:
> do others also encounter this problem when installing python2.5:
> 
> missing deps:
> libffi4
> libgdbm3
> 
> which casts python unavailalble for diablo.
> 
> greets
> 
> Pavel
> 
> 
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


New release - Python2.5.2 - OS2007/2008

2008-04-22 Thread Luciano Miguel Wolf
I am pleased to announce Python2.5.2 for Maemo OS2007 / OS2008.

This new release is available from:
http://pymaemo.garage.maemo.org

What's it?
--
Python for Maemo (PyMaemo for short) main objective is to make possible
to use Python programming language as the scripting and development
language for Maemo Platform, providing a better alternative for fast
prototyping and programming in Maemo environment besides the C
programming language.

Python is for serious programming and to have fun. Python has a nice
syntax, it's easy to learn and powerful enough for a vast range of
applications, this is why we choose Python for Maemo.

What's changed?
---
This release upgrades Python package from v2.5.1 to v2.5.2. It includes
mainly bugfixes, described at www.python.org

To do the update, "apt-get" should be used because Python remains not 
listed in Application Manager. PyMaemo webpage shows how to do it in 
"Instalation" section. Just use "python2.5" instead of "python2.5-runtime".

Bugfixes:
- Readline support included again (the last build has missed this feature)

Acknowledgements:
-
Thanks to everybody who helped making this release possible.

Bug reports, as always, should go to Bugzilla; check out
http://pymaemo.garage.maemo.org for links to posting and querying bug
reports for PyMaemo.

Regards,
Luciano Wolf
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Python Launcher released

2008-03-31 Thread Luciano Miguel Wolf
Hi Jeffrey,

Pylauncher shows this message when wasn't possible to find the script to 
be executed. Try to use "python ./myapplication.py" or the full path to 
the script.

Regards,
Luciano Wolf

ext Jeffrey Barish wrote:
> I installed Python Launcher.  It appears to be running:
> 
> $ ps aux
>  5142 user  18352 SW  /usr/bin/python-launcher-daemon -f5
> 
> However, when I try to run my application, I get:
> 
> $ python myapplication.py
> Realloc script: Success
> Possible incorrect script name.
> 
> I have no idea what that error message means.  In fact, I'm not even sure
> that it is an error message, but myapplication does not run.

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Python Launcher released

2008-03-28 Thread Luciano Miguel Wolf
ext Kemal Hadimli wrote:
> Great news! Tried with kagu didn't work though. Kagu does "import gtk"
> and not "import pygtk", should I convert all "import gtk" and "gtk."
> references to pygtk? (or maybe "import pygtk as gtk"?)
> 
I'll do some more tests with kagu. If you run "Kagu Music Scanner" 
before, it works.

Marius did a great explanation. I was using "pygtk" as "the gtk bindings 
available to python", meaning the "import gtk".

> The proper url for the maemo.org page should be
> http://maemo.org/downloads/product/OS2008/pylauncher/ btw. 
I've posted the url to edit the page I think :), thanks!

> Are you
> planning to convert the gui configurator to a control panel applet?
> 
As you and Eduardo have requested this feature I will take a look at it. 
It makes sense to put in control panel.

> This is really good and will speed up a lot of python apps.
> 
> On Fri, Mar 28, 2008 at 12:21 AM, Luciano Miguel Wolf
> <[EMAIL PROTECTED]> wrote:
>> I am pleased to announce Python Launcher for Maemo OS2008.
> 
> 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Python Launcher released

2008-03-27 Thread Luciano Miguel Wolf
I've just forgot to mention:
The main idea comes from Johan Dahlin (PyGTK). This PythonLauncher for 
Maemo is a C implementation of Johan's idea.

The first post:
http://blogs.gnome.org/johan/2007/01/18/introducing-python-launcher/


Luciano Miguel Wolf wrote:
> I am pleased to announce Python Launcher for Maemo OS2008.
> 
> This release is available from[1]:
> Maemo webpage -> Downloads -> OS2008 -> System
> 
> What's it?
> --
> Python Launcher is a daemon to speedup Python applications, mainly those 
> using pygtk.
> 
> It runs a daemon, responsible for importing modules/forking python 
> interpreter. By now the only module cached will be pygtk (that takes ~2s 
> to import). When user runs a python script the launcher will send it to 
> the daemon.
> 
> How to use?
> ---
> There is a GUI to configure startup behavior. Selecting "at startup" the 
> daemon will be load automatically at boot time. "first py app" will 
> force daemon to be loaded just after the first py app is loaded. This 
> saves memory, but first py app doesn't have any speedup. "disabled" will 
> keep PyLauncher disabled :).
> 
> Applications must call "python" instead of "python2.5" otherwise 
> PyLauncher will not be used to load them.
> 
> What's planned?
> ---
> I've just applied a request to host this project at garage, so at moment 
> it doesn't have a svn/bugzilla but it's just a matter of time.
> As the project evolves it will be moved from extras-devel to the extras 
> repository.
> 
> In a next release we hope to import more modules. This involves some 
> tests. We plan to release a bora version. To do this it's necessary to 
> patch bora's pygtk as we did with chinook's pygtk.
> 
> Acknowledgements:
> -
> Thanks to everybody who helped making this release possible.
> 
> Bug reports, by now, can be reported by email. As we have a bugtracker 
> you will be informed.
> 
> Regards,
> Luciano Wolf
> 
> [1]
> https://maemo.org/downloads/product/128edd26fc4911dc81826d04b963acb6acb6/
> 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Python Launcher released

2008-03-27 Thread Luciano Miguel Wolf
I am pleased to announce Python Launcher for Maemo OS2008.

This release is available from[1]:
Maemo webpage -> Downloads -> OS2008 -> System

What's it?
--
Python Launcher is a daemon to speedup Python applications, mainly those 
using pygtk.

It runs a daemon, responsible for importing modules/forking python 
interpreter. By now the only module cached will be pygtk (that takes ~2s 
to import). When user runs a python script the launcher will send it to 
the daemon.

How to use?
---
There is a GUI to configure startup behavior. Selecting "at startup" the 
daemon will be load automatically at boot time. "first py app" will 
force daemon to be loaded just after the first py app is loaded. This 
saves memory, but first py app doesn't have any speedup. "disabled" will 
keep PyLauncher disabled :).

Applications must call "python" instead of "python2.5" otherwise 
PyLauncher will not be used to load them.

What's planned?
---
I've just applied a request to host this project at garage, so at moment 
it doesn't have a svn/bugzilla but it's just a matter of time.
As the project evolves it will be moved from extras-devel to the extras 
repository.

In a next release we hope to import more modules. This involves some 
tests. We plan to release a bora version. To do this it's necessary to 
patch bora's pygtk as we did with chinook's pygtk.

Acknowledgements:
-
Thanks to everybody who helped making this release possible.

Bug reports, by now, can be reported by email. As we have a bugtracker 
you will be informed.

Regards,
Luciano Wolf

[1]
https://maemo.org/downloads/product/128edd26fc4911dc81826d04b963acb6acb6/
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Using hildon.BreadCrumbTrail

2008-01-22 Thread Luciano Miguel Wolf
Hi Pavel,

There is a bug[1](#1546) describing this issue.

Luciano

[1]
https://garage.maemo.org/tracker/index.php?func=detail&aid=1546&group_id=40&atid=229


ext Pavel Rojtberg wrote:
> Are the python bindings for BreadCrumbTrail broken, or am I missing
> something?
> I have compared the C and the Python API, and some methods like "push"
> and "clear" which seem important to  me are missing on the Python side.
> 
> Pavel
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: New release of Python2.5 for Maemo

2008-01-21 Thread Luciano Miguel Wolf
Hi David,

Do an "apt-get update" and try to reinstall pygtk package. I've uploaded 
a new version (2.12.1-1osso2) for x86 target.

Luciano

ext David Hautbois wrote:
> Hi
> 
> Some dev packages look like to be broken in X86 scratchbox target:
> 
> [sbox-CHINOOK_X86: ~/temp] > apt-get install python2.5-gtk2-dev
> Reading package lists... Done
> Building dependency tree... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> 
> Since you only requested a single operation it is extremely likely that
> the package is simply not installable and a bug report against
> that package should be filed.
> The following information may help to resolve the situation:
> 
> The following packages have unmet dependencies:
>  python2.5-gtk2-dev: Depends: python2.5-gtk2 (= 2.12.1-1osso2) but 
> 2.12.1-1osso1 is to be installed
> E: Broken packages
> 
> 
> David.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: python 2.5-gtk2

2008-01-17 Thread Luciano Miguel Wolf
Hi Alex,

It was my mistake. I've compiled the ARMEL packages using libglade2.6. A 
new pygtk(python2.5-gtk2_2.12.1-1osso2) was uploaded right now. Thanks 
for your report!

Luciano

ext Alex Iliadis wrote:
> I noticed in the latest python2.5-gtk2 package (OS2008 chinook) hasn't 
> included glade.so. Am I missing something out? The previous version of the 
> package had it.
> 
> -Alex
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: New release of Python2.5 for Maemo

2008-01-17 Thread Luciano Miguel Wolf
Hi Frantisek,

The source code will be migrated soon to PyMaemo svn, but I don't have 
an exact date. It will be coded in C and will have a daemon and a 
app-launcher. By now it will support only pygtk, but this can be 
configured in future versions. You have to choose carefully each module, 
because some of them have specific startup configurations. It will be 
possible to control the startup (load when the first python app run or 
disable it) trough gconf keys. Calling python without arguments will 
call python2.5. Now about memory usage, it will be shared (python and 
pygtk) by each new process.

Thanks for your interest. We all hope to see PyMaemo pre-installed in a 
near future :)

Regards,
Luciano

ext Frantisek Dufka wrote:
> Luciano Miguel Wolf wrote:
>> What's planned?
>> ---
>> Next release is planned to have a beta version of Python-Launcher. It 
>> is a daemon that loads heavy modules, like pygtk, and just fork every 
>> time python is called. This reduces the startup time of applications 
>> using pygtk.
> 
> Just curious, any more details on this? I did a quick look at 
> pymaemo-developers archive and browsed pymaemo SVN tree but failed to 
> find any details or code in progress. I wonder how configurable it will 
> be (i.e list of modules preloaded in the launcher, could and should I 
> still launch separate python for simple non-gui python stuff?) and how 
> it will play with memory - will each (forked) python instance with gtk 
> and everything take additional memory (like now) or will be most/all of 
> it shared. But I guess we'll see when the beta arrives in next release 
> (any ETA?).
> 
> Thanks for the release BTW, I hope we'll see quick and lean python 
> runtime preinstalled (or in some repository enabled by default) in the 
> tablets in future.
> 
> Frantisek

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


[Correction] New release of Python2.5 for Maemo

2008-01-17 Thread Luciano Miguel Wolf
Hi all,

A small correction. I've said at release email that it's possible to 
install Pymaemo using ".install" file. This isn't correct. Now 
python2.5-runtime doen's appear in App Manager programs list. You can 
use ".install" file just to update a previous installed Pymaemo. New 
installations have to be done via command line or via other packages 
that depends on Pymaemo, e.g.: Canola.

Luciano Wolf


ext Luciano Miguel Wolf wrote:
> Hi Andrea,
> 
> This is a side effect of removal from Application Manager programs list. 
> Now this package become invisible. In order to do an update you have do 
> it manually from command-line or just clicking at install file link[1], 
> that is a bit easier :)
> 
> Regards,
> Luciano
> 
> [1]
> http://maemo.org/downloads/product/OS2008/pymaemo/
> 
> 
> ext Andrea Grandi wrote:
>> Hi,
>>
>> 2008/1/17, Luciano Miguel Wolf <[EMAIL PROTECTED]>:
>>> I am pleased to announce Python2.5.1 for Maemo OS2007 (r0.4-15) / OS2008
>>> (r0.1c3)
>>>
>>> This new release is available from:
>>> http://pymaemo.garage.maemo.org
>> I tried to update the package list in my N810 application manager, but
>> no update is available. Any idea?
>>
> 
> ___
> pymaemo-developers mailing list
> [EMAIL PROTECTED]
> https://garage.maemo.org/mailman/listinfo/pymaemo-developers
> 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


New release of Python2.5 for Maemo

2008-01-16 Thread Luciano Miguel Wolf
I am pleased to announce Python2.5.1 for Maemo OS2007 (r0.4-15) / OS2008 
(r0.1c3)

This new release is available from:
http://pymaemo.garage.maemo.org

What's it?
--
Python for Maemo (PyMaemo for short) main objective is to make possible 
to use Python programming language as the scripting and development 
language for Maemo Platform, providing a better alternative for fast 
prototyping and programming in Maemo environment besides the C 
programming language.

Python is for serious programming and to have fun. Python has a nice 
syntax, it's easy to learn and powerful enough for a vast range of 
applications, this is why we choose Python for Maemo.

What's changed?
---
Now you can install PyMaemo (OS2007/2008) using a single ".install" file 
that points to the Extras repository. This will improve installation and 
will follow the correct repository usage policy. Another change, 
discussed a few days ago, is that python packages without GUI doesn't 
show up in Application Manager list anymore. It will be only installed 
as a dependency of other packages or via ".install" file.

Bugfixes:
[OS2008]
  - #1195 - [chinook] hildon.ColorButton.get_color in chinook doesn't 
works (Lauro Moura)
  - #1565 - [Chinook] Move help lib to python-hildon (Lauro Moura)
  - #1696 - [chinook] gtk.set_application_name() is missing (Lauro Moura)

[OS2007 and OS2008]
  - #1039 - Package for pyopenssl (Luciano Wolf)
  - #1544 - Add support for the alarm interface (Lauro Moura)
  - #1673 - add setuptools support (Luciano Wolf)
  - #1720 - Add support for hildon keysyms (Lauro Moura)
  - #1721 - Build python-runtime-dev package (Lauro Moura)
  - #1726 - Add telnetlib module into a separate Debian package (Luciano 
Wolf)
  - #1862 - gnome module broken on Chinook - missing __init__.py 
(Luciano Wolf)
  - #1938 - apply bugfix to reduce wakeups (Luciano Wolf)
  - #1950 - python2.5-gtk2 should depend on python2.5-cairo (Lauro Moura)
  - #2009 - HildonBanner issues (Lauro Moura)

New Modules:
  - pysetuptools (packaging system)
  - python2.5-sdk (meta-package providing all -dev packages of modules 
instaled by python2.5-runtime)
  - pyopenssl

What's planned?
---
Next release is planned to have a beta version of Python-Launcher. It is 
a daemon that loads heavy modules, like pygtk, and just fork every time 
python is called. This reduces the startup time of applications using 
pygtk. Another addition to PyMaemo will be GooCanvas support.

As OS2008 has been released we have discontinued PyMaemo for OS2006 
since its possible to use OS2007 HackerEdition inside 770 and we will 
focus our efforts on OS2008.

Acknowledgements:
-
Thanks to everybody who helped making this release possible.

Bug reports, as always, should go to Bugzilla; check out
http://pymaemo.garage.maemo.org for links to posting and querying bug 
reports for PyMaemo.

Regards,
Luciano Wolf

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: bsddb module for maemo-python ?

2008-01-07 Thread Luciano Miguel Wolf
Hi Fred,

We had somebody asking for this[1] on PyMaemo mailing list. The main 
reason for bsddb module's absence is that Maemo platform doesn't provide 
bsddb support.

Regards,
Luciano

[1]
https://garage.maemo.org/pipermail/pymaemo-developers/2007-March/21.html


ext Fred Pacquier wrote:
> Hi,
> 
> Does anyone have the bsddb module for maemo-python, or know where to 
> find it ?
> 
> 
> I don't know why it's been excluded from the maemo distribution : it's 
> not that big, and its absence means some existing software cannot be 
> reused easily on the tablets - like the very interesting Gluon:
> http://mdp.cti.depaul.edu/
> 
> It should at least be available in the "dev" package, or as a separate 
> download, but I don't see it anywhere, even in Red Pill Mode.
> 
> Thanks for any pointers,
> fp
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: [pymaemo] Installation file corrupted

2007-12-21 Thread Luciano Miguel Wolf
Hi Mike,

The following packages:

libsdl-ttf2.0-0_2.0.9-1_armel.deb
python2.5-bluez_0.9.1-1osso2_armel.deb
python2.5-cairo_1.4.0-1osso1_armel.deb
python2.5-conic_0.1-1osso1_armel.deb
python2.5-gtk2_2.12.0-1osso5_armel.deb
python2.5-osso_0.3-1osso3_armel.deb
python2.5-runtime_c1.0-2_all.deb

are listed with "Size mismatch" error by ApplicationManager (apt-get). 
The server is unavailable and it sends the following html code inside 
every broken deb package:


  
   index page
  
  
   The service is temporarily unavailable. We are very sorry 
for the inconvinience it may cause.
  


The correct behavior would be to send a "503 Service Unavailable" or 
other error message inside header, to inform correctly the apt utility. 
As you can see, this is a problem inside repository.maemo.org and I 
don't know if it's just a matter of time to correct it.

Regards,
Luciano Wolf



ext Mike MacHenry wrote:
> I am attempting to download the pymaemo2.5-runtime to my Nokia N800
> running OS2008. When I click on the one-click installation link on the
> maemo download site I get "Download failed" and when I add Maemo and
> Maemo extras to my repository and use the application manager to
> install pymaemo I get "Installation file corrupted". Does anyone know
> why this might be happening? Is it me or the server? Is there an
> alternative .deb file I could download on my computer and transfer to
> the N800?
> 
> Thanks,
> -mike
> 
> ___
> pymaemo-developers mailing list
> [EMAIL PROTECTED]
> https://garage.maemo.org/mailman/listinfo/pymaemo-developers
> 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


update-alternatives missing features

2007-12-18 Thread Luciano Miguel Wolf
Hi,

I was trying to use update-alternatives inside Maemo but it seems to be 
a bit incomplete. It only implements "install" and "remove" functions. 
"list" isn't available. Is there any plans to add some more 
functionality to this program or is there an alternative to 
update-alternatives? Right now it resumes basically to a "ln -s" and "rm".

Regards,
Luciano Wolf
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: new pygtk module with glade support

2007-11-26 Thread Luciano Miguel Wolf
Hi Jesse,

I will release an experimental version this week. It was rewritten in C 
and now I'm fixing some problems at import gtk side.

Luciano

ext Jesse Guardiani wrote:
> any news on python-launcher? how do i go about installing and developing for 
> it?
> 
> On 11/23/07, Jesse Guardiani <[EMAIL PROTECTED]> wrote:
>> So, apparently the old tricks for reparenting windows don't work anymore in
>> chinook? I'm getting this exception:
>>
>> ./tip_calc.py:57: Warning: g_object_get_qdata: assertion `G_IS_OBJECT
>> (object)' failed
>>   self.wTree.signal_autoconnect(dic)
>> Segmentation fault
>>
>> When I try to run this code (which works fine in bora):
>> http://www.guardiani.us/projects/tip_calc/browser/trunk/src/tip_calc/tip_calc.py
>>
>> The exception goes away if I comment out lines 43 and 44, but then two
>> windows are created and the one with the application in it isn't
>> fullscreen-able.
>>
>>
>> On 11/20/07, Luciano Miguel Wolf <[EMAIL PROTECTED]> wrote:
>>> Hi,
>>>
>>> I've generated another pygtk, now against libglade2.4. Just refresh
>>> application list and update python2.5-runtime, through
>>> ApplicationManager. Remember, you MUST have libglade2.4 (that comes
>>> originally with device/SDK).
>>>
>>> Regards,
>>> Luciano
>>>
>>>
>>> Luciano Miguel Wolf wrote:
>>>> Hi Jesse,
>>>>
>>>> Looks like we have a problem here. I did everything under sbox, using
>>>> the final SDK. Developers just need to run an "apt-get update && apt-get
>>>> upgrade" and this new pygkt will be installed. But now I've noticed that
>>>> ApplicationManager doesn't allow to update libglade(from 2.4 to 2.6).
>>>> Any PyGtk since v2.8 needs libglade >= 2.5 to compile. We are using
>>>> v2.12. I will ask somebody at Maemo/Nokia to update this package.
>>>>
>>>>
>>>> ext Jesse Guardiani wrote:
>>>>> What are the install instructions for this? I refreshed my chinook app
>>>>> mngr and didn't see pygtk listed, though I have pymaemo installed
>>>>>
>>>>> On 11/19/07, * Luciano Miguel Wolf* <[EMAIL PROTECTED]
>>>>> <mailto:[EMAIL PROTECTED]>> wrote:
>>>>>
>>>>> Hi all,
>>>>>
>>>>> A new PyGTK, with glade support, is available at chinook extras
>>>>> repository. It was generated using libglade2-0 (2.6.2-1indt1).
>>>>>
>>>>> Other bugfixes and unstable modules, like python-launcher, will be
>>>>> released using the new "extras-devel" repository. This way we can
>>>>> test
>>>>> it widely before official release.
>>>>>
>>>>> Regards,
>>>>> Luciano Wolf
>>>>> ___
>>>>> maemo-developers mailing list
>>>>> maemo-developers@maemo.org <mailto:maemo-developers@maemo.org>
>>>>> https://lists.maemo.org/mailman/listinfo/maemo-developers
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Jesse Guardiani
>>>>> Software Developer / Sys Admin
>>>>> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>>>>
>>>
>>
>> --
>> Jesse Guardiani
>> Software Developer / Sys Admin
>> [EMAIL PROTECTED]
>>
> 
> 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: new pygtk module with glade support

2007-11-20 Thread Luciano Miguel Wolf
Hi,

I've generated another pygtk, now against libglade2.4. Just refresh 
application list and update python2.5-runtime, through 
ApplicationManager. Remember, you MUST have libglade2.4 (that comes 
originally with device/SDK).

Regards,
Luciano


Luciano Miguel Wolf wrote:
> Hi Jesse,
> 
> Looks like we have a problem here. I did everything under sbox, using 
> the final SDK. Developers just need to run an "apt-get update && apt-get 
> upgrade" and this new pygkt will be installed. But now I've noticed that 
> ApplicationManager doesn't allow to update libglade(from 2.4 to 2.6). 
> Any PyGtk since v2.8 needs libglade >= 2.5 to compile. We are using 
> v2.12. I will ask somebody at Maemo/Nokia to update this package.
> 
> 
> ext Jesse Guardiani wrote:
>> What are the install instructions for this? I refreshed my chinook app 
>> mngr and didn't see pygtk listed, though I have pymaemo installed
>>
>> On 11/19/07, * Luciano Miguel Wolf* <[EMAIL PROTECTED] 
>> <mailto:[EMAIL PROTECTED]>> wrote:
>>
>> Hi all,
>>
>> A new PyGTK, with glade support, is available at chinook extras
>> repository. It was generated using libglade2-0 (2.6.2-1indt1).
>>
>> Other bugfixes and unstable modules, like python-launcher, will be
>> released using the new "extras-devel" repository. This way we can 
>> test
>> it widely before official release.
>>
>> Regards,
>> Luciano Wolf
>> ___
>> maemo-developers mailing list
>> maemo-developers@maemo.org <mailto:maemo-developers@maemo.org>
>> https://lists.maemo.org/mailman/listinfo/maemo-developers
>>
>>
>>
>>
>> -- 
>> Jesse Guardiani
>> Software Developer / Sys Admin
>> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> 
> 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: new pygtk module with glade support

2007-11-19 Thread Luciano Miguel Wolf
Hi Jesse,

Looks like we have a problem here. I did everything under sbox, using 
the final SDK. Developers just need to run an "apt-get update && apt-get 
upgrade" and this new pygkt will be installed. But now I've noticed that 
ApplicationManager doesn't allow to update libglade(from 2.4 to 2.6). 
Any PyGtk since v2.8 needs libglade >= 2.5 to compile. We are using 
v2.12. I will ask somebody at Maemo/Nokia to update this package.


ext Jesse Guardiani wrote:
> What are the install instructions for this? I refreshed my chinook app 
> mngr and didn't see pygtk listed, though I have pymaemo installed....
> 
> On 11/19/07, * Luciano Miguel Wolf* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
> Hi all,
> 
> A new PyGTK, with glade support, is available at chinook extras
> repository. It was generated using libglade2-0 (2.6.2-1indt1).
> 
> Other bugfixes and unstable modules, like python-launcher, will be
> released using the new "extras-devel" repository. This way we can test
> it widely before official release.
> 
> Regards,
> Luciano Wolf
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org <mailto:maemo-developers@maemo.org>
> https://lists.maemo.org/mailman/listinfo/maemo-developers
> 
> 
> 
> 
> -- 
> Jesse Guardiani
> Software Developer / Sys Admin
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


new pygtk module with glade support

2007-11-19 Thread Luciano Miguel Wolf
Hi all,

A new PyGTK, with glade support, is available at chinook extras 
repository. It was generated using libglade2-0 (2.6.2-1indt1).

Other bugfixes and unstable modules, like python-launcher, will be 
released using the new "extras-devel" repository. This way we can test 
it widely before official release.

Regards,
Luciano Wolf
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


New PyMaemo modules: Cython and Storm

2007-11-07 Thread Luciano Miguel Wolf
Hi all,

PyMaemo has now two new modules: Cython[1] and Storm[2]. The first one 
is a fork of Pyrex, to generate code mixing Python and C data types. The 
second is an Object Relational Mapper. Both are available for OS2007 and 
OS2008 (Chinook Beta).

To install Cython you have to use apt-get install python2.5-cython, 
because it's targeted to developers. Storm is available through 
Application Manager.

Hope you enjoy it!


Luciano Wolf

[1]
http://www.cython.org/
[2]
https://storm.canonical.com/
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


PyMaemo Beta for Chinook Beta

2007-10-25 Thread Luciano Miguel Wolf
Hi all,

You were asking for this and finally I can say: Python2.5.1BETA for 
Chinook Beta is ready to download[1].

I'm a bit nervous, because lots of people were waiting for this :) but I 
believe you will have no problems using this release. We've tried to 
keep all the packages up to date (using latest pygtk, pygobject, etc). 
We plan to release a lot of bugfixes until the official release of OS2008.

And remember: your feedback is very important. Please report your 
problems/needs.

Regards,
Luciano Wolf

[1]added lines in /etc/apt/sources.list
deb http://repository.maemo.org chinook free non-free
deb http://repository.maemo.org/extras chinook free non-free
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


New release of Python2.5 for Maemo (r0.4-13)

2007-10-24 Thread Luciano Miguel Wolf
I am pleased to announce Python2.5.1 for Maemo - r0.4-13 - OS2006/2007 
(*PyMaemo Chinook will be released tomorrow)

This new release is available from:
http://pymaemo.garage.maemo.org

What's it?
--
Python for Maemo (PyMaemo for short) main objective is to make possible 
to use Python programming language as the scripting and development 
language for Maemo Platform, providing a better alternative for fast 
prototyping and programming in Maemo environment besides the C 
programming language.

Python is for serious programming and to have fun. Python has a nice 
syntax, it's easy to learn and powerful enough for a vast range of 
applications, this is why we choose Python for Maemo.

What's changed?
---
Note: OS2006 (gregale) has only bugfixes. More information on section 
"What's planned".

Bugfixes:
  - #946 - Enumerations not exported using glib-mkenums (Lauro Moura)
  - #988 - pyc files are installed instead pyo (Lauro Moura / Luciano Wolf)
  - #1000 - add pycurl - only OS2007 (Luciano Wolf)
  - #1040 - webbrowser.open(url) doesn't work (Lauro Moura)
  - #1070 - Unable to create a hildon_banner without an image (Lauro Moura)
  - #1084 - Fix pyg_constant_strip_prefix() to handle names without the 
given prefix (Lauro Moura)
  - #1520 - Add support for Tap and Hold in PyGtk (Lauro Moura)

New Modules:
  - pycurl
Updates:
  - New python-osso examples (see Examples link inside PyMaemo webpage)

What's planned?
---
Next release is planned to have Cython and Storm support. The first one 
is a fork of Pyrex project, much more versatile and up to date. Storm is 
an object-relation mapper. [http://storm.canonical.com/]

In long term we plan to speed up Python using the Python Launcher, 
improve Pluthon (Eclipse plugin - http://pluthon.garage.maemo.org) and 
Easy Hildon (Python-based API to ease the development of applications - 
http://easy.garage.maemo.org). At OS2008 (Chinook) release we will 
discontinue PyMaemo for OS2006 (gregale) since its possible to use 
OS2007 HackerEdition inside 770 and we will focus our efforts on Chinook.

Acknowledgements:
-
Thanks to everybody who helped making this release possible.

Bug reports, as always, should go to Bugzilla; check out
http://pymaemo.garage.maemo.org for links to posting and querying bug 
reports for PyMaemo.

Regards,
Luciano Wolf
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: scratchbox problem after new installation

2007-10-24 Thread Luciano Miguel Wolf
Hi,

Did you start a Xephyr (or something that opens a X display) and run 
"af-sb-init.sh start" inside scratchbox? PyGtk requires an active 
display to be loaded properly. More info about Xephyr steps at:
http://maemo.org/development/documentation/tutorials/Maemo_tutorial_bora.html#settingup

Regards,
Luciano Wolf



ext vicente garcia wrote:
> Hi, is there a correct lib path?
> 
> On 10/24/07, *Mathias Uebelacker* <[EMAIL PROTECTED] 
> > wrote:
> 
> Hello,
> 
> after installation, solving the resolve problem (thanks to Marius) and
> installing python via apt-get the basic problem is still the same. Every
> time i call the run-standalone.sh ./myscript.py i get the error:
> 
>   File "./myscript.py", line 2, in ?
> import gtk
> ImportError: No module named gtk
> 
> 
> Any ideas?
> br
> Mathias
> 
> Environment:
> Pentium Laptop with gutsy and maemo 2.2
> 
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org 
> https://lists.maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Fwd: chinook

2007-10-19 Thread Luciano Miguel Wolf
Hi,

We will release a new PyMaemo (os2006/2007 and chinook) next week.

Regards,
Luciano

ext Jonathan Greene wrote:
> Should have sent here ...
> 
> -- Forwarded message --
> From: Jonathan Greene <[EMAIL PROTECTED]>
> Date: Thu, 18 Oct 2007 11:11:32 -0400
> Subject: chinook
> To: maemo-users <[EMAIL PROTECTED]>
> 
> does anyone have anything built to test?  love to try some apps on the N810
> ...
> 
> 
> 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Launching web browser from python

2007-10-10 Thread Luciano Miguel Wolf
Hi David,

PyMaemo uses context, to have information about application running.
You can use webbrowser module, as Johan has pointed, but remember to it 
this way:

context = osso.Context("appname", "version", False), where version is 
your app version as "0.0.1" format, then call webbrowser this way:

webbrowser.open(url, context=context)

And about your question of full off-line: the browser will try to go 
online even if you use a localhost(127.0.0.1) connection.

Regards,
Luciano


ext Johan Euphrosine wrote:
> David HAUTBOIS <[EMAIL PROTECTED]> writes:
> 
>> Hi
>>
>> I'm developping a python application.
>> What is the best way to launch the web browser with a specified URL ?
>> Actually, I'm using the command line :
>> browser --url="www.mameo.org"
>>



>>
>> Can the browser be full off-line ?
>>
>> Thanks.
>>
>> David.
> 
> IIRC, since Python 2.4, there is a dedicated webbrowser module:
> http://docs.python.org/lib/module-webbrowser.html
> 
> I don't know if this is available from maemo python port.
> 
> Hope that helps.

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


libffi4 package missing in bora extras repository

2007-10-04 Thread Luciano Miguel Wolf
Hi all,

It seems libffi4 and libffi4-dev are missing in Packages[1] descriptor 
of "bora extras" repository. The libffi package is correctly placed 
inside repository. Python2.5 depends on this to be installed. Somebody 
from Nokia should take a look on this. Thanks!

Regards,
Luciano Wolf

[1].
http://repository.maemo.org/extras/dists/bora/free/binary-armel/Packages
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Python-GPSbt and Python-abook released

2007-08-23 Thread Luciano Miguel Wolf
Hi all,

We have just released Python-GPSbt and Python-abook, providing access to 
  GPS and address book data. Both modules are available through 
Application Manager as separate packages. We will collect all user 
opinions about them and possibly these packages will be included as part 
of a new PyMaemo release.

GeoClue bindings will be provided as soon as it gets a bit more mature. 
In fact its possible to access its API using D-Bus calls.

Finally, thanks to Eduardo Rocha for suggestions on how to improve py-gpsbt.


Regards,
Luciano Wolf
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


New release of Python2.5 for Maemo (r0.4-12)

2007-07-19 Thread Luciano Miguel Wolf
A problem inside Bora repository (libbluetooth1 was removed suddenly) 
led us to a new Python for Maemo-r0.4-12 (OS2007) release.

This new release is available from:
http://pymaemo.garage.maemo.org

What's it?
--
Python for Maemo (PyMaemo for short) main objective is to make possible 
to use Python programming language as the scripting and development 
language for Maemo Platform, providing a better alternative for fast 
prototyping and programming in Maemo environment besides the C 
programming language.

Python is for serious programming and to have fun. Python has a nice 
syntax, it's easy to learn and powerful enough for a vast range of 
applications, this is why we choose Python for Maemo.

What's changed?
---
Bugfixes:
  - #997 - python2.5-bluez not installable - depends upon
   libbluetooth1 (Luciano Wolf)
Upgrades:
  - New pyrex (v0.9.5.1) available

What's planned?
---
Next major release is planned to have GPS and Address book support. In 
long term we plan to speed up Python using the Python Launcher, improve 
Pluthon (Eclipse plugin - http://pluthon.garage.maemo.org) and Easy Hildon
(Python-based API to ease the development of applications -
http://easy.garage.maemo.org).

Acknowledgements:
-
Thanks to everybody who helped making this release possible.

Bug reports, as always, should go to Bugzilla; check out
http://pymaemo.garage.maemo.org for links to posting and querying bug 
reports for PyMaemo.

Regards,
Luciano Wolf
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


New release of Python2.5 for Maemo (r0.4-10)

2007-05-15 Thread Luciano Miguel Wolf
Hi Maemo Developers!

It took us some time but now we have a new version of Python2.5 for 
Maemo ready for download. We have tried to cover requests from community 
as much as possible. Highlights are:
-New modules (libconic, libid3tag, osso-mime, libjpeg -thanks to Matt 
Croydon)
-Bugfixes
-Ipython (thanks to Ed Bartosh)
-Python2.5.1

Since the last release we have received a lot of feedback from the 
community. Let's continue the good work and bring more and more 
applications to the PyMaemo universe.

Regards,
Luciano Wolf
-INdT-
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Python-Glade-Nokia770 creating debian packages

2007-03-23 Thread Luciano Miguel Wolf

Hi,

Try to put this line inside your .desktop file:

"StartupWMClass=file_to_be_executed"

This is missing on tutorial site.

Regards,
Luciano Wolf


ext Admir Saric wrote:

Hi,

I've created an application using python and glade and I've tried to get 
it running on the Nokia770. I was able to install the .deb package but 
when I tried to run it the loading window appeared and closed after a 
while. The application never started. What seams to be the problem is 
that .glade file can't be found by the executable file. Did anyone had a 
same problem??

Solution??

Admir




___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: FW: Maemo

2007-03-21 Thread Luciano Miguel Wolf

Hi Alma,

Have you tried to run your application from terminal? I think it will 
show some more information.


Regards,
Luciano Wolf


ext Alma Prlja wrote:

Hi,

I have created an application for Nokia 770
using pygtk and glade. I tested it in the scratchbox and it all work
well. Then I tried to install the app_arm.deb file on the Nokia 770
and that also went well. The problem is that the application doesn't
start on the Nokia. I think that it must be the link to the .glade
file or something. When I create the deb package I have 6 files
app.py
app.glade
app.service
app.desktop
Makefile
setup.py
in setup file I put the files in these directories
('share/applications/hildon', [ 'dbc.desktop' ]),
('share/dbc', [ 'dbc.glade' ]),
('share/dbus-1/services', [ 'dbc.service' ])
In the .service and .desktop files I put the Exec file in
/usr/bin/app
and in the .py file I connect the python code with the glade file with
/usr/share/app/app.glade
What changes do I have to do to get the application running on Nokia 770?

Best regards
Alma


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: New PyMaemo svn repository

2007-03-20 Thread Luciano Miguel Wolf

Hi Henri,

We are changing PyGConf build system to generate deb packages. I hope it 
will be available in the next PyMaemo release.


Kiitos :),
Luciano Wolf


ext Henri Bergius wrote:

Hi!

On 3/19/07, Luciano Miguel Wolf <[EMAIL PROTECTED]> wrote:
Our next target is to release a new version with bugfixes (more 
bindings-e.g.: LibConIC, UCS4

encoding based and d-bus problem).


Regarding the DBUS problem, I'm *very* happy to hear you guys are
working on it. This means we soon will have new GeoClue positioning
backends written with pymaemo...

BTW, any news about GConf support in pymaemo?

Anyway, obrigado for working on this!


Luciano Wolf


/Henri



___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


New PyMaemo svn repository

2007-03-19 Thread Luciano Miguel Wolf

Hi all,

PyMaemo repository has been migrated to pymaemo.garage.maemo.org site. 
Anyone who is interested in contributing can now participate.
An explanation about how to proceed can be found in PyMaemo svn[1] 
README file. Feel free to give feedback. Our next target is to release a 
new version with bugfixes (more bindings-e.g.: LibConIC, UCS4 encoding 
based and d-bus problem). Thanks to all you that contributed with
sugestions and bug reports. Lets improve even more the Python support in 
Maemo platform.


Regards,
Luciano Wolf
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Python2.5 in maemo 3.0 SDK

2007-01-22 Thread Luciano Miguel Wolf

Hi David,

This problem happens when you don't export the DISPLAY variable 
correctly. You need to point it to a valid X session, as described in 
Maemo tutorial. And I agree, the error message could be a bit clear 
about the real problem :)


Regards,
Luciano


ext David wrote:

Hi
The first time I installed the SDK with python2.5, all works fine.

But after a problem with some deb packages, I install the SDK one more 
time ( Yes, It is not a solution)


Now, I can't import gtk module :

[sbox-SDK_X86: /] > python2.5
Python 2.5 (r25:9103, Jan 15 2007, 16:50:56)
[GCC 3.4.4 (release) (CodeSourcery ARM 2005q3-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import gtk
Traceback (most recent call last):
 File "", line 1, in 
 File 
"debian/python2.5-gtk2/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init 
__.py", line 83, in 
 File 
"debian/python2.5-gtk2/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init 
__.py", line 70, in _init

NameError: global name '_gtk' is not defined

google don't help me :-(

Any suggestion ?

Thanks.

David.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Python 2.5 in 770

2007-01-19 Thread Luciano Miguel Wolf

Hi,

Did you try with the latest Maemo2.1 image available at www.maemo.org?


Luciano


ext Jose Manrique Lopez de la Fuente wrote:

Thanks it seems that libpang dissapears after removing python 2.4.

2007/1/19, Malix <[EMAIL PROTECTED]>:
I installed it Tuesday without problem, but I have had to remove 
python 2.4

before installing 2.5

Massimo


2007/1/19, Jose Manrique Lopez de la Fuente < [EMAIL PROTECTED]>:
>
> Has anybody tried maemo-python 2.5 in 770? I've tried to get the
> packages but Application Manager fails with them!!
>
> Thanks in advance,
>
> --
> J. Manrique López de la Fuente
> http://www.jsmanrique.net
> msn: [EMAIL PROTECTED]
> jabber: [EMAIL PROTECTED]
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers
>







___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] python osso and icd

2007-01-09 Thread Luciano Miguel Wolf

ext Fabio Forno wrote:

Hi,
since i've problems to keep the connection on sending the command with
dbus-send (see the trhread above), i'm trying with a simple python
script. I've tried other icd commands and I had no problems, but the
connect method does not work:





I don't want to directly use the dbus bindings of python since I've
found there are few memory leaks that make them unusable for long
running applications



Hi Fabio,

Right now we are finishing the python2.5 packages for maemo. This will 
take this whole week. At the moment you could report this problem to the 
garage buzilla[1] and we will fix it as soon as possible. Thanks in advance!


Luciano
-INdT/PyMaemo-


[1]
https://garage.maemo.org/projects/pymaemo/
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] python + osso_browser does work.

2006-12-12 Thread Luciano Miguel Wolf

ext Marius Gedminas wrote:

On Mon, Dec 11, 2006 at 03:09:20PM -0500, Jason Monroe Martin wrote:

The following code works in maemo 2.1



...


Aargh, can we please have a Python with readline support in the next OS
update?

Marius Gedminas



Hi Marius and developers,

Its possible to add support to readline but this will take 600k (5% of
total package size). The new dependencies should be downloaded from sdk
repositories. What do you think?

Regards,
Luciano

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Python equivalent of g_set_application_name("Hello maemo!") ?

2006-10-16 Thread Luciano Miguel Wolf

ext Igor Tkach wrote:

Hi,

I'm trying to use HildonProgram/HildonWindow instead of 
HildonApp/HildonAppView (in Python). One thing I can't find in the new 
API is how to work with application title. Setting title of HildonWindow 
changes only second part of the actual application title. From C example 
in Maemo tutorial it looks like g_set_application_name("Hello maemo!") 
is what does it for the first part of the title, but what 
is Python equivalent? By default my app 
gets the name of executable .py file as first part of the title. Any help is very much appreciated. 



Thank you,
Igor Tkach



Hi Igor,

PyGTK has a set_application_name function, that calls the 
g_set_application_name. This one sets the window title.



Luciano
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] accessing to the ICD with dbus and python

2006-07-27 Thread Luciano Miguel Wolf

I get an aswer, but in ret it contains only the first return
parameter, the name of the connection, instead of all the four
parameters from the specs:

rpc_run() is only a "shortcut" for a set of OSSO/D-BUS calls that return 
only one parameter. So you must use the generic D-BUS bindings to do the 
ICD call you want.




osso_c.rpc_async_run("com.nokia.icd", "/com/nokia/icd",
   "com.nokia.icd", "get_ipinfo", callback = cb)


This seems to be a binding bug, we will investigate that.


I've reported this as a bug[#726] on Maemo bugzilla. As Elvis said, we 
will take a look on this.

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers