Giter VIP home page Giter VIP logo

Comments (6)

FrancescoCeruti avatar FrancescoCeruti commented on September 14, 2024 1

Can you reproduce the error consistently?
The change you made shouldn't make any difference, and on the second run the import worked successfully.

from linux-show-player.

FrancescoCeruti avatar FrancescoCeruti commented on September 14, 2024 1

A fix has been merged upstream alsa-project/alsa-python@cb75f5c, hopefully we'll se a new release soon.

from linux-show-player.

bgoldstone avatar bgoldstone commented on September 14, 2024

Can you reproduce the error consistently?
The change you made shouldn't make any difference, and on the second run the import worked successfully.

That is correct. I have tried running this multiple times and these are the result is that it works with modified code and does not work with that modification.

I've tried running it back to back with modified code and unmodified code and then tried it again and still got the same results.

It might be a python issue itself.

Please let me know if you have any additional follow-up questions.

from linux-show-player.

FrancescoCeruti avatar FrancescoCeruti commented on September 14, 2024

Thanks. I'll try to reproduce the error and do some debug 🐞

from linux-show-player.

FrancescoCeruti avatar FrancescoCeruti commented on September 14, 2024

The problem is introduced by Python 3.12, not sure by what specifically, I'm able to trigger the crash by simply from pyalsa import alsasq, depending on the conditions, even with the try/except changes it still crashes.

  • On Federa it affects also the packaged version of pyalsa (python3-alsa)
  • On Arch with pyenv I'm able to reproduce the same behavior

I've opened an issue alsa-project/alsa-python#9

from linux-show-player.

FrancescoCeruti avatar FrancescoCeruti commented on September 14, 2024

Small update, as a temporary solution, I've added a condition to skip pyalsa installation when python is >= 3.12 ... at least we avoid crashes

from linux-show-player.

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.