Trying to run my fledgling Robot Framework project (which runs fine under both Robot 4.1.3 and pabot) and noticed a wierd failure when running under xeus-robot / JupyterLab.
On my Ubuntu 20 Linux box, under miniforge, installed as follows in a clean env:
conda install xeus-robot voila jupyterlab
Then:
jupyter lab --no-browser --ip=0.0.0.0
I am accessing JupyterLab from my Windows box via Edge / Chrome and it works great.
I pared down the failing case to creating a small file dictionarybug.robot with the following content:
Then, from a blank JupyterLab Robot notebook I run the following:
*** Settings ***
Documentation Reproduces a bug with xeus - Robot Framework.
Resource ${EXECDIR}${/}dictionarybug.robot
*** Tasks ***
Repro
Log Variables
It will show:
---------------------------------------------------------------------------
TestSuiteError:
Invalid dictionary variable item '{'1': 'IxServerTest', '4': 'UartTest', '23': 'FprogTest', '48': 'TECProxyTest', '119': 'IxIoTest', '129': 'L23Test', '208': 'PGIDIxAccumulatorTest'}'. Items must use 'name=value' syntax or be dictionary variables themselves.
Oddly enough, if I comment out the line containing the dictionary, and run, it will of course run without failure; but then if I uncomment the line and run again, it will work exactly once (and the dictionary will appear in the log).
Then, if I run again, it will fail miserably.
Trying to run my fledgling Robot Framework project (which runs fine under both Robot 4.1.3 and pabot) and noticed a wierd failure when running under xeus-robot / JupyterLab. On my Ubuntu 20 Linux box, under miniforge, installed as follows in a clean env:
conda install xeus-robot voila jupyterlab
Then:
jupyter lab --no-browser --ip=0.0.0.0
I am accessing JupyterLab from my Windows box via Edge / Chrome and it works great.
I pared down the failing case to creating a small file dictionarybug.robot with the following content:
Then, from a blank JupyterLab Robot notebook I run the following:
It will show:
Oddly enough, if I comment out the line containing the dictionary, and run, it will of course run without failure; but then if I uncomment the line and run again, it will work exactly once (and the dictionary will appear in the log). Then, if I run again, it will fail miserably.