Giter VIP home page Giter VIP logo

scheduler's People

Contributors

j4321 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

blacklotus

scheduler's Issues

ImportError get_backend

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)

Crashes when trying to update date

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.

Widgets disappear when clicked in Plasma

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.

`KeyError: 'datapath'` when trying to run

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.