RCC installs robot x86 instead of x64?

Hi everyone,

Brand new to the community and to robotframework as well.
I’ve been testing and testing for a week and i’m pretty sure i’ll be around for a while!
Great project btw!

But … (there’s always a but!) :slight_smile:

I’ve been using rcc tool to create me the environments i need to make my tests (so far so good).
I’ve downloaded the latest rcc tool (x64 version of it)
I’ve added it to the path …
rcc task shell inside my working directory which have conda.yaml ; robot.yaml ; and my .robot file for opening and login into SAP using RoboSAPiens library.
But when i run : robot myfile.robot i got this message :

SAP could not be opened. Retrieving the COM class factory for component with CLSID {62341062-29BC-4DCE-A87A-DC0CB19BF230} failed due to the following error: 80040154 Class not registered (0x80040154 (REGDB_E_CLASSNOTREG)).

Which for my online search might be related to some x86 & x64 incompatibility.

My SAP clients are x64, my OS also (of course), rcc binary as well.

when i type robot --version inside rcc task shell i get this :

Robot Framework 7.0 (Python 3.10.12 on win32)

Is this the cause ?
Can i overcome this ?

Maybe a dumb/noob question ; still would appreciate any help :slight_smile:

Cheers everyone!

Hi,

Not a user a SAP or Sapiens but this seems indeed a 32/64 bits compatibility issue.
The environment is trying to use a 32 bits version of python, that might have been selected by default by rcc to start RF.

Verify you have a 64 bits version installed (and avoid conflicts with 32 one, path…).
Then you can modify the robot.yaml file to specify the version (either with version number if you only have a specific 64 bits version, or full path). There might be something like this that you can adapt:

runtime:
python: “3.10.12”

Regards
Charlie

That is Python saying it is a Windows machine. The other names, are: linux and darwin.

Your error seems to related with the installation/register of a DLL.

RCC is robocorp tool and company is no-more. Even if there would be a solution to fix this issue, i’d strongly advice of finding other tooling to archive your needs.

1 Like