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

Question: Replacement for xcb.wrap()? #38

Closed
Narrat opened this issue Mar 13, 2015 · 1 comment
Closed

Question: Replacement for xcb.wrap()? #38

Narrat opened this issue Mar 13, 2015 · 1 comment

Comments

@Narrat
Copy link

Narrat commented Mar 13, 2015

Hi
Small question from someone who isn't really familiar with xpyb or xcffib.
At the moment I try to get a program running that is using xcb stuff.[0]
As it wouldn't work with xpyb I tried xcffib and replaced the calls.

But it would fail with:

$ caw
Loading Config: /etc/xdg/caw/config.py
Traceback (most recent call last):
File "/etc/xdg/caw/config.py", line 48, in
edge=0
File "/usr/lib/python2.7/site-packages/caw/caw.py", line 71, in init
self.connection = xcffib.wrap(self.connection_c)
AttributeError: 'module' object has no attribute 'wrap'

This function is located in the xcb sub-module, which got no replacement (although it isn't called from the submodule[1]).
So I'm wondering if I overlooked something


[0] https://github.com/milkypostman/caw
[1] https://github.com/milkypostman/caw/blob/master/caw/caw.py#L71

@tych0 tych0 closed this as completed in 13d7fa0 Mar 13, 2015
@tych0
Copy link
Owner

tych0 commented Mar 13, 2015

Nope, I don't think you're overlooking anything, I just forgot to implement it. Thanks for the report!

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