Git Product home page Git Product logo

Comments (11)

kayhayen avatar kayhayen commented on June 24, 2024 1

It seems the CI test only doing import matplotlib doesn't trigger it. I reproduced it just now with version 3.8.1 which I happen to still have installed. Pretty sure some version some time worked, but this should be easy. Probably a Nuitka regression, since I believe we now ask code what backend is used.

from nuitka.

kayhayen avatar kayhayen commented on June 24, 2024

I am pretty convinced, macOS used to work, special thanks to keeping the matplotlib version used secret.

from nuitka.

ioctl-user avatar ioctl-user commented on June 24, 2024

special thanks to keeping the matplotlib version used secret.

Thanks are in vain. Matpotlib version is 3.8.2, as you can see in the initial message.

from nuitka.

kayhayen avatar kayhayen commented on June 24, 2024

I clearly have reading issues, I apologize.

from nuitka.

kayhayen avatar kayhayen commented on June 24, 2024

So what happens is that the default backend on macos was not included, but only the Qt ones, if you used PySide or PyQt, as many people do. The dependent was easy to add. Then the C code is badly implemented, sort of:

line 78, in _single_shot_timer
  File "/Users/hayen/repos/Py2C/MatplotlibUsing.dist/matplotlib/backend_bases.py", line 1150, in start
RuntimeError: _on_timer should be a Python method

At least it tests its assumption and properly error exits where other things sometimes just segfault. That required a plugin change for the matplotlib plugin to not compile those functions, and then it works for me.

from nuitka.

kayhayen avatar kayhayen commented on June 24, 2024

Thanks for your report, this is fixed on the factory branch, which is a development version under rapid development. You can try it out by going here: https://nuitka.net/doc/factory.html

Feedback if this is working is very welcome, just please do not share plans of doing it, but rather confirmations or denials of it working.

from nuitka.

kayhayen avatar kayhayen commented on June 24, 2024

There will be no 1.9 hotfixes anymore, so this is part of 2.0 release which is delayed due to flu I seem to have caught, but should happen within 1-2 weeks for sure.

from nuitka.

ioctl-user avatar ioctl-user commented on June 24, 2024

Fix tested - working.

p.s. According to the github repo history your PC clock is late for about 2 days.

from nuitka.

kayhayen avatar kayhayen commented on June 24, 2024

That's WSL2 for you, during suspend, the system time doesn't move. I don't bother to correct it a lot, but I agree it's not nice.

from nuitka.

kayhayen avatar kayhayen commented on June 24, 2024

This is now on develop branch and will be part of the 2.0 release.

from nuitka.

kayhayen avatar kayhayen commented on June 24, 2024

This is part of the stable release 2.0 that I just made.

from nuitka.

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.