• FAILED Selenium2Library


    FAILED Selenium2Library Importing test library 'Selenium2Library' failed: ImportError: cannot import name GLOBAL_VARIABLES
    Traceback (most recent call last):
    File "D:PY2.7libsite-packages obotidelib obotutilsimporter.py", line 143, in import
    return import(name, fromlist=fromlist)
    File "D:PY2.7libsite-packages obotframework_selenium2library-1.5.0-py2.7.eggSelenium2Library_init
    .py", line 2, in
    from keywords import *
    File "D:PY2.7libsite-packages obotframework_selenium2library-1.5.0-py2.7.eggSelenium2Librarykeywords_init_.py", line 1, in
    from _logging import _LoggingKeywords
    File "D:PY2.7libsite-packages obotframework_selenium2library-1.5.0-py2.7.eggSelenium2Librarykeywords_logging.py", line 3, in
    from robot.variables import GLOBAL_VARIABLES
    PYTHONPATH:
    D:PY2.7libsite-packageswx-2.8-msw-unicode
    D:PY2.7libsite-packageswx-2.8-msw-unicode
    D:PY2.7Libidlelib
    D:PY2.7libsite-packagessetuptools-23.1.0-py2.7.egg
    D:PY2.7libsite-packagespip-8.1.2-py2.7.egg
    D:PY2.7libsite-packages obotframework-3.0-py2.7.egg
    D:PY2.7libsite-packages obotframework_selenium2library-1.5.0-py2.7.egg
    D:PY2.7libsite-packagesdocutils-0.12-py2.7.egg
    D:PY2.7libsite-packagesselenium-2.53.6-py2.7.egg
    D:PY2.7libsite-packagesdecorator-4.0.10-py2.7.egg
    C:Windowssystem32python27.zip
    D:PY2.7DLLs
    D:PY2.7lib
    D:PY2.7libplat-win
    D:PY2.7liblib-tk
    D:PY2.7
    D:PY2.7libsite-packages
    D:PY2.7libsite-packages obotidespec

    Traceback (most recent call last):
    [Errno 10053]
    File "D:PY2.7libsite-packages obotidespeclibrarymanager.py", line 40, in run
    if not self._handle_message():
    File "D:PY2.7libsite-packages obotidespeclibrarymanager.py", line 66, in _handle_message
    self._handle_insert_keywords_message(message)
    File "D:PY2.7libsite-packages obotidespeclibrarymanager.py", line 93, in _handle_insert_keywords_message
    keywords = self._fetch_keywords(library_name, library_args)
    File "D:PY2.7libsite-packages obotidespeclibrarymanager.py", line 83, in _fetch_keywords
    print 'FAILED', library_name, err
    File "D:PY2.7libidlelibPyShell.py", line 1356, in write
    return self.shell.write(s, self.tags)
    File "D:PY2.7libidlelib pc.py", line 545, in getattr
    self.__getmethods()
    File "D:PY2.7libidlelib pc.py", line 563, in __getmethods
    "methods", (), {})
    File "D:PY2.7libidlelib pc.py", line 210, in remotecall
    seq = self.asynccall(oid, methodname, args, kwargs)
    File "D:PY2.7libidlelib pc.py", line 225, in asynccall
    self.putmessage((seq, request))
    File "D:PY2.7libidlelib pc.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 ....srcmsw extctrl.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 ....srcmsw extctrl.cpp(140) in UpdatesCountFilter::UpdatesCountFilter(): wrong initial m_updatesCount value
    File "D:PY2.7libsite-packages obotidepublishpublisher.py", line 88, in call
    self.listener(data)
    File "D:PY2.7libsite-packages obotideloglog.py", line 85, in _log_message
    self._window.update_log()
    File "D:PY2.7libsite-packages obotideloglog.py", line 129, in update_log
    self.SetValue(self._decode_log(self._log))
    File "D:PY2.7libsite-packageswx-2.8-msw-unicodewx_controls.py", line 1754, in SetValue
    return controls.TextCtrl_SetValue(*args, **kwargs)

  • 相关阅读:
    入职外包一个月的感受!(读者投稿)
    作为架构风格的 REST 到底是什么
    PHP基础之查找
    PHP基础之排序
    PHP入门之数组
    PHP入门之函数
    PHP入门之流程控制
    PHP入门之类型与运算符
    DC-1靶机实战和分析
    【基础算法】 状态压缩DP---蒙德里安的梦想
  • 原文地址:https://www.cnblogs.com/ITniu/p/5881389.html
Copyright © 2020-2023  润新知