Failed to get_keyword_names!
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- docker, java
- Área
- desktop, testing-qa
Línea de trabajo
Comienza con la configuración de Docker del issue y el servidor remoto de SikuliLibrary utilizado por test.robot; reproduce el fallo ejecutando robot test.robot en el contenedor. Rastrea el fallo de get_keyword_names en el endpoint del servidor remoto indicado y verifica que la configuración y el desmontaje del test se completen sin los errores indicados.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
hi Team,
I try to run skuliLibrary framework under a docker file.
The scenarios is as follow:
1.Create a docker file
FROM node:14-alpine
RUN apk update \
&& apk add build-base python3
RUN mkdir /.npm \
&& chmod 777 /.npm
RUN apk add --update py3-pip
RUN apk add openjdk11
# CHROME
RUN apk --no-cache upgrade && apk add --no-cache chromium chromium-chromedriver
RUN apk add libexif udev
# ROBOT + LIBRARIES
RUN pip3 install robotframework && pip3 install robotframework-selenium2library && pip3 install robotframework-jsonlibrary && pip3 install robotframework-jsonlibrary && pip3 install robotframework-SikuliLibrary
RUN apk update && apk add bash
ENTRYPOINT ["/bin/terraform"]
- docker build to build the image
- docker run -it -d -P robotfram ==>-P option to forword all ports to the host machine which is a windows machine
- docker cp "C:\Users\nboujelben\Downloads\test" sleepy_goodall:/home==>copy the test folder from local to my container
- my test file named robot.test and it contains a simple example:
*** Settings ***
Documentation Sikuli Library Demo
Library Selenium2Library
Library SikuliLibrary
Test Setup Run Keywords Start Sikuli Process AND Initialize all images
Test Teardown Stop Remote Server
*** Keywords ***
Initialize all images
Add Image Path ${CURDIR}\\img
Login to Browser with download preferences
[Documentation] This one is without specifying download location
Open Browser https://www.docdroid.net/ chrome #options=add_argument("--no-sandbox");add_argument("--headless");add_argument("--disable-dev-shm-usage")
Maximize Browser Window
Click Element id=select
SikuliLibrary.Input Text path.png ${CURDIR}\\img\\signature.jpeg
Press Special Key ENTER
*** Test cases ***
Sikuli tests
Log ToConsole ${CURDIR}
Login to Browser with download preferences
6.docker exec -it 2305c31c6cd7 /bin/sh ==>i connect to my container
7.export DISPLAY=127.0.0.1:10.0 ==>create an env variable named DISPLAY
8. apk add opencv-dev
apk add tesseract-ocr
8. run a test as folow robot test.robot
9. I get this erreur:
/home/test # robot test.robot
==============================================================================
Test :: Sikuli Library Demo
==============================================================================
[ WARN ] Test get_keyword_names failed! Connecting remote server at http://127.0.0.1:55781/ failed: <Fault 0: 'Failed to invoke method get_keyword_names in class org.robotframework.remoteserver.servlet.ServerMethods: java.lang.RuntimeException'>
[ WARN ] Test get_keyword_names failed! Connecting remote server at http://127.0.0.1:55781/ failed: <Fault 0: 'Failed to invoke method get_keyword_names in class org.robotframework.remoteserver.servlet.ServerMethods: java.lang.RuntimeException'>
Sikuli tests | FAIL |
Setup failed:
Failed to get_keyword_names!
Also teardown failed:
AttributeError: 'NoneType' object has no attribute 'run_keyword'
------------------------------------------------------------------------------
Test :: Sikuli Library Demo | FAIL |
1 test, 0 passed, 1 failed
==============================================================================
Output: /home/test/output.xml
Log: /home/test/log.html
Report: /home/test/report.html
- Lenguaje dominante
- Java
- Estrellas
- 163
- Forks
- 60
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de MarketSquare/robotframework-SikuliLibrary
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
MarketSquare/robotframework-SikuliLibrary#205 · 1 comentario ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
MarketSquare/robotframework-SikuliLibrary#201 · 2 comentarios ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
MarketSquare/robotframework-SikuliLibrary#189 · 1 comentario ·
-
Search specific region for imageAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
MarketSquare/robotframework-SikuliLibrary#188 · 1 comentario ·
Todos los issues de MarketSquare/robotframework-SikuliLibrary
Issues similares
-
BindingServiceProperties.bindings regressed to a non-thread-safe TreeMap in GH-3158: concurrent first use of binding names corrupts itPosiblemente ocupada @AkashB23 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
spring-cloud/spring-cloud-stream#3321 ·
Los mantenedores suelen responder en 1 día
-
[Bug] 资源包列表 与 模组/数据包/世界 列表排列顺序不一致Posiblemente ocupada @fishdry1000 la tomó hace 4 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
ai-driven-fuzzing bug claude Minor
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
linagora/twake-calendar-side-service#1333 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
AtlasOfLivingAustralia/species-lists#882 ·
Los mantenedores suelen responder en 1 día
-
Type/Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
ballerina-platform/ballerina-library#9458 ·
Los mantenedores suelen responder en 1 día