Skip to content
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

Error when starting application with apulse #100

Open
TobiPeterG opened this issue Apr 9, 2019 · 1 comment
Open

Error when starting application with apulse #100

TobiPeterG opened this issue Apr 9, 2019 · 1 comment

Comments

@TobiPeterG
Copy link

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
Copy link
Owner

i-rinat commented Apr 10, 2019

/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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants