Different behavior for same python version on different linux VMs

This is from Linux VM #1

=->python3Python 3.12.12 (main, Jan  6 2026, 09:23:36) [GCC 8.5.0 20210514 (Red Hat 8.5.0-28.0.1)] on linuxType “help”, “copyright”, “credits” or “license” for more information.
from pybrm import Client
c = Client()
f = c.flist()
f.PIN_FLD_POID = (“/account”, 100, 0)
f
{}

Note how f doesn’t print anything though PIN_FLD_POID is assigned to it.

Now this is VM #2 with the same python version

=->python3Python 3.12.12 (main, Jan  6 2026, 09:23:36) [GCC 8.5.0 20210514 (Red Hat 8.5.0-28.0.1)] on linuxType “help”, “copyright”, “credits” or “license” for more information.
from pybrm import Client
c = Client()
f = c.flist()
f.PIN_FLD_POID = (“/account”, 100, 0)
f
{‘PIN_FLD_POID’: Poid(type=‘/account’, id=100, revision=0, database=1)}

Notice how f prints whatever was assigned to it.

Why this difference in behavior in different VMs though python versions are exactly the same.

Thanks in advance.

-Soolabettu

Are the pybrm versions the same? Run this code and tell us the output:

import pybrm
import sys
print("python:", sys.version)
print("pybrm file:", pybrm.__file__)
print("pybrm version:", getattr(pybrm, "__version__", "NO __version__"))

Also give us the output of this code:

import pkgutil, pybrm
mods = [m.name for m in pkgutil.iter_modules(pybrm.__path__)]
print("pybrm submodules:", mods)
1 Like

It’s a C extension. On the second VM did you forget to set PIN_HOME ?

Which CPU architectures do the VMs have (e.g. ARM or x86)?

pybrm was recently upgraded on VM #2 (earlier, behavior was the same on both VMs) which I wasn’t aware of. Thank you.

2 Likes