Python 2.5.4:144 and arexx.pym
  • Just looking around
    Amile
    Posts: 6 from 2008/8/3
    Hello,

    tried these days to communicate with python to an arexx-port of another application, YAM in this case:

    File "yam.py":
    Code:

    import arexx

    p = arexx.port()
    print p
    result = p.send('YAM','FolderInfo')
    print result
    p.close()


    but this went not so well:

    Code:

    > python yam.py
    <arexx port PYTHON at 225270b0>
    Traceback (most recent call last):
    File "yam.py", line 7, in <module>
    result = p.send('YAM','FolderInfo')
    AttributeError: 'arexxport' object has no attribute 'send'


    According pydoc arexx, this error shouldn't happen, or missed i something :-?

    Any help is appreciated, thx

    --
    Systeminfo: MacMini, MorphOS 2.7, latest Python (r254:144, Dec 21 2010, 01:08:28)
  • »18.01.11 - 23:04
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Yomgui
    Posts: 348 from 2004/8/31
    From: Québec - Canada
    oups... my fault! I've ported the original version from Irmen de Jong (1.5 compatible, 1999) to the new 2.x API.
    But during this step I've forgotten to link port methods :-)

    I'm building an update archive.

    [EDIT] done, please update your SYS:libs/python2.5/lib-dynload/arexx.pym by using the one inside this archive: http://www.yomgui.fr/python/thirdparties/2.5/python-mos-r144-arexxfix.lha

    Note2: archive dates are fixed (Lha updated done)



    [ Edited by Yomgui on 2011/1/20 11:05 ]
    And now... next project!
  • »18.01.11 - 23:40
    Profile Visit Website
  • Just looking around
    Amile
    Posts: 6 from 2008/8/3
    Hey, wow, that's what i call quick support :-o

    Merci beaucoup ! Tout est pour le mieux ici. :-D
  • »19.01.11 - 01:11
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 10376 from 2003/5/22
    From: Germany
    > http://www.yomgui.fr/python/thirdparties/2.5/python-mos-r144-arexxfix.lha

    Please update your LhA binary :-)

    https://morph.zone/modules/news/article.php?storyid=1835
  • »19.01.11 - 01:46
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Yomgui
    Posts: 348 from 2004/8/31
    From: Québec - Canada
    @Andreas_Wolf

    ???
    it was

    [edit]
    ah I know... I've reverted my system to a public 2.7 :-D
    I've forgotten to update it again.

    [ Edited by Yomgui on 2011/1/19 9:46 ]
    And now... next project!
  • »19.01.11 - 08:44
    Profile Visit Website