allsky: Overlay crash

Environment

  • Camera: ZWO ASI224MC
  • OS: (Buster or Bullseye) (?)
  • Allsky version: *** Allsky Camera Software Version v2022.MM.DD_tbd *** (dev branch)
  • Pi model and amount of memory: Pi 4V 8gB

Bug Description

  • Include a clear and concise description of what the bug is :Started to fail overlay with no changes made in many days
  • Can it be reproduced? Keeps ongoing
  • Did anything change? Any settings? Absolutely nothing
  • Please include the exact messages or a screenshot. n/a
  • If this is a configuration-related issue (or you are not sure), attach these files, appending “.txt” to their names first: n/a
    • Allsky Website problems: n/a

Log / configuration files

Follow the instructions for Reporting Issues in the Wiki, then ATTACH a copy of the file(s) above. Do NOT copy/paste them into this Issue. allsky.log.zip

Relevant section (IMO):

Mar  8 01:02:00 CGallsky allsky.sh[2738]: INFO: Attempting to load allsky_overlay
Mar  8 01:02:00 CGallsky allsky.sh[2738]: INFO: Config file set to /home/pi/allsky/config/overlay.json
Mar  8 01:02:00 CGallsky allsky.sh[2738]: INFO: Loading Config took 0.000882 Seconds. Elapsed Time 0.000913 Seconds.
Mar  8 01:02:00 CGallsky allsky.sh[2738]: INFO: Adding Moon Azimuth 186°
Mar  8 01:02:00 CGallsky allsky.sh[2738]: INFO: Adding Moon Elevation 44.19°
Mar  8 01:02:00 CGallsky allsky.sh[2738]: INFO: Adding Moon Illumination 99.66
Mar  8 01:02:00 CGallsky allsky.sh[2738]: INFO: Adding Moon Symbol N
Mar  8 01:02:00 CGallsky allsky.sh[2738]: INFO: Initialising The Moon took 0.003322 Seconds. Elapsed Time 0.004249 Seconds.
Mar  8 01:02:00 CGallsky allsky.sh[2738]: Traceback (most recent call last):
Mar  8 01:02:00 CGallsky allsky.sh[2738]:   File "/home/pi/allsky/scripts/flow-runner.py", line 174, in <module>
Mar  8 01:02:00 CGallsky allsky.sh[2738]:     result = globals()[method](arguments, shared.args.event)
Mar  8 01:02:00 CGallsky allsky.sh[2738]:   File "/home/pi/allsky/scripts/modules/allsky_overlay.py", line 1064, in overlay
Mar  8 01:02:00 CGallsky allsky.sh[2738]:     annotater.annotate()
Mar  8 01:02:00 CGallsky allsky.sh[2738]:   File "/home/pi/allsky/scripts/modules/allsky_overlay.py", line 1037, in annotate
Mar  8 01:02:00 CGallsky allsky.sh[2738]:     if self._initialiseSun():
Mar  8 01:02:00 CGallsky allsky.sh[2738]:   File "/home/pi/allsky/scripts/modules/allsky_overlay.py", line 861, in _initialiseSun
Mar  8 01:02:00 CGallsky allsky.sh[2738]:     times, events = almanac.find_discrete(t0, t1, f)
Mar  8 01:02:00 CGallsky allsky.sh[2738]:   File "/home/pi/.local/lib/python3.9/site-packages/skyfield/searchlib.py", line 44, in find_discrete
Mar  8 01:02:00 CGallsky allsky.sh[2738]:     return _find_discrete(ts, jd, f, epsilon, num)
Mar  8 01:02:00 CGallsky allsky.sh[2738]:   File "/home/pi/.local/lib/python3.9/site-packages/skyfield/searchlib.py", line 56, in _find_discrete
Mar  8 01:02:00 CGallsky allsky.sh[2738]:     y = f(t)
Mar  8 01:02:00 CGallsky allsky.sh[2738]:   File "/home/pi/.local/lib/python3.9/site-packages/skyfield/almanac.py", line 269, in is_it_dark_twilight_day_at
Mar  8 01:02:00 CGallsky allsky.sh[2738]:     degrees = topos_at(t).observe(sun).apparent().altaz()[0].degrees
Mar  8 01:02:00 CGallsky allsky.sh[2738]:   File "/home/pi/.local/lib/python3.9/site-packages/skyfield/vectorlib.py", line 92, in at
Mar  8 01:02:00 CGallsky allsky.sh[2738]:     p, v, gcrs_position, message = self._at(t)
Mar  8 01:02:00 CGallsky allsky.sh[2738]:   File "/home/pi/.local/lib/python3.9/site-packages/skyfield/vectorlib.py", line 216, in _at
Mar  8 01:02:00 CGallsky allsky.sh[2738]:     p2, v2, _, message = vf._at(t)
Mar  8 01:02:00 CGallsky allsky.sh[2738]:   File "/home/pi/.local/lib/python3.9/site-packages/skyfield/jpllib.py", line 218, in _at
Mar  8 01:02:00 CGallsky allsky.sh[2738]:     position, velocity = segment.compute_and_differentiate(
Mar  8 01:02:00 CGallsky allsky.sh[2738]:   File "/home/pi/.local/lib/python3.9/site-packages/jplephem/spk.py", line 159, in compute_and_differentiate
Mar  8 01:02:00 CGallsky allsky.sh[2738]:     return tuple(self.generate(tdb, tdb2))
Mar  8 01:02:00 CGallsky allsky.sh[2738]:   File "/home/pi/.local/lib/python3.9/site-packages/jplephem/spk.py", line 209, in generate
Mar  8 01:02:00 CGallsky allsky.sh[2738]:     init, intlen, coefficients = self._data
Mar  8 01:02:00 CGallsky allsky.sh[2738]:   File "/home/pi/.local/lib/python3.9/site-packages/jplephem/descriptorlib.py", line 12, in __get__
Mar  8 01:02:00 CGallsky allsky.sh[2738]:     value = self.method(instance)
Mar  8 01:02:00 CGallsky allsky.sh[2738]:   File "/home/pi/.local/lib/python3.9/site-packages/jplephem/spk.py", line 173, in _data
Mar  8 01:02:00 CGallsky allsky.sh[2738]:     init, intlen, rsize, n = self.daf.read_array(self.end_i - 3, self.end_i)
Mar  8 01:02:00 CGallsky allsky.sh[2738]:   File "/home/pi/.local/lib/python3.9/site-packages/jplephem/daf.py", line 147, in read_array
Mar  8 01:02:00 CGallsky allsky.sh[2738]:     return ndarray(length, self.endian + 'd', data)
Mar  8 01:02:00 CGallsky allsky.sh[2738]: TypeError: buffer is too small for requested array

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 18

Most upvoted comments

@ea1ii Alex and I have been having side-conversations about the internal format of DATE fields and the need for users to be able to format them as dates/times.

@ea1ii I’m pretty sure this was fixed a while ago. Please install the newest “dev” release. I suggest installing new “dev” releases any time you have a problem as we’re fixing a lot of bugs. If you still have a problem after re-installing, please report it. Thanks - Eric