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

Attempt to unlock mutex that was not locked #39

Closed
metsatron opened this issue Mar 7, 2015 · 3 comments
Closed

Attempt to unlock mutex that was not locked #39

metsatron opened this issue Mar 7, 2015 · 3 comments

Comments

@metsatron
Copy link

When running blockify installed from AUR on Arch Linux I encounter the following error before the process ends:
Attempt to unlock mutex that was not locked

Apparently the problem is triggered by the upgrade from glib2 and can be resolved by removing the line gtk.gdk.threads_init() from some packages but I have been unable to find it in any of the files from this package.

@gmdfalk
Copy link
Owner

gmdfalk commented Mar 7, 2015

i'm using arch, too and i cannot reproduce this.
However, the code you're looking for is here:
https://github.com/mikar/blockify/blob/master/blockify/blockify.py#L123

@metsatron
Copy link
Author

Thank you for your prompt response Mikar.
I commented out the line you pointed to in both blockify.py and blockify-ui.py.
Both are subsequently launching perfectly.

@metsatron
Copy link
Author

I've tested the software and it's actually blocking ads unlike some other scripts I tried earlier.
Brilliant! Thank you for making this mikar, really great work :)

gmdfalk pushed a commit that referenced this issue Mar 15, 2015
Fixed 3 issues: #36,#38, #39
New options:
substring_search (boolean, set to True if you want to be able to block
"Bloodhound Gang - Ivan Eth Nioj" with "Ivan". Risk for fals e
positives)
pacmd_muted_value (string, the localized value for "yes", needed to
parse the pacmd list-sink-inputs output correctly)
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