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

Can't use 'auth' argument with connect() #26

Closed
liftoff opened this issue Aug 25, 2014 · 2 comments
Closed

Can't use 'auth' argument with connect() #26

liftoff opened this issue Aug 25, 2014 · 2 comments

Comments

@liftoff
Copy link

liftoff commented Aug 25, 2014

This works fine (ipython output):

In [1]: conn = xcffib.connect(display=':1')

This does not (as you can see):

In [2]: conn = xcffib.connect(display=':1', auth='NAME:binary-data')
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-2-3c6279d4cecc> in <module>()
----> 1 conn = xcffib.connect(display=':1', auth='NAME:binary-data')

/usr/local/lib/python2.7/dist-packages/xcffib/__init__.pyc in __init__(self, display, fd, auth)
    382         if auth is not None:
    383             c_auth = ffi.new("xcb_auth_info_t *")
--> 384             if C.xpyb_parse_auth(auth, len(auth), c_auth) < 0:
    385                 raise XcffibException("invalid xauth")
    386         else:

AttributeError: 'FFILibrary' object has no attribute 'xpyb_parse_auth'

I'm running Ubuntu 14.04 and I believe my xcffib installation went well (no errors).

@tych0 tych0 closed this as completed in a83182e Aug 26, 2014
@liftoff
Copy link
Author

liftoff commented Aug 26, 2014

Excellent!

@tych0
Copy link
Owner

tych0 commented Aug 26, 2014

Thanks for reporting!

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