[LinuxCNC/linuxcnc Issue#43] python hal module broken badly in master branch

未分类 bolang 4个月前 (10-15) 24次浏览

Issue #43 | 状态: 已关闭 | 作者: jepler | 创建时间: 2016-03-09


Original report is of code that works in 2.7.4 but not in ja12.

I reproduced the same error message in master branch running interactively:

>>> import hal
>>> c = hal.component("bob")
>>> c.newparam("g", hal.HALFLOAT, hal.HALRW)
>>> c['g'] = 1.0
SystemError: null argument to internal routine

I strongly suspect this was introduced by 2b6c8ad (“halmodule: factor out to/from python functions”) but I didn’t test this theory yet.

原始Issue: https://github.com/LinuxCNC/linuxcnc/issues/43

喜欢 (0)