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

Study and fix crash on updating lxml==5.1.0 #347

Closed
farhan opened this issue Jan 30, 2024 · 3 comments
Closed

Study and fix crash on updating lxml==5.1.0 #347

farhan opened this issue Jan 30, 2024 · 3 comments
Assignees

Comments

@farhan
Copy link
Contributor

farhan commented Jan 30, 2024

In the xblock-sdk git repository lxml has been updated to 5.1.0 in PR

which is crashing the code.
When I run python manage.py run server I experience the following crash

  File "/Users/farhankhan/.pyenv/versions/xblock-sdk/lib/python3.8/site-packages/xblock/fields.py", line 19, in <module>
    from lxml import etree
ImportError: dlopen(/Users/farhankhan/.pyenv/versions/xblock-sdk/lib/python3.8/site-packages/lxml/etree.cpython-38-darwin.so, 0x0002): symbol not found in flat namespace '_exsltDateXpathCtxtRegister'

I have experienced the same crash when updating lxml package here

In this ticket, we need to figure out the root cause of it and try to fix it by either via code update to fixing the lxml to lower version.

Some Effected repos:

@farhan farhan changed the title Study crash on updating lxml==5.1.0 Study and fix crash on updating lxml==5.1.0 Jan 30, 2024
@Agrendalath
Copy link
Member

This one also affects the DnDv2 XBlock: https://github.com/openedx/xblock-drag-and-drop-v2/blob/78e4135/requirements/constraints.txt#L19-L20.

@irtazaakram
Copy link
Member

PRs related to this issue

openedx/FeedbackXBlock#81
openedx/xblock-lti-consumer#471
openedx/edx-ora2#2207 depends on openedx/i18n-tools#146
openedx/xblock-drag-and-drop-v2#404

@irtazaakram
Copy link
Member

All PRs have been merged.

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

No branches or pull requests

3 participants