8000 wxgui: catch also TypeError when importing ctypes, see #305 by landam · Pull Request #324 · OSGeo/grass · GitHub
[go: up one dir, main page]

Skip to content

wxgui: catch also TypeError when importing ctypes, see #305 #324

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

Merged
merged 1 commit into from
Feb 7, 2020

Conversation

landam
Copy link
Member
@landam landam commented Feb 2, 2020

This PR allows to start GUI even on TypeError when importing ctypes. See #305

@landam landam added the enhancement New feature or request label Feb 2, 2020
@landam landam added this to the 7.8.3 milestone Feb 2, 2020
@landam landam requested a review from neteler February 2, 2020 20:35
@landam landam merged commit 70bfb68 into OSGeo:master Feb 7, 2020
@landam landam deleted the ctypes_python_bug branch February 7, 2020 19:24
@metzm
Copy link
Contributor
metzm commented Feb 7, 2020

@landam This is a bug in Python, to be reverted with python/cpython#17960. This bug also affects all GRASS modules using ctypes, e.g. all GRASS modules using pygrass such as all t.* modules.

After much trial and error (trying to introduce a workaround in the GRASS ctypes generator), I found that the only solution is to use a Python version without this bug.

petrasovaa pushed a commit to petrasovaa/grass that referenced this pull request Feb 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0