wx.DefaultValidator, name -> Type error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

wx.DefaultValidator, name -> Type error

rlfgus777
I am trying to execute the autoware program. 

but I got an error about wxpython...

Please help me~!!

below is the log.


my os : ubuntu16.04LTS
python 3.6.5 |Anaconda

wx version : '4.0.3 gtk3 (phoenix) wxWidgets 3.0.5'


lab@labubuntu:~/Autoware/ros$ rosrun runtime_manager runtime_manager_dialog.py
GLib-GIO-Message: 17:18:22.483: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
17:18:22: Debug: Adding duplicate image handler for 'PNG file'
17:18:22: Debug: Adding duplicate image handler for 'JPEG file'
17:18:22: Debug: Adding duplicate image handler for 'TIFF file'
17:18:22: Debug: Adding duplicate image handler for 'GIF file'
17:18:22: Debug: Adding duplicate image handler for 'PNM file'
17:18:22: Debug: Adding duplicate image handler for 'PCX file'
17:18:22: Debug: Adding duplicate image handler for 'IFF file'
17:18:22: Debug: Adding duplicate image handler for 'Windows icon file'
17:18:22: Debug: Adding duplicate image handler for 'Windows cursor file'
17:18:22: Debug: Adding duplicate image handler for 'Windows animated cursor file'
17:18:22: Debug: Adding duplicate image handler for 'TGA file'
17:18:22: Debug: Adding duplicate image handler for 'XPM file'
loading qs.yaml
/home/lab/Autoware/ros/src/util/packages/runtime_manager/scripts/runtime_manager_dialog.py:3183: wxPyDeprecationWarning: Call to deprecated item. Use SetToolTip instead.
  obj.SetToolTipString(s)
loading setup.yaml
['rosparam', 'set', 'tf_x', '1.2']
['rosparam', 'set', 'tf_y', '0.0']
['rosparam', 'set', 'tf_z', '2.0']
['rosparam', 'set', 'tf_yaw', '0.0']
['rosparam', 'set', 'tf_pitch', '0.0']
['rosparam', 'set', 'tf_roll', '0.0']
['rosparam', 'set', 'localizer', 'velodyne']
loading map.yaml
loading sensing.yaml
/home/lab/Autoware/ros/src/util/packages/runtime_manager/scripts/runtime_manager_dialog.py:3183: wxPyDeprecationWarning: Call to deprecated item. Use SetToolTip instead.
  obj.SetToolTipString(s)
Traceback (most recent call last):
  File "/home/lab/Autoware/ros/src/util/packages/runtime_manager/scripts/runtime_manager_dialog.py", line 2890, in OnInit
    frame_1 = MyFrame(None, wx.ID_ANY, "")
  File "/home/lab/Autoware/ros/src/util/packages/runtime_manager/scripts/runtime_manager_dialog.py", line 220, in __init__
    self.create_checkboxes(dic, self.panel_sensing, None, self.drv_probe_cmd, self.sensing_cmd, self.OnSensingDriver)
  File "/home/lab/Autoware/ros/src/util/packages/runtime_manager/scripts/runtime_manager_dialog.py", line 1195, in create_checkboxes
    self.create_checkboxes(d, panel, lst, probe_dic, run_dic, bind_handler)
  File "/home/lab/Autoware/ros/src/util/packages/runtime_manager/scripts/runtime_manager_dialog.py", line 1195, in create_checkboxes
    self.create_checkboxes(d, panel, lst, probe_dic, run_dic, bind_handler)
  File "/home/lab/Autoware/ros/src/util/packages/runtime_manager/scripts/runtime_manager_dialog.py", line 1213, in create_checkboxes
    obj = self.add_config_link(dic, panel, obj)
  File "/home/lab/Autoware/ros/src/util/packages/runtime_manager/scripts/runtime_manager_dialog.py", line 1223, in add_config_link
    cfg_obj = HyperLinkCtrl(panel, wx.ID_ANY, '[config]', '')
  File "/home/lab/anaconda3/lib/python3.6/site-packages/wx/lib/agw/hyperlink.py", line 232, in __init__
    style, name)
  File "/home/lab/anaconda3/lib/python3.6/site-packages/wx/lib/stattext.py", line 111, in __init__
    wx.DefaultValidator, name)
TypeError: Control(): arguments did not match any overloaded call:
  overload 1: argument 3 has unexpected type 'str'
  overload 2: too many arguments
OnInit returned false, exiting...

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: wx.DefaultValidator, name -> Type error

Robin Dunn
On Saturday, August 11, 2018 at 4:38:46 AM UTC-7, [hidden email] wrote:
I am trying to execute the autoware program. 

 
  File "/home/lab/Autoware/ros/src/util/packages/runtime_manager/scripts/runtime_manager_dialog.py", line 1223, in add_config_link
    cfg_obj = HyperLinkCtrl(panel, wx.ID_ANY, '[config]', '')

You appear to be passing an empty string for the position parameter.

--
Robin 

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.