FAILED Selenium2Library Importing test library 'Selenium2Library' failed: ImportError: cannot import name GLOBAL_VARIABLES
Traceback (most recent call last):
File "D:\PY2.7\lib\site-packages\robotide\lib\robot\utils\importer.py", line 143, in _import
return import(name, fromlist=fromlist)
File "D:\PY2.7\lib\site-packages\robotframework_selenium2library-1.5.0-py2.7.egg\Selenium2Library__init__.py", line 2, in
from keywords import *
File "D:\PY2.7\lib\site-packages\robotframework_selenium2library-1.5.0-py2.7.egg\Selenium2Library\keywords__init__.py", line 1, in
from _logging import _LoggingKeywords
File "D:\PY2.7\lib\site-packages\robotframework_selenium2library-1.5.0-py2.7.egg\Selenium2Library\keywords_logging.py", line 3, in
from robot.variables import GLOBAL_VARIABLES
PYTHONPATH:
D:\PY2.7\lib\site-packages\wx-2.8-msw-unicode
D:\PY2.7\lib\site-packages\wx-2.8-msw-unicode
D:\PY2.7\Lib\idlelib
D:\PY2.7\lib\site-packages\setuptools-23.1.0-py2.7.egg
D:\PY2.7\lib\site-packages\pip-8.1.2-py2.7.egg
D:\PY2.7\lib\site-packages\robotframework-3.0-py2.7.egg
D:\PY2.7\lib\site-packages\robotframework_selenium2library-1.5.0-py2.7.egg
D:\PY2.7\lib\site-packages\docutils-0.12-py2.7.egg
D:\PY2.7\lib\site-packages\selenium-2.53.6-py2.7.egg
D:\PY2.7\lib\site-packages\decorator-4.0.10-py2.7.egg
C:\Windows\system32\python27.zip
D:\PY2.7\DLLs
D:\PY2.7\lib
D:\PY2.7\lib\plat-win
D:\PY2.7\lib\lib-tk
D:\PY2.7
D:\PY2.7\lib\site-packages
D:\PY2.7\lib\site-packages\robotide\spec

Traceback (most recent call last):
[Errno 10053]
File "D:\PY2.7\lib\site-packages\robotide\spec\librarymanager.py", line 40, in run
if not self._handle_message():
File "D:\PY2.7\lib\site-packages\robotide\spec\librarymanager.py", line 66, in _handle_message
self._handle_insert_keywords_message(message)
File "D:\PY2.7\lib\site-packages\robotide\spec\librarymanager.py", line 93, in _handle_insert_keywords_message
keywords = self._fetch_keywords(library_name, library_args)
File "D:\PY2.7\lib\site-packages\robotide\spec\librarymanager.py", line 83, in _fetch_keywords
print 'FAILED', library_name, err
File "D:\PY2.7\lib\idlelib\PyShell.py", line 1356, in write
return self.shell.write(s, self.tags)
File "D:\PY2.7\lib\idlelib\rpc.py", line 545, in getattr
self.__getmethods()
File "D:\PY2.7\lib\idlelib\rpc.py", line 563, in __getmethods
"methods", (), {})
File "D:\PY2.7\lib\idlelib\rpc.py", line 210, in remotecall
seq = self.asynccall(oid, methodname, args, kwargs)
File "D:\PY2.7\lib\idlelib\rpc.py", line 225, in asynccall
self.putmessage((seq, request))
File "D:\PY2.7\lib\idlelib\rpc.py", line 332, in putmessage
n = self.sock.send(s[:BUFSIZE])

20160701 15:09:19.027 [ERROR]: Error in listener: C++ assertion "m_count == -1 || m_count == -2" failed at ....\src\msw\textctrl.cpp(140) in UpdatesCountFilter::UpdatesCountFilter(): wrong initial m_updatesCount value
While handling <robotide.publish.messages.RideLogMessage object at 0x00000000092655F8>

Traceback (most recent call last):
C++ assertion "m_count == -1 || m_count == -2" failed at ....\src\msw\textctrl.cpp(140) in UpdatesCountFilter::UpdatesCountFilter(): wrong initial m_updatesCount value
File "D:\PY2.7\lib\site-packages\robotide\publish\publisher.py", line 88, in call
self.listener(data)
File "D:\PY2.7\lib\site-packages\robotide\log\log.py", line 85, in _log_message
self._window.update_log()
File "D:\PY2.7\lib\site-packages\robotide\log\log.py", line 129, in update_log
self.SetValue(self._decode_log(self._log))
File "D:\PY2.7\lib\site-packages\wx-2.8-msw-unicode\wx_controls.py", line 1754, in SetValue
return controls.TextCtrl_SetValue(*args, **kwargs)

