错误如下Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/robotframework_ride-2.0a1-py2.7.egg/robotide/__init__.py", line 72, in main
_run(inpath, not noupdatecheck, debug_console)
File "/Library/Python/2.7/site-packages/robotframework_ride-2.0a1-py2.7.egg/robotide/__init__.py", line 98, in _run
ride = RIDE(inpath, updatecheck)
File "/Library/Python/2.7/site-packages/robotframework_ride-2.0a1-py2.7.egg/robotide/application/application.py", line 42, in __init__
wx.App.__init__(self, redirect=False)
File "/usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core.py", line 7981, in __init__
self._BootstrapApp()
File "/usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core.py", line 7555, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/Library/Python/2.7/site-packages/robotframework_ride-2.0a1-py2.7.egg/robotide/application/application.py", line 61, in OnInit
self._find_robot_installation()
File "/Library/Python/2.7/site-packages/robotframework_ride-2.0a1-py2.7.egg/robotide/application/application.py", line 103, in _find_robot_installation
rf_file, rf_version = output.strip().split(', ')
ValueError: too many values to unpack
Use --help to get usage information.
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc1f1710> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x4098800> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x4098990> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x4098af8> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x4098be8> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x4098cd8> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x40836e8> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x4083558> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x40832d8> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x40831e8> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x40830a8> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x40840a8> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x40841c0> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x4084288> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x4084378> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x4084bc0> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x4084e68> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x4084c38> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x4084b48> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x40847b0> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x40846c0> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x407f1c0> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x407fe18> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x407fe68> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x407ff08> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x407fe90> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x407f918> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x407f850> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x407f6e8> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x407f2b0> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x407f300> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x407d7b0> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x407d738> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0x4080878> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc2069b8> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc1fff80> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc1ffee0> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc1ffe68> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc1ffdc8> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc1ffd50> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc1f1030> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc1d9f08> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc1d9e90> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc1d9da0> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc217c60> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc2068a0> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc2067b0> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc2066e8> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc206648> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc2065a8> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc206ad0> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc1f1508> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc1f13a0> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc1f12d8> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc1f1210> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc1f1170> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc1ffcb0> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc1ffc10> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc1ffb70> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc1ffad0> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc1ffa30> ignored
Exception AttributeError: "'NoneType' object has no attribute 'callbackDeadLimit'" in <wx.lib.pubsub.pub._NodeCallback instance at 0xc1ff9b8> ignored
问题原因:安装robotFramwork的命令是:
sudo easy_install robotframework,robotframework中间没有空格,我中间不小心加了空格,安装了robot,然后意识到错误后安装了robotframework,但是由于之前不小心装了robot,导致执行ride.py时一直报错,
折腾了大半天,最后删除/资源库/Python/2.7/site-packages/目录下包含robot的文件时,运行ride.py,终于运行成功了~~