lczub / robotframework-magik

Robot Framework high level keywords for automated testing Smallworld Magik images
13 stars 2 forks source link

In SW5(.3.3?) script_engine fails due to missing method magik_rep.load_chunk() #37

Closed StevenLooman closed 1 week ago

StevenLooman commented 2 weeks ago

First of all, great work on this project! We're trying to use this to automate some of our tests.

I'm trying to start a SW5 session from robot, but the session never becomes reachable via telnet. The problem seems to be, at least in SW533 and SW534, that the script_engine is broken due to the missing method magik_rep.load_chunk(). I've logged an issue with GE, but a fix will most likely only land in a future version of Smallworld.

I'll try to work around this and if possible, provide a work-around here for any future users of this project.

StevenLooman commented 2 weeks ago

After persuing an approach using SW_MSF_STARTUP_MAGIK, I just noticed that this is already mentioned in (among other files) RobotMagikLauncher.py:

        | msf_startup | If set, environment variable ``SW_MSF_STARTUP_MAGIK`` will be defined with | 
        |             | script _robotframework-magik/resources/scripts/start_robot_remote_cli.magik_ |
        |             | for starting the remote_cli. Mandatory for none 4.2/4.3 sessions / images | 
        |             | and useful for 4.2/4.3 closed images (missing or incomplete script engine support) |

This issue can be closed.