FAILED Selenium2Library的更多相关文章

  1. Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define ...

    Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define ... 这个错误是因为有两个相 ...

  2. Android Studio:Failed to resolve ***

    更换电脑后,也更新了所有的SDK的tool,仍然报错:Failed to resolve  各种jar包,出现这种问题主要是因为在Android studio中默认不允许在线更新,修改方法如下:

  3. PMON failed to acquire latch, see PMON dump

    前几天,一台Oracle数据库(Oracle Database 10g Release 10.2.0.4.0 - 64bit Production)监控出现"PMON failed to a ...

  4. [异常解决] windows用SSH和linux同步文件&linux开启SSH&ssh client 报 algorithm negotiation failed的解决方法之一

    1.安装.配置与启动 SSH分客户端openssh-client和openssh-server 如果你只是想登陆别的机器的SSH只需要安装openssh-client(ubuntu有默认安装,如果没有 ...

  5. Failed to stop iptables.service: Unit iptables.service not loaded.

    redhat 7 [root@lk0 ~]# service iptables stop Redirecting to /bin/systemctl stop iptables.service Fai ...

  6. idea报错:error java compilation failed internal java compiler error

    idea下面报如下问题 error java compilation failed internal java compiler error 解决办法:Setting->Compiler-> ...

  7. 【解决方案】 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userHandler': Injection of resource dependencies failed;

    一个错误会浪费好多青春绳命 鉴于此,为了不让大家也走弯路,分享解决方案. [错误代码提示] StandardWrapper.Throwableorg.springframework.beans.fac ...

  8. AHCI: Failed to attach drive to Port1 (VERR_GENERAL_FAILURE).

    在mac操作系统下,安装VirtualBoxVm虚拟机,虚拟机里面安装wind7操作系统.在启动虚拟机的时候报错:AHCI: Failed to attach drive to Port1 (VERR ...

  9. Error:Execution failed for task ':app:clean'.

    运行时出现 Error:Execution failed for task ':app:clean'. 错误,Builld->Clean Project即可.

随机推荐

  1. layer,一个可以让你想到即可做到的javascript弹窗(层)解决方案

    学习网址:http://layer.layui.com/ 下载地址:http://res.layui.com/download/layer-v2.1.zip 我们提到的基础参数主要指调用方法时用到的配 ...

  2. 使用java进行excel读取和写入

    1:添加处理excel的依赖jar包 <!-- 引入poi,解析workbook视图 --> <dependency> <groupId>org.apache.po ...

  3. SVN: is scheduled for addition, but is missing

    删除文件夹后点commit提交,但是报错,报错内容如下:提示 "svn: Commit failed (details follow): svn: '/***/xxx.c' is sched ...

  4. rsync+inotify安装配置 实时同步文件

    安装 #安装inotify 工具 [root@localhost ~]# yum install inotify-tools -y 常用命令 [root@localhost ~]# inotifywa ...

  5. http协议基础(四)http状态码

    一:http状态码 表示客户端http请求的返回结果.标记服务器端的处理是否正常.通知出现的错误等工作 状态码的类别如下: http状态码种类繁多,大概有60多种,实际上经常使用的只有14种,下面为一 ...

  6. mysql的count方法详解

    1.cout(*)会统计为null的行: 2.count(列名)不会统计此列null值的行: 3.count(distinct col)计算该列除null之外的不重复数量:

  7. zw版【转发·台湾nvp系列Delphi例程】HALCON SetComprise1

    zw版[转发·台湾nvp系列Delphi例程]HALCON SetComprise1 procedure TForm1.Button1Click(Sender: TObject);var image0 ...

  8. 待解决:PDF header signature not found

  9. linux 图形界面的安装

    本文内容主要摘自:http://blog.csdn.net/hotday_kevin/article/details/8310054 文中图形的安装和卸载都给了两种方式,貌似是因为都是版本的问题而不同 ...

  10. LLVM/Clang编译相关研究

    https://blog.csdn.net/guojin08/article/details/54310858 https://juejin.im/entry/5c64da44518825620b45 ...