i-rinat / apulse

PulseAudio emulation for ALSA
MIT License
609 stars 35 forks source link

Error when starting application with apulse #100

Open TobiPeterG opened 5 years ago

TobiPeterG commented 5 years ago

Hello guys, unfortunately I receive an error when opening for example Firefox with "apulse Firefox". The error is:

/usr/bin/apulse:10: DeprecationWarning: The SafeConfigParser class has been renamed to ConfigParser in Python 3.2. This alias will be removed in future versions. Use ConfigParser directly instead.
  conf_parser = configparser.SafeConfigParser()

Is that a bad error?

Also, is there a way to open all applicatons using Apulse without having to directly tell them?

Thanks in advance! Cheers!

i-rinat commented 5 years ago

/usr/bin/apulse is a script that sets up library paths, so applications can load apulse's libraries. In this repository, apulse script is generated from template https://github.com/i-rinat/apulse/blob/master/src/apulse.template, and it's a shell script. No Python is used whatsoever.

So my guess is that the packages version you have on your machine, have a custom apulse script, written in Python. I have no idea what's inside, so can't tell what's going on.

From the warning message alone I'd suspect that it's not a serious warning. But it will become an error in newer Python versions, once SafeConfigParser is removed.