Skip to content

PHaRLAP 4.7.0 Breaks PyLap #13

@w2naf

Description

@w2naf

PHaRLAP Version 4.7.0 breaks PyLap. Running python ray_test1.py gives the following error:

(pylap) w2naf@arrow:~/code/Pylap_project/PyLap/Examples$ python ray_test1.py 
/home/w2naf/code/Pylap_project/PyLap/Examples/ray_test1.py:48: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
  from cgi import print_environ
Traceback (most recent call last):
  File "/home/w2naf/code/Pylap_project/PyLap/Examples/ray_test1.py", line 57, in <module>
    from pylap.raytrace_2d import raytrace_2d 
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: /home/w2naf/anaconda3/envs/pylap/lib/python3.12/site-packages/pylap-0.1.0a0-py3.12-linux-x86_64.egg/pylap/raytrace_2d.cpython-312-x86_64-linux-gnu.so: undefined symbol: _gfortran_st_write_done

PHaRLAP Version 4.5.0 works fine and does not produce the error using an otherwise identical test environment.

Test Environment used:

  • Ubuntu 22.04.4 LTS
  • Python v3.12.4 in a conda environment with Anaconda package installed

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions