Page 1 of 2

First Beta of OpenEMM 20.04 available for download

Posted: Mon May 04, 2020 2:51 pm
by maschoff
We are happy to announce that the executable programm code of the first beta of OpenEMM 20.04 is available for download now. See the OpenEMM wiki for more information at https://wiki.openemm.org .

Re: First Beta of OpenEMM 20.04 available for download

Posted: Wed May 06, 2020 7:28 am
by MikaLaurer
Where can I download the latest runtime version? On your website it is still 19.10.009.016 and in the OpenEMM Updater is no newer version available either.

Thanks,
Mika Laurer

Re: First Beta of OpenEMM 20.04 available for download

Posted: Wed May 06, 2020 7:36 am
by maschoff
If you select menu "Install or update package from AGNITAS Website" in OpenEMMInstaller, which version of the runtime is offered to you?

Re: First Beta of OpenEMM 20.04 available for download

Posted: Wed May 06, 2020 8:01 am
by MikaLaurer
Version 19.10.009.016

Re: First Beta of OpenEMM 20.04 available for download

Posted: Wed May 06, 2020 1:57 pm
by maschoff
Sorry, link was messed up. Please try again!

Re: First Beta of OpenEMM 20.04 available for download

Posted: Fri May 08, 2020 8:10 am
by MikaLaurer
Now the Download works. But after installing the new python version using your manual I get this error when starting the OpenEMMInstall: "Mandatory python mysql module is missing!". Eventhough it is installed already. I can get OpenEMM 20.04 running when I remove the symlink for Python3.8 but that's not the way it is supposed to work I guess.

Re: First Beta of OpenEMM 20.04 available for download

Posted: Fri May 08, 2020 8:25 am
by maschoff
In the meantime there is a new version of the runtime available. Please update the Installer to this version.

Re: First Beta of OpenEMM 20.04 available for download

Posted: Fri May 08, 2020 9:49 am
by MikaLaurer
I've updated the runtime to version 20.04.000.026. I still have the same problem. Is there an even newer version available? If so, where do I find it? I already tried to update the runtime again but there was no newer version found by the updater.

Re: First Beta of OpenEMM 20.04 available for download

Posted: Fri May 08, 2020 9:54 am
by maschoff
Is there any other Python version installed on your server?

Re: First Beta of OpenEMM 20.04 available for download

Posted: Fri May 08, 2020 10:00 am
by MikaLaurer
Yes Python2.7. It is required by many systemcomponents, therefore I can uninstall it. But I changed the environmentvariables for the openemm-user to use Python 3.8.2

Re: First Beta of OpenEMM 20.04 available for download

Posted: Fri May 08, 2020 10:05 am
by maschoff
Which OS and DBMS versions do you use?

Re: First Beta of OpenEMM 20.04 available for download

Posted: Fri May 08, 2020 10:10 am
by MikaLaurer
RedHat 7.7 and MySQL 5.7.24

Re: First Beta of OpenEMM 20.04 available for download

Posted: Fri May 08, 2020 10:13 am
by maschoff
And you did "python3 -m pip install mysqlclient" and it worked?

Re: First Beta of OpenEMM 20.04 available for download

Posted: Fri May 08, 2020 10:18 am
by MikaLaurer
That actually didn't work. I get this error

Code: Select all

    ERROR: Command errored out with exit status 1:
     command: /home/openemm/opt/python3/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-sxs8ke__/mysqlclient/setup.py'"'"'; __file__='"'"'/tmp/pip-install-sxs8ke__/mysqlclient/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-7cg8hdil
         cwd: /tmp/pip-install-sxs8ke__/mysqlclient/
    Complete output (12 lines):
    /bin/sh: mysql_config: command not found
    /bin/sh: mariadb_config: command not found
    /bin/sh: mysql_config: command not found
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-sxs8ke__/mysqlclient/setup.py", line 16, in <module>
        metadata, options = get_config()
      File "/tmp/pip-install-sxs8ke__/mysqlclient/setup_posix.py", line 61, in get_config
        libs = mysql_config("libs")
      File "/tmp/pip-install-sxs8ke__/mysqlclient/setup_posix.py", line 29, in mysql_config
        raise EnvironmentError("%s not found" % (_mysql_config_path,))
    OSError: mysql_config not found
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Re: First Beta of OpenEMM 20.04 available for download

Posted: Fri May 08, 2020 10:43 am
by MikaLaurer
I found the error. I had to run "yum install python-devel mysql-devel". After installing these packages i was able to run
"python3 -m pip install mysqlclient". After everything worked fine.

Thanks for your assistance :)