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. Jquery-plugins-toastr-消息提示

    toastr是一个基于jQuery简单.漂亮的消息提示插件,使用简单.方便,可以根据设置的超时时间自动消失. 1.使用很简单,首选引入toastr的js.css文件 html <link rel ...

  2. SqlServer--bat批处理执行sql语句1-osql

    首先需要知道,此处使用的批处理命令是osql ,如果安装了SqlServer,目录类似: D:\Program Files\Microsoft SQL Server\100\Tools\Binn 脚本 ...

  3. Miller_Rabbin算法判断大素数,Pollard_rho算法进行质因素分解

    Miller-rabin算法是一个用来快速判断一个正整数是否为素数的算法.它利用了费马小定理,即:如果p是质数,且a,p互质,那么a^(p-1) mod p恒等于1.也就是对于所有小于p的正整数a来说 ...

  4. C# winform webbrowser如何指定内核为IE11? 输出 this.webbrowser.Version 显示版本是IE11的,但实际版本不是啊! 网上打的修改注册表HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULA

    最佳答案   1)假设你应用程序的名字为MyApplication.exe 2)运行Regedit,打开注册表,找到 HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\M ...

  5. selenium webdriver窗口切换(上)

    selenium webdriver窗口切换,有时候在做自动化的时候需要打开很多很多的页面, 当在操作不同的页面的时候需要切换窗口,下面是如何切换到前后页面窗口的操作: package test201 ...

  6. git的使用(包括创建远程仓库到上传代码到git的详细步骤以及git的一些常用命令)

    A创建远程仓库到上传代码到git 1)登陆或这注册git账号 https://github.com 2)创建远程仓库 3)打开终端输入命令 cd到你的本地项目根目录下,执行如下git命令 git in ...

  7. lnmp之mysql5.5.17安装

    先执行命令yum install cmake mysql5.5采用的是cmake安装(更先进的configure) wget下载目录(到清华大学的镜像站下载) [root@localhost loca ...

  8. 解决fiddler不能抓取eclipse发出接口请求的问题

    使用eclipse执行接口时,发现在fiddler里面抓不到这些请求. 网上找了很多资料都是让在Eclipse 中设置:Windows > Preferences > Java > ...

  9. jstack生成的Thread Dump日志结构解析

    1 第一部分:Full thread dump identifier 2 第二部分:Java EE middleware, third party & custom application T ...

  10. Linux服务器---基础设置

    Centos分辨率      virtualbox里新安装的Centos 7 的分辨率默认的应该是800*600. 如果是‘最小化安装’的Centos7 进入的就是命令模式 .如果安装的是带有GUI的 ...