ilius/starcal

مشکل در آرچ لینوکس

Closed this issue · 1 comments

$ starcal3
Traceback (most recent call last):
File "/usr/share/starcal3/scal3/ui.py", line 362, in getCell
return self.jdCells[jd]
KeyError: 2458565

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/share/starcal3/scal3/event_search_tree.py", line 165, in searchStep
raise StopIteration
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/share/starcal3/scal3/ui_gtk/starcal.py", line 1075, in
sys.exit(main())
File "/usr/share/starcal3/scal3/ui_gtk/starcal.py", line 1053, in main
ui.init()
File "/usr/share/starcal3/scal3/ui.py", line 533, in init
todayCell = cell = cellCache.getTodayCell() ## FIXME
File "/usr/share/starcal3/scal3/ui.py", line 371, in
getTodayCell = lambda self: self.getCell(core.getCurrentJd())
File "/usr/share/starcal3/scal3/ui.py", line 364, in getCell
return self.buildCell(jd)
File "/usr/share/starcal3/scal3/ui.py", line 373, in buildCell
localCell = Cell(jd)
File "/usr/share/starcal3/scal3/ui.py", line 310, in init
self.eventsData = event_lib.getDayOccurrenceData(jd, eventGroups)## here? FIXME
File "/usr/share/starcal3/scal3/event_lib.py", line 4155, in getDayOccurrenceData
for epoch0, epoch1, eid, odt in group.occur.search(getEpochFromJd(curJd), getEpochFromJd(curJd+1)):
File "/usr/share/starcal3/scal3/event_search_tree.py", line 185, in search
for mt, dt, eid in self.searchStep(self.root, t0, t1):
RuntimeError: generator raised StopIteration

ilius commented

Looks like you are using an old version
Please use version 3.1.1
Or the latest code on master