Actions
バグ #2209
closedrtc-template でエラーが発生する。
Status:
終了
Priority:
通常
Assignee:
-
Target version:
-
Start date:
08/22/2011
Due date:
% Done:
100%
Estimated time:
Description
OpenRTM: 1.1.0-RC2
OS: Fedora 12
Python: Python 2.6.2
YAML: PyYAML-3.09-5
Traceback (most recent call last): File "/usr/bin/rtc-template", line 939, in <module> main() File "/usr/bin/rtc-template", line 927, in main backends.generate_code(data, opts) File "/usr/bin/rtc-template", line 844, in generate_code self.backends[be].obj(data, opts).print_all() File "/usr/lib/openrtm-1.1/py_helper/cxx_gen.py", line 844, in print_all self.print_vcproj() File "/usr/lib/openrtm-1.1/py_helper/cxx_gen.py", line 785, in print_vcproj v.print_all() File "/usr/lib/openrtm-1.1/py_helper/vcproj_gen.py", line 207, in print_all self.print_solution() File "/usr/lib/openrtm-1.1/py_helper/vcproj_gen.py", line 180, in print_solution yamltxt = slntool.get_slnyaml(None, flist) TypeError: get_slnyaml() takes exactly 3 arguments (2 given) gen.sh: line 16: --config=Pgain:std::vector<double>:1.0,1.0,1.0,1.0,1.0,1.0,1.0: コマンドが見つかりません
Updated by Anonymous over 13 years ago
栗原様からの報告¶
調査を行いましたところ、rtc-templateから呼ばれるslntool.py内にバグがある事が判明致しました。
片見様、
チケット「VC2010への対応」に関連して、C++版OpenRTM-aistのリビジョン2058で、get_projinfo()やget_slnyaml()をオーバーロードするようにslntool.pyを変更されたかと思います。
Pythonでは、オーバーロードはできませんので、上記二つの関数に関しては、デフォルト引数を使用するなどでVC10への対応をお願い致します。
(添付のslntool.pyは、上記のオーバーロードを削除しただけです。)
Updated by Anonymous over 13 years ago
- Status changed from 担当 to 解決
- % Done changed from 0 to 100
Actions