Comments (8)
@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.
from safeeyes.
Fixed with 24a0301. Tested on Fedora 25
from safeeyes.
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'
from safeeyes.
@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
from safeeyes.
@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.
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 :)
from safeeyes.
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 👍
from safeeyes.
@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.
from safeeyes.
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.
from safeeyes.
Related Issues (20)
- Readme - Update virtual environment steps HOT 1
- When the black screen with timer appears, it doesn't count back, but freezes whole computer HOT 1
- Make a new release HOT 12
- Delete accidental Git tag "vv2.1.6" with double "v"? HOT 2
- Disappearing menu shortcut
- Autostart doesn't work anymore HOT 3
- Start a short break on the middle button
- App fails to start if only a config file is present HOT 2
- Respect GNOME's "Do not disturb" mode
- Add an option to postpone breaks from the tray menu
- Stopped working after updating to Gnome 45
- Safe eyes genrating error on start HOT 2
- Not working with python 3.12 HOT 1
- Stop requiring the "plugins" option from the configuration file
- Stop changing the safeeyes.json file HOT 4
- Improvements to health statistics
- Local function names should match
- Improvements to "interpret idle as break"
- New release with Python 3.12 support? HOT 30
- Transparency not working on Wayland HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from safeeyes.