hello, when trying to import a CGNS mesh (YF-17 from cgns website), I am
getting:
jrcc@bilbo:/data/projects/JrcC/pyfr/cgns_test$ pyfr import yf17.cgns
qqq.pyfrm
Traceback (most recent call last):
File
"/home/jrcc/.local/lib/python3.6/site-packages/pyfr/readers/cgns.py", line
114, in _errcheck
raise self._statuses[status]
KeyError: 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/pyfr", line 11, in <module>
load_entry_point('pyfr==1.9.0', 'console_scripts', 'pyfr')()
File "/home/jrcc/.local/lib/python3.6/site-packages/pyfr/__main__.py",
line 110, in main
args.process(args)
File "/home/jrcc/.local/lib/python3.6/site-packages/pyfr/__main__.py",
line 121, in process_import
reader = get_reader_by_extn(extn, args.inmesh)
File
"/home/jrcc/.local/lib/python3.6/site-packages/pyfr/readers/__init__.py",
line 19, in get_reader_by_extn
return reader_map[extn](*args, **kwargs)
File
"/home/jrcc/.local/lib/python3.6/site-packages/pyfr/readers/cgns.py", line
375, in __init__
self._file = file = cgns.open(msh.name)
File
"/home/jrcc/.local/lib/python3.6/site-packages/pyfr/readers/cgns.py", line
120, in open
self.lib.cg_open(bytes(name, 'utf-8'), self.CG_MODE_READ, file)
File
"/home/jrcc/.local/lib/python3.6/site-packages/pyfr/readers/cgns.py", line
116, in _errcheck
raise CGNSError
pyfr.readers.cgns.CGNSError
I have CGNS 3.4 installed, also created a path variable PYFR_LIBRARY_PATH
and link to libcgns.so. Previously, it was complaining libcgns.so not found.
Thanks in advance!
Junting Chen
--
You received this message because you are subscribed to the Google Groups "PyFR
Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web, visit
https://groups.google.com/d/msgid/pyfrmailinglist/563ec609-1f37-4e19-9e67-4e00cd42ff7e%40googlegroups.com.