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. js-jquery-插件开发(一)

    jQuery插件开发模式 jQuery插件开发方式主要有三种:1.通过$.extend()来扩展jQuery 主要是在jQuery命名空间或者理解成jQuery身上添加了一个静态方法2.通过$.fn ...

  2. kernel下nand flash的文件系统总结

    1.FLASH转换层(FTL) EXt2/EXT3/EXT4文件系统可以通过FTL实现对flash的支持,因为FTL可以将闪存flash模拟成磁盘结构. 在ext2文件系统的基础上上,为了保证数据的一 ...

  3. Flask中'endpoint'(端点)的理解

    翻译整理自Stack Overflow:http://stackoverflow.com/questions/19261833/what-is-an-endpoint-in-flask 原文中用到了m ...

  4. poj1753Flip Game(dfs)

    Flip Game  思想很不成熟, #include <stdio.h>#include <string.h>#include <stdlib.h>int map ...

  5. A + B Problem II(大数加法)

    一直格式错误,不想改了,没A #include <iostream> #include <stdio.h> #include <string.h> #include ...

  6. oracle实例内存(SGA和PGA)调整

    修改oracle内存占用 >show parameter sga; (查看内存占用情况) NAME                                   TYPE          ...

  7. Keepalived安装后出现的问题总结

    1. 在配好主从备份之后,发现虚拟IP能ping通,但是访问虚拟IP对应机器上的服务(不是apache或者mysql之类的公用软件)却不成功,这是因为要访问的服务绑定了主机上的一个实体IP不是INAD ...

  8. Bootstrap3-文字样式

    Bootstrap将全局font-size设置为14px,line-height为1.428.这些属性直接赋给<body>和所有段落元素.另外,<p>(段落)还被设置了等于1/ ...

  9. Repeater 控件使用总结

      关于Repeater控件使用的一些总结,希望能对将来有机会看到这篇日志的同事有所帮助.也是为了在自己开发有所遗忘的时候能够参考一下.前言:Repeater是一个迭代控件,什么是迭代控件呢?书本上的 ...

  10. linux服务器---安装swat

    安装swat swat是一个图形化的samba管理软件,可以帮助不熟悉的人去灵活的配置samba服务, 1.安装swat [root@localhost wj]#yum install -y samb ...