gpstime().now().gps() failing in 0.4.4
On both SL7 and Debian buster platforms, on both Python2 and Python3, the command to get current time in GPS seconds is failing in the same way
controls@x2work3:~$ python3
Python 3.7.3 (default, Jul 25 2020, 13:03:44)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from gpstime import gpstime
>>> gpstime().now().gps()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3/dist-packages/gpstime/__init__.py", line 129, in __new__
return datetime.__new__(cls, *args)
TypeError: function missing required argument 'year' (pos 1)
>>>
on buster it is 0.4.4-1
controls@x2work3:~$ dpkg -s python3-gpstime
Package: python3-gpstime
Status: install ok installed
Priority: optional
Section: python
Installed-Size: 40
Maintainer: Jameson Graef Rollins <jameson.rollins@ligo.org>
Architecture: all
Source: gpstime
Version: 0.4.4-1
Depends: python3-dateutil, python3-requests, python3:any
Description: GPS-aware Python3 datetime module
Provides a gpstime class that extends the built-in datetime class to
include GPS time conversion methods.
.
Python3 support.
Homepage: https://git.ligo.org/cds/gpstime
Edited by Keith Thorne