Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3 support? #29

Closed
KeithSmoland opened this issue Mar 1, 2018 · 4 comments
Closed

Python 3 support? #29

KeithSmoland opened this issue Mar 1, 2018 · 4 comments

Comments

@KeithSmoland
Copy link

KeithSmoland commented Mar 1, 2018

I'm running into a lot of issues with rfshell after moving to python 3. For starters, the "import" keyword isn't being recognized

> C:\>rfshell
==============================================================================
Robot Debug3G4Vv1Hi
==============================================================================
RFDEBUG REPL
>>>>> Enter interactive shell
Only accepted plain text format keyword seperated with two or more spaces.
Type "help" for more information.
> selenium  http://www.google.com/  chrome
# import library  Selenium2Library
! keyword: import library  Selenium2Library
! Importing test library 'Selenium2Library' failed: ModuleNotFoundError: No module named 'Selenium2Library'
Traceback (most recent call last):
  None
PYTHONPATH:
  C:\Program Files\Python36\Scripts
  c:\program files\python36\python36.zip
  c:\program files\python36\DLLs
  c:\program files\python36\lib
  c:\program files\python36
  c:\program files\python36\lib\site-packages
  c:\program files\python36\lib\site-packages\robotframework_databaselibrary-1.0.1-py3.6.egg
# open browser  http://www.google.com/  chrome
! keyword: open browser  http://www.google.com/  chrome
! No keyword with name 'open browser' found.
> Import  Selenium2Library
! keyword: Import  Selenium2Library
! No keyword with name 'Import' found.
> Import String
! keyword: Import String
! No keyword with name 'Import String' found.
> Import  String
! keyword: Import  String
! No keyword with name 'Import' found.
@rubygeek
Copy link

rubygeek commented Mar 3, 2018

Selenium2Library is now just SeleniumLibrary

@xyb
Copy link
Owner

xyb commented Mar 4, 2018

@KeithSmoland, robotframework is using import library import module, you should input import library String instead of import String.

@rubygeek, thank you to remind me Selenium2Library had renamed, I'll release a new version for this. @KeithSmoland, please install Selenium2Library in your environment temporary and wait the next release of robotframework-debuglibrary.

@xyb
Copy link
Owner

xyb commented Mar 4, 2018

@KeithSmoland, @rubygeek, the new version 1.1.1 released, please upgrade it with pip install --upgrade robotframework-debuglibrary.

@xyb xyb closed this as completed Mar 4, 2018
@rubygeek
Copy link

rubygeek commented Mar 4, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants