First Beta of OpenEMM 20.04 available for download

Use this forum to report bugs and to check for bugfixes and new releases of OpenEMM

Moderator: moderator

maschoff
Site Admin
Posts: 2597
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

First Beta of OpenEMM 20.04 available for download

Post 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 .
OpenEMM Maintainer
MikaLaurer
Posts: 35
Joined: Thu Apr 02, 2020 9:18 am

Re: First Beta of OpenEMM 20.04 available for download

Post 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
maschoff
Site Admin
Posts: 2597
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: First Beta of OpenEMM 20.04 available for download

Post by maschoff »

If you select menu "Install or update package from AGNITAS Website" in OpenEMMInstaller, which version of the runtime is offered to you?
OpenEMM Maintainer
MikaLaurer
Posts: 35
Joined: Thu Apr 02, 2020 9:18 am

Re: First Beta of OpenEMM 20.04 available for download

Post by MikaLaurer »

Version 19.10.009.016
maschoff
Site Admin
Posts: 2597
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: First Beta of OpenEMM 20.04 available for download

Post by maschoff »

Sorry, link was messed up. Please try again!
OpenEMM Maintainer
MikaLaurer
Posts: 35
Joined: Thu Apr 02, 2020 9:18 am

Re: First Beta of OpenEMM 20.04 available for download

Post 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.
maschoff
Site Admin
Posts: 2597
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: First Beta of OpenEMM 20.04 available for download

Post by maschoff »

In the meantime there is a new version of the runtime available. Please update the Installer to this version.
OpenEMM Maintainer
MikaLaurer
Posts: 35
Joined: Thu Apr 02, 2020 9:18 am

Re: First Beta of OpenEMM 20.04 available for download

Post 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.
maschoff
Site Admin
Posts: 2597
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: First Beta of OpenEMM 20.04 available for download

Post by maschoff »

Is there any other Python version installed on your server?
OpenEMM Maintainer
MikaLaurer
Posts: 35
Joined: Thu Apr 02, 2020 9:18 am

Re: First Beta of OpenEMM 20.04 available for download

Post 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
maschoff
Site Admin
Posts: 2597
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: First Beta of OpenEMM 20.04 available for download

Post by maschoff »

Which OS and DBMS versions do you use?
OpenEMM Maintainer
MikaLaurer
Posts: 35
Joined: Thu Apr 02, 2020 9:18 am

Re: First Beta of OpenEMM 20.04 available for download

Post by MikaLaurer »

RedHat 7.7 and MySQL 5.7.24
maschoff
Site Admin
Posts: 2597
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: First Beta of OpenEMM 20.04 available for download

Post by maschoff »

And you did "python3 -m pip install mysqlclient" and it worked?
OpenEMM Maintainer
MikaLaurer
Posts: 35
Joined: Thu Apr 02, 2020 9:18 am

Re: First Beta of OpenEMM 20.04 available for download

Post 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.
MikaLaurer
Posts: 35
Joined: Thu Apr 02, 2020 9:18 am

Re: First Beta of OpenEMM 20.04 available for download

Post 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 :)
Post Reply