[Sikuli-driver] [Bug 1793035] Re: [1.1.4] RobotFramework: scripts not embedding screenshot into log --- needs robot 3.0.4 --- fixed 2018-09-19

2019-11-18 Thread RaiMan
** Changed in: sikuli
   Status: Fix Committed => Fix Released

** Changed in: sikuli
Milestone: 1.1.4 => 2.0.0

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1793035

Title:
  [1.1.4] RobotFramework: scripts not embedding screenshot into log ---
  needs robot 3.0.4 --- fixed 2018-09-19

Status in Sikuli:
  Fix Released

Bug description:
  Hello,

  I have been using Sikuli 1.1.4 (2019-09-12_07-01) with the
  robotframework-3.0.4 JAR distribution to add screenshots to my log
  files for visual verification.  I have been unable to have the
  screenshot added to the log when I run the script through the Sikuli
  IDE.

  However, running the same script, I have been able to have the
  screenshot correctly embedded with both RF (normal installation) as
  well as running the RF JAR distributable - same distributable I am
  running with the Sikuli IDE - from the commandline.

  Here is the what I am using to run via the command line:  java -jar
  C:\Users\[user]\AppData\Roaming\Sikulix\Extensions\robotframework-3.0.4.jar
  C:\Users\[user]\Desktop\test2.sikuli.robot

  This is my simple RF script I am running from Sikuli:

  runScript("""
  robot

  *** Settings ***
  Library   Screenshot

  *** Test Cases ***
  Try to take a screenshot
 Take Screenshot   mypic   80%

  """)


  REPRO:

  1.  Load Sikuli 1.1.4 (2019-09-12_07-01) onto a Win10 64bit machine
  2.  Download robotframework-3.0.4.JAR and place it in 
C:\Users\[user]\AppData\Roaming\Sikulix\Extensions
  3.  Open Sikuli and write a script as described above
  4.  Run the script

  RESULT:

  All expected logs/reports/images are created, but the jpg is not
  embedded in the log.html file.

  EXPECTED:

  img is embedded in the log file

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1793035/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1793035] Re: [1.1.4] RobotFramework: scripts not embedding screenshot into log --- needs robot 3.0.4 --- fixed 2018-09-19

2018-09-20 Thread RaiMan
Thanks for the confirmation.

... and yes, the Jython problem came up, because you deleted it before
from the environment ;-)

I know, that I have to improve the scripting support handling (which had
to be changed significantly due to Java 9+, that does not allow any
longer to dynamically manipulate the Java class path)

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1793035

Title:
  [1.1.4] RobotFramework: scripts not embedding screenshot into log ---
  needs robot 3.0.4 --- fixed 2018-09-19

Status in Sikuli:
  Fix Committed

Bug description:
  Hello,

  I have been using Sikuli 1.1.4 (2019-09-12_07-01) with the
  robotframework-3.0.4 JAR distribution to add screenshots to my log
  files for visual verification.  I have been unable to have the
  screenshot added to the log when I run the script through the Sikuli
  IDE.

  However, running the same script, I have been able to have the
  screenshot correctly embedded with both RF (normal installation) as
  well as running the RF JAR distributable - same distributable I am
  running with the Sikuli IDE - from the commandline.

  Here is the what I am using to run via the command line:  java -jar
  C:\Users\[user]\AppData\Roaming\Sikulix\Extensions\robotframework-3.0.4.jar
  C:\Users\[user]\Desktop\test2.sikuli.robot

  This is my simple RF script I am running from Sikuli:

  runScript("""
  robot

  *** Settings ***
  Library   Screenshot

  *** Test Cases ***
  Try to take a screenshot
 Take Screenshot   mypic   80%

  """)


  REPRO:

  1.  Load Sikuli 1.1.4 (2019-09-12_07-01) onto a Win10 64bit machine
  2.  Download robotframework-3.0.4.JAR and place it in 
C:\Users\[user]\AppData\Roaming\Sikulix\Extensions
  3.  Open Sikuli and write a script as described above
  4.  Run the script

  RESULT:

  All expected logs/reports/images are created, but the jpg is not
  embedded in the log.html file.

  EXPECTED:

  img is embedded in the log file

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1793035/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1793035] Re: [1.1.4] RobotFramework: scripts not embedding screenshot into log --- needs robot 3.0.4 --- fixed 2018-09-19

2018-09-19 Thread Ryan
Deleted the entire Sikuli folder in AppData, the JAR file of the
previous build and also uninstalled RF through pip.

I downloaded and tested build # 2018-09-19_07:17.  Images are now
embedding in the log file!  Thanks for the quick turn-around :D

One note, I kept seeing this error ('No installed runner supports
(text/python) Trying to run the script will crash the IDE!') when
starting Sikuli and loading up my previous script until I downloaded a
JAR distribution of Jython-2.7 and put it in the Extensions folder.  To
be fair, I apparently uninstalled my Jython installation previously, so
that may be the reason for seeing this error.  I am mainly mentioning
this since I am not sure if this is correct behavior or not.

If not, I can open another issue about it.

Regardless, the image embedding issue is fixed with this new build.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1793035

Title:
  [1.1.4] RobotFramework: scripts not embedding screenshot into log ---
  needs robot 3.0.4 --- fixed 2018-09-19

Status in Sikuli:
  Fix Committed

Bug description:
  Hello,

  I have been using Sikuli 1.1.4 (2019-09-12_07-01) with the
  robotframework-3.0.4 JAR distribution to add screenshots to my log
  files for visual verification.  I have been unable to have the
  screenshot added to the log when I run the script through the Sikuli
  IDE.

  However, running the same script, I have been able to have the
  screenshot correctly embedded with both RF (normal installation) as
  well as running the RF JAR distributable - same distributable I am
  running with the Sikuli IDE - from the commandline.

  Here is the what I am using to run via the command line:  java -jar
  C:\Users\[user]\AppData\Roaming\Sikulix\Extensions\robotframework-3.0.4.jar
  C:\Users\[user]\Desktop\test2.sikuli.robot

  This is my simple RF script I am running from Sikuli:

  runScript("""
  robot

  *** Settings ***
  Library   Screenshot

  *** Test Cases ***
  Try to take a screenshot
 Take Screenshot   mypic   80%

  """)


  REPRO:

  1.  Load Sikuli 1.1.4 (2019-09-12_07-01) onto a Win10 64bit machine
  2.  Download robotframework-3.0.4.JAR and place it in 
C:\Users\[user]\AppData\Roaming\Sikulix\Extensions
  3.  Open Sikuli and write a script as described above
  4.  Run the script

  RESULT:

  All expected logs/reports/images are created, but the jpg is not
  embedded in the log.html file.

  EXPECTED:

  img is embedded in the log file

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1793035/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp