Coder Social home page Coder Social logo

[Bug] wxnviz.py: item 1 in _argtypes_ passes a union by value, which is unsupported. - wxGUI's vector digitizer is disabled about grass HOT 7 CLOSED

osgeo avatar osgeo commented on May 23, 2024
[Bug] wxnviz.py: item 1 in _argtypes_ passes a union by value, which is unsupported. - wxGUI's vector digitizer is disabled

from grass.

Comments (7)

hellik avatar hellik commented on May 23, 2024

ok, there was an upgrade in OSGeo4W to python 3.7.6 recently, maybe it's now related to

ctypesgen/ctypesgen#77 (comment)

from grass.

neteler avatar neteler commented on May 23, 2024

In Python 3.7.6 - 3.8.1 ctypes is broken if unpatched.
In Fedora, the fix of the upcoming 3.8.2 has recently been backported [1]. But it requires the recompilation of Python.

The easiest is to downgrade the Python version.

Markus

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1794572

from grass.

neteler avatar neteler commented on May 23, 2024

Is this still an issue? AFAIK the solution is to use the right Python version.

from grass.

NikosAlexandris avatar NikosAlexandris commented on May 23, 2024

The easiest is to downgrade the Python version.

To which version?

from grass.

neteler avatar neteler commented on May 23, 2024

The easiest is to downgrade the Python version.

To which version?

  • on Fedora 31 I have Python 3.7.7 (I assume patched or the "pure" upstream version) which works fine.
  • on Alpine based docker images we use Python 3.8.2 successfully.

from grass.

landam avatar landam commented on May 23, 2024

Originally reported problem should be fixed in OSGeo4W. @hellik Can we close?

from grass.

hellik avatar hellik commented on May 23, 2024

Originally reported problem should be fixed in OSGeo4W. @hellik Can we close?

closing as fixed in OSGeo4W by downgrading python version. in the long term, upgrade python >= 3.8.2

from grass.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.