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. mysql查看和修改注释

    MySQL查看注释,MySQL修改注释,mysql查看注释,mysql修改注释 1.给大家做演示,这里随便创建一张学生表,代码如下: CREATE TABLE `student` ( `id` int ...

  2. JavaScript加强

    1.Aptana简介 Aptana是一个非常强大,开源,专注于JavaScript的Ajax开发IDE它的特性包括 1.JavaScript,JavaScript函数,HTML,CSS语言的Code  ...

  3. Set keys=Map.keyset()

    目前只有Map和Properties要用到keyset()方法 Properties:指JDBC时候的连接数据库,把数据库的参数提取到配置文件时用到, 通俗的讲,Properties专门用来读取配置文 ...

  4. Leetcode: Binary Tree Postorder Transversal

    Given a binary tree, return the postorder traversal of its nodes' values. For example: Given binary ...

  5. HashMap(JDK1.9)详解

    一.HashMap的概念. 1.HashMap类的继承实现关系如下:因此HashMap的功能有:可序列化.可克隆等功能. 2.HashMap的数据结构:数组+链表+红黑树. 3.键值对的存储方案:第一 ...

  6. ARM中的汇编指令

    Arm指令,32位的指令集,一共有16条的基本指令,每条指令都可以按条件执行, 指令都是32bit的,高四位是条件码[31:28], Thumb指令,16位的指令集,执行效率比arm指令集要低,但是节 ...

  7. MFC六大核心机制之三:动态创建

    MFC中很多地方都使用了动态创建技术.动态创建就是在程序运行时创建指定类的对象.例如MFC的单文档程序中,文档模板类的对象就动态创建了框架窗口对象.文档对象和视图对象.动态创建技术对于希望了解MFC底 ...

  8. windows系统bat方式启动tomcat出现java.lang.OutOfmemoryError:PermGen Space 错误

    1.问题情景: 在部署项目时,将两个应用部署到同一个tomcat下,通过startup.bat启动服务时,控制台出现出现java.lang.OutOfmemoryError:PermGen Space ...

  9. python进程同步,condition例子

    #coding=utf-8import multiprocessing as mpimport time def consumer(cond):    with cond:        print ...

  10. linux 中的定时任务crontab使用方法

    linux 中的定时任务crontab使用方法: 切换到root用户,sudo su root (可以设置成不需要输入密码) sudo su - (需要输入当前帐号的密码才能进入.) crontab ...