KenKundert / borg-space

Accessory for Emborg used to report and track the size of your Borg repositories
GNU General Public License v3.0
4 stars 1 forks source link

New version stopped working #4

Closed adhawkins closed 2 years ago

adhawkins commented 2 years ago

When I try to use the new version, I'm getting an error:

xcp-alpine-test:~# emborg --version
1.27.0 (2021-09-21)
xcp-alpine-test:~# borg-space luned
Traceback (most recent call last):
  File "/usr/bin/borg-space", line 173, in <module>
    generate_report(
  File "/usr/bin/borg-space", line 108, in generate_report
    if emborg.version < (1,27) or configs is None:
TypeError: '<' not supported between instances of 'NoneType' and 'tuple'
adhawkins commented 2 years ago

Looks like the 'version' API property was added after v1.27 was released, which is the last tagged version on GitHub.

KenKundert commented 2 years ago

Sorry about that. Please give it another try.

adhawkins commented 2 years ago

Looks good, thanks.