j4321 / scheduler Goto Github PK
View Code? Open in Web Editor NEWCalendar, alarms and reminders
License: GNU General Public License v3.0
Calendar, alarms and reminders
License: GNU General Public License v3.0
I just installed scheduler from aur and i get the following errors.
Traceback (most recent call last): File "/usr/bin/scheduler", line 84, in <module> from schedulerlib.scheduler import EventScheduler File "/usr/lib/python3.8/site-packages/schedulerlib/scheduler.py", line 50, in <module> from schedulerlib.widgets import EventWidget, Timer, TaskWidget, Pomodoro, CalendarWidget File "/usr/lib/python3.8/site-packages/schedulerlib/widgets/__init__.py", line 25, in <module> from .pomodoro_widget import Pomodoro File "/usr/lib/python3.8/site-packages/schedulerlib/widgets/pomodoro_widget.py", line 33, in <module> from schedulerlib.pomodoro_stats import Stats File "/usr/lib/python3.8/site-packages/schedulerlib/pomodoro_stats.py", line 28, in <module> import matplotlib File "/home/fuze/.local/lib/python3.8/site-packages/matplotlib/__init__.py", line 1111, in <module> rcParamsOrig = RcParams(rcParams.copy()) File "/home/fuze/.local/lib/python3.8/site-packages/matplotlib/__init__.py", line 891, in __getitem__ from matplotlib import pyplot as plt File "/home/fuze/.local/lib/python3.8/site-packages/matplotlib/pyplot.py", line 32, in <module> import matplotlib.colorbar File "/home/fuze/.local/lib/python3.8/site-packages/matplotlib/colorbar.py", line 40, in <module> import matplotlib._constrained_layout as constrained_layout File "/home/fuze/.local/lib/python3.8/site-packages/matplotlib/_constrained_layout.py", line 52, in <module> from matplotlib.legend import Legend File "/home/fuze/.local/lib/python3.8/site-packages/matplotlib/legend.py", line 43, in <module> from matplotlib.offsetbox import HPacker, VPacker, TextArea, DrawingArea File "/home/fuze/.local/lib/python3.8/site-packages/matplotlib/offsetbox.py", line 33, in <module> from matplotlib.image import BboxImage File "/home/fuze/.local/lib/python3.8/site-packages/matplotlib/image.py", line 19, in <module> from matplotlib.backend_bases import FigureCanvasBase File "/home/fuze/.local/lib/python3.8/site-packages/matplotlib/backend_bases.py", line 46, in <module> from matplotlib import ( ImportError: cannot import name 'get_backend' from partially initialized module 'matplotlib' (most likely due to a circular import) (/home/fuze/.local/lib/python3.8/site-packages/matplotlib/__init__.py)
A few times lately I've noticed that scheduler has stopped running, so I finally opened it from a terminal so I could see what's happening. It looks like if I open the lid of my laptop and it wakes up, scheduler notices it missed the time it should've updated the date, so it tries to do that, and then it crashes:
Run time of job "run (trigger: cron[year='*', month='*', day_of_week='0,1,2,3,4,5,6', hour='18', minute='45', second='0'], next run at: 2020-03-01 18:45:00 CET)" was missed by 0:00:05.381278
Update current day to 2020-02-29
Save event database
Quit
Traceback (most recent call last):
File "/usr/bin/scheduler", line 89, in <module>
app.mainloop()
File "/usr/lib/python3.8/tkinter/__init__.py", line 1420, in mainloop
self.tk.mainloop(n)
File "/usr/lib/python3.8/site-packages/schedulerlib/scheduler.py", line 397, in <lambda>
signal.signal(signal.SIGUSR1, lambda *args: self.widgets['Calendar'].update_date())
File "/usr/lib/python3.8/site-packages/schedulerlib/widgets/calendar_widget.py", line 74, in update_date
self._calendar.update_sel()
File "/usr/lib/python3.8/site-packages/schedulerlib/event_calendar.py", line 120, in update_sel
self.configure(selectmode='day')
File "/usr/lib/python3.8/site-packages/tkcalendar/calendar_.py", line 1612, in configure
self[item] = value
File "/usr/lib/python3.8/site-packages/schedulerlib/event_calendar.py", line 102, in __setitem__
raise AttributeError('This attribute cannot be modified.')
AttributeError: This attribute cannot be modified.
I have the latest version from the AUR.
Plasma desktop hides windows of type 'splash' when you click on them and desktop widgets have the type 'splash' as a workaround to remove window decorations.
Installed from AUR. It initially failed to launch due to some dependencies still being stuck in Python 3.9 land. After going through and rebuilding/reinstalling all packages still in 3.9 land, Iโm now getting this KeyError: 'datapath'
error. I noticed that #10 is also a matplotlib
based error, in case they are somehow related.
freso@din ~ (master)> scheduler
Quit
Traceback (most recent call last):
File "/usr/bin/scheduler", line 84, in <module>
from schedulerlib.scheduler import EventScheduler
File "/usr/lib/python3.10/site-packages/schedulerlib/scheduler.py", line 50, in <module>
from schedulerlib.widgets import EventWidget, Timer, TaskWidget, Pomodoro, CalendarWidget
File "/usr/lib/python3.10/site-packages/schedulerlib/widgets/__init__.py", line 25, in <module>
from .pomodoro_widget import Pomodoro
File "/usr/lib/python3.10/site-packages/schedulerlib/widgets/pomodoro_widget.py", line 33, in <module>
from schedulerlib.pomodoro_stats import Stats
File "/usr/lib/python3.10/site-packages/schedulerlib/pomodoro_stats.py", line 34, in <module>
from schedulerlib.navtoolbar import NavigationToolbar
File "/usr/lib/python3.10/site-packages/schedulerlib/navtoolbar.py", line 45, in <module>
class NavigationToolbar(NavigationToolbar2Tk):
File "/usr/lib/python3.10/site-packages/schedulerlib/navtoolbar.py", line 47, in NavigationToolbar
('Home', _('Reset original view'), os.path.join(rcParams['datapath'], 'images', 'home.gif'), 'home'),
File "/usr/lib/python3.10/site-packages/matplotlib/__init__.py", line 674, in __getitem__
return dict.__getitem__(self, key)
KeyError: 'datapath'
freso@din ~ (master) [1]> ls -Ald /usr/lib/python*
drwxr-xr-x 1 root root 14056 Oct 20 15:57 /usr/lib/python2.7
drwxr-xr-x 1 root root 4086 Dec 26 20:37 /usr/lib/python3.10
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.