-
Notifications
You must be signed in to change notification settings - Fork 84
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
expat XML error after installation of MSS 9.2.0 #2489
Comments
related python/cpython#115398 |
on my develop system it looks like this, mod_wsgi is used on an apache setup. Can you show a similar output on yours?
libexpat comes with python
|
in python 3.10. we have not any expat with python |
That is how it looks on my system. |
Please can you verify when you update python to 3.11.9 (latest version) and latest version of expat that the problem exists mamba install python==3.11.9 |
and I need |
This might be also related |
|
Yeah, problem is persistent, changed back to python 3.11.8 and expat 2.6.1 ... |
somehow the conda info seems to have a |
So it seems that |
ok, thx for checking. |
After installation of MSS 9.2.0 (using miniforge and mamba) and starting the server, I got an error related to
expat
. Version 2.6.2 was ofexpat
was installed.I downgraded to version 2.6.1 which solved the issue.
I found similar reports here: matplotlib/matplotlib#28235
The error log when starting the server looked as follows:
[Wed Aug 28 16:54:07.192427 2024] [wsgi:info] [pid 1242726:tid 1242731] [remote 95.89.143.182:48816] mod_wsgi (pid=1242726, process='MSS', application=''): Loading Python script file '/home/mss/summer23/wsgi/wms.wsgi'. [Wed Aug 28 16:54:07.333530 2024] [wsgi:error] [pid 1242726:tid 1242731] [remote 95.89.143.182:48816] mod_wsgi (pid=1242726): Failed to exec Python script file '/home/mss/summer23/wsgi/wms.wsgi'. [Wed Aug 28 16:54:07.333583 2024] [wsgi:error] [pid 1242726:tid 1242731] [remote 95.89.143.182:48816] mod_wsgi (pid=1242726): Exception occurred processing WSGI script '/home/mss/summer23/wsgi/wms.wsgi'. [Wed Aug 28 16:54:07.346490 2024] [wsgi:error] [pid 1242726:tid 1242731] [remote 95.89.143.182:48816] Traceback (most recent call last): [Wed Aug 28 16:54:07.347016 2024] [wsgi:error] [pid 1242726:tid 1242731] [remote 95.89.143.182:48816] File "/home/mss/summer23/wsgi/wms.wsgi", line 24, i n <module> [Wed Aug 28 16:54:07.347029 2024] [wsgi:error] [pid 1242726:tid 1242731] [remote 95.89.143.182:48816] from mslib.mswms.wms import app as application [Wed Aug 28 16:54:07.347040 2024] [wsgi:error] [pid 1242726:tid 1242731] [remote 95.89.143.182:48816] File "/home/mss/miniforge3/envs/mssenv/lib/python3. 11/site-packages/mslib/mswms/wms.py", line 56, in <module> [Wed Aug 28 16:54:07.347056 2024] [wsgi:error] [pid 1242726:tid 1242731] [remote 95.89.143.182:48816] from chameleon import PageTemplateLoader [Wed Aug 28 16:54:07.347064 2024] [wsgi:error] [pid 1242726:tid 1242731] [remote 95.89.143.182:48816] File "/home/mss/miniforge3/envs/mssenv/lib/python3. 11/site-packages/chameleon/__init__.py", line 1, in <module> [Wed Aug 28 16:54:07.347069 2024] [wsgi:error] [pid 1242726:tid 1242731] [remote 95.89.143.182:48816] from .zpt.template import PageTemplate [Wed Aug 28 16:54:07.347078 2024] [wsgi:error] [pid 1242726:tid 1242731] [remote 95.89.143.182:48816] File "/home/mss/miniforge3/envs/mssenv/lib/python3. 11/site-packages/chameleon/zpt/template.py", line 17, in <module> [Wed Aug 28 16:54:07.347082 2024] [wsgi:error] [pid 1242726:tid 1242731] [remote 95.89.143.182:48816] from ..template import BaseTemplate [Wed Aug 28 16:54:07.347089 2024] [wsgi:error] [pid 1242726:tid 1242731] [remote 95.89.143.182:48816] File "/home/mss/miniforge3/envs/mssenv/lib/python3. 11/site-packages/chameleon/template.py", line 48, in <module> [Wed Aug 28 16:54:07.347094 2024] [wsgi:error] [pid 1242726:tid 1242731] [remote 95.89.143.182:48816] from .loader import ModuleLoader [Wed Aug 28 16:54:07.347100 2024] [wsgi:error] [pid 1242726:tid 1242731] [remote 95.89.143.182:48816] File "/home/mss/miniforge3/envs/mssenv/lib/python3. 11/site-packages/chameleon/loader.py", line 9, in <module> [Wed Aug 28 16:54:07.347105 2024] [wsgi:error] [pid 1242726:tid 1242731] [remote 95.89.143.182:48816] import pkg_resources [Wed Aug 28 16:54:07.347128 2024] [wsgi:error] [pid 1242726:tid 1242731] [remote 95.89.143.182:48816] File "/home/mss/miniforge3/envs/mssenv/lib/python3. 11/site-packages/pkg_resources/__init__.py", line 63, in <module> [Wed Aug 28 16:54:07.347132 2024] [wsgi:error] [pid 1242726:tid 1242731] [remote 95.89.143.182:48816] import plistlib [Wed Aug 28 16:54:07.347157 2024] [wsgi:error] [pid 1242726:tid 1242731] [remote 95.89.143.182:48816] File "/home/mss/miniforge3/envs/mssenv/lib/python3.11/plistlib.py", line 70, in <module> [Wed Aug 28 16:54:07.347162 2024] [wsgi:error] [pid 1242726:tid 1242731] [remote 95.89.143.182:48816] from xml.parsers.expat import ParserCreate [Wed Aug 28 16:54:07.347168 2024] [wsgi:error] [pid 1242726:tid 1242731] [remote 95.89.143.182:48816] File "/home/mss/miniforge3/envs/mssenv/lib/python3.11/xml/parsers/expat.py", line 4, in <module> [Wed Aug 28 16:54:07.347189 2024] [wsgi:error] [pid 1242726:tid 1242731] [remote 95.89.143.182:48816] from pyexpat import * [Wed Aug 28 16:54:07.347207 2024] [wsgi:error] [pid 1242726:tid 1242731] [remote 95.89.143.182:48816] ImportError: /home/mss/miniforge3/envs/mssenv/lib/python3.11/lib-dynload/pyexpat.cpython-311-x86_64-linux-gnu.so: undefined symbol: XML_SetReparseDeferralEnabled
The text was updated successfully, but these errors were encountered: