Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'period' #23

Open
JavierDiezSierra opened this issue Feb 20, 2020 · 7 comments
Open

KeyError: 'period' #23

JavierDiezSierra opened this issue Feb 20, 2020 · 7 comments

Comments

@JavierDiezSierra
Copy link

I am having problems when executing the qa-dkrz:

(qa-dkrz) [user @] $ qa-dkrz -f test.conf
~/user/miniconda2/envs/qa-dkrz/opt/qa-dkrz/bin/syncFiles.x: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

(qa-dkrz) [user @] $ conda install openssl = 1.0

(qa-dkrz) [user @] $ qa-dkrz -f test.conf
Traceback (most recent call last):
  File "~/user/miniconda2/envs/qa-dkrz/opt/qa-dkrz/python/qa-dkrz/qa-dkrz.py", line 669, in <module>
    run ()
  File "~/user/miniconda2/envs/qa-dkrz/opt/qa-dkrz/python/qa-dkrz/qa-dkrz.py", line 561, in run
    if not launch_list [0] .start (queue,):
  File "~/user/miniconda2/envs/qa-dkrz/opt/qa-dkrz/python/qa-dkrz/qa_exec.py", line 723, in start
    if not self.run (t_vars):
  File "~/user/miniconda2/envs/qa-dkrz/opt/qa-dkrz/python/qa-dkrz/qa_exec.py", line 583, in run
    period = log_entry ['period'],
KeyError: 'period'

The installation was made on a CentOS 6.X machine with the following commands (miniconda2 was previously installed):

conda create -n qa-dkrz -c conda-forge -c h-dh qa-dkrz = 0.6.7 = 55
conda activate qa-dkrz
qa-dkrz install --up --force CORDEX

The software works perfectly in Ubuntu 18.04

(@cofinoa)

@cofinoa
Copy link

cofinoa commented Feb 20, 2020

@h-dh the error on non-existing key period it's because the binary execution doing the actual test it's raising a Segmentation Fault.

Please if you need further information, please let us to know.

@h-dh
Copy link

h-dh commented Feb 20, 2020

a new version of the qa-dkrz tool is in preparation. However, it will not be available before next week.

Could you, please, have a look at your ~/.qa-dkrz/config.txt file, in particular for the QA_TABLE entry? Is it well defined?

@JavierDiezSierra
Copy link
Author

I think is well define because we have compared the QA_TABLE entry for both machines (Ubuntu 18.04 and CentOS 6.X) and it does not seem to present anything wrong:

QA_TABLES=~/user/.qa-dkrz/QA_TABLES

Find attached the config.txt file.

Many thanks for your help.

@JavierDiezSierra
Copy link
Author

We found that the kernel of the CentOS 6.X machine must be updated (from 3.10 to a 4.4 version) to solve the problem.

We look forward to the new version of the qa-dkrz tool!

@cofinoa
Copy link

cofinoa commented Mar 3, 2020

@h-dh we were using a CentOS 7.7 distribution with linux kernel 3.10, and upgrading it to linux kernel 4.4, the segmentation fault, disappear. To me, I think it's an issue with the GLIB version used by the conda build process, that makes the executable to raise the segmentation fault.

Please could let us know when it's planned the next release?

I was looking for the release, 0.6.7, but it's not in this repo. Where can we access it?

thank you

@h-dh
Copy link

h-dh commented Mar 4, 2020 via email

@ozanmert
Copy link

Hello, I see that it is already a long time since this discussion, but I would like to ask anyway: Is there any improvement on this issue? I have recently installed qa-dkrz, but am stuck at this KeyError: 'period'. Many thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants