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

Trouble on wayland #15

Closed
Yamakaky opened this issue Oct 31, 2016 · 8 comments
Closed

Trouble on wayland #15

Yamakaky opened this issue Oct 31, 2016 · 8 comments
Labels

Comments

@Yamakaky
Copy link
Contributor

https://aur.archlinux.org/packages/safeeyes/, last comment

@slgobinath
Copy link
Owner

@Yamakaky I will check it but this issue seems to be a common problem. See DeaDBeeF-Player/deadbeef#1606, https://github.com/getlantern/lantern/issues/3618 and kozec/syncthing-gtk#73.

@slgobinath slgobinath added the bug label Nov 7, 2016
@slgobinath
Copy link
Owner

Fixed with 24a0301. Tested on Fedora 25

@pedrolb
Copy link

pedrolb commented Oct 13, 2017

Ubuntu 17.10 is still not out but i tried to use safe eyes on it, no success. I think its related to this bug, because when i run on xorg session it works.

Error i get when running safeeyes from terminal:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/Xlib/xauth.py", line 42, in init
raw = open(filename, 'rb').read()
FileNotFoundError: [Errno 2] No such file or directory: '/home/pedrolb/.Xauthority'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/safeeyes", line 9, in
load_entry_point('safeeyes==2.0.0', 'console_scripts', 'safeeyes')()
File "/usr/lib/python3/dist-packages/safeeyes/main.py", line 132, in main
safeeyes = SafeEyes(system_locale, config)
File "/usr/lib/python3/dist-packages/safeeyes/SafeEyes.py", line 75, in init
self.break_screen = BreakScreen(self.context, self.on_skipped, self.on_postponed, Utility.STYLE_SHEET_PATH)
File "/usr/lib/python3/dist-packages/safeeyes/BreakScreen.py", line 47, in init
self.display = Display()
File "/usr/lib/python3/dist-packages/Xlib/display.py", line 80, in init
self.display = _BaseDisplay(display)
File "/usr/lib/python3/dist-packages/Xlib/display.py", line 62, in init
display.Display.init(*(self, ) + args, **keys)
File "/usr/lib/python3/dist-packages/Xlib/protocol/display.py", line 61, in init
name, host, displayno)
File "/usr/lib/python3/dist-packages/Xlib/support/connect.py", line 93, in get_auth
return getattr(mod, modname).get_auth(sock, dname, host, dno)
File "/usr/lib/python3/dist-packages/Xlib/support/unix_connect.py", line 116, in new_get_auth
au = xauth.Xauthority()
File "/usr/lib/python3/dist-packages/Xlib/xauth.py", line 44, in init
raise error.XauthError('~/.Xauthority: %s' % err)
Xlib.error.XauthError: ~/.Xauthority: [Errno 2] No such file or directory: '/home/pedrolb/.Xauthority'

@slgobinath
Copy link
Owner

@pedrolb I remember I also got this problem.
Try to create an empty file using the following command and let me know the result:

touch ~/.Xauthority

@pedrolb
Copy link

pedrolb commented Oct 13, 2017

@slgobinath It worked, I never tought it would be so easy :D Thanks

But the safe eyes is running with some problems in this new version. The system tray icon didn't show at first, and the text of the exercise isn't showing as expected.

foto

I tried a purge and reinstall and now the plugin for system tray was ok (came as on) but the text still came as a variable name. But i am running it now :)

@pedrolb
Copy link

pedrolb commented Oct 13, 2017

my bad, it wasn't a clean reinstall, i purged it again and this time removed the safeeyes folder from .config. Safe Eyes working as expected, thanks a lot 👍

@slgobinath
Copy link
Owner

@pedrolb that's my fault. I implemented to upgrade from the previous version which causes to this issue. Will fix it in the next release even though it is too late.

@pedrolb
Copy link

pedrolb commented Oct 14, 2017

Well at least it seems like an easy fix. I think everybody who enjoys safe eyes can understand this little problem. Thanks for the help and for this really usefull program.

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

No branches or pull requests

3 participants