- edited description
AttributeError: 'datetime.timezone' object has no attribute 'localize'
That was a pytest on stable
File "/home/user/MASTER/mss/mslib/msui/remotesensing_dockwidget.py", line 130, in update_settings
self.view.set_remote_sensing_appearance(settings)
File "/home/user/MASTER/mss/mslib/msui/mpl_qtwidget.py", line 1198, in set_remote_sensing_appearance
self.waypoints_interactor.redraw_path()
File "/home/user/MASTER/mss/mslib/msui/mpl_pathinteractor.py", line 1034, in redraw_path
self.map, wp_vertices, wp_heights, wp_times, self.show_solar_angle)
File "/home/user/MASTER/mss/mslib/msui/remotesensing_dockwidget.py", line 235, in compute_solar_lines
sol_azi, sol_ele = self.compute_body_angle(body, times[i], p0[0], p0[1])
File "/home/user/MASTER/mss/mslib/msui/remotesensing_dockwidget.py", line 111, in compute_body_angle
t = self.timescale.utc(utc.localize(jsec_to_datetime(jsec)))
AttributeError: 'datetime.timezone' object has no attribute 'localize'
Comments (9)
-
reporter -
reporter this seems a problem in skyfield == 1.24
1.23 works
-
reporter -
reporter I will adjust the meta file for now
-
reporter - changed status to resolved
Merged in ReimarBauer/mss/meta (pull request #848)
new fixation for skyfield, fixes
#568→ <<cset 85195e59c6c0>>
-
reporter - changed status to open
we should do the better fix, as described on
https://github.com/skyfielders/python-skyfield/issues/413#issuecomment-663537486
-
reporter - changed milestone to 1.9.5
-
reporter -
assigned issue to
-
assigned issue to
-
reporter - changed status to resolved
at fd3e6e0
- Log in to comment