プロジェクト

全般

プロフィール

バグ #2209

rtc-template でエラーが発生する。

匿名ユーザー が12年以上前に追加. 約12年前に更新.

ステータス:
終了
優先度:
通常
担当者:
-
対象バージョン:
-
開始日:
2011/08/22
期日:
進捗率:

100%

予定工数:

説明

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: コマンドが見つかりません

関係しているリビジョン

リビジョン 2217 (差分)
fsi-katami が12年以上前に追加

Fixed the bug that the error occurs by rtc-template. refs #2209

リビジョン 2217 (差分)
fsi-katami が12年以上前に追加

Fixed the bug that the error occurs by rtc-template. refs #2209

リビジョン 2218 (差分)
fsi-katami が12年以上前に追加

Fixed the bug that the error occurs by rtc-template. refs #2209

リビジョン 2218 (差分)
fsi-katami が12年以上前に追加

Fixed the bug that the error occurs by rtc-template. refs #2209

履歴

#1 匿名ユーザー が12年以上前に更新

栗原様からの報告

調査を行いましたところ、rtc-templateから呼ばれるslntool.py内にバグがある事が判明致しました。
片見様、
チケット「VC2010への対応」に関連して、C++版OpenRTM-aistのリビジョン2058で、get_projinfo()やget_slnyaml()をオーバーロードするようにslntool.pyを変更されたかと思います。
Pythonでは、オーバーロードはできませんので、上記二つの関数に関しては、デフォルト引数を使用するなどでVC10への対応をお願い致します。
(添付のslntool.pyは、上記のオーバーロードを削除しただけです。)

#2 匿名ユーザー が12年以上前に更新

  • ステータス担当 から 解決 に変更
  • 進捗率0 から 100 に変更

#3 n-ando約12年前に更新

  • ステータス解決 から 終了 に変更

他の形式にエクスポート: Atom PDF