Bug 12512 - location verify errors out
Summary: location verify errors out
Status: CLOSED FIXED
Alias: None
Product: Location Database
Classification: Unclassified
Component: libloc (show other bugs)
Version: unspecified
Hardware: unspecified Unspecified
: Will only affect a few users Crash
Assignee: Michael Tremer
QA Contact: Peter Müller
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-27 20:21 UTC by paul
Modified: 2021-05-16 19:52 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description paul 2020-10-27 20:21:28 UTC
According to the man page, https://man-pages.ipfire.org/libloc/location.html
the command "location verify" should work w/o any parameters. 

[root@ip151 ~]# location verify
Traceback (most recent call last):
  File "/usr/bin/location", line 618, in <module>
    main()
  File "/usr/bin/location", line 616, in main
    c.run()
  File "/usr/bin/location", line 222, in run
    ret = args.func(db, args)
TypeError: handle_verify() takes 2 positional arguments but 3 were given
Comment 1 Michael Tremer 2020-10-28 09:54:23 UTC
Thank you for letting me know. It's fixed:

> https://git.ipfire.org/?p=location/libloc.git;a=commitdiff;h=e99a72265c1ba2194b61663eda7e9f14e0083016
Comment 2 Peter Müller 2021-05-16 19:52:11 UTC
This was fixed in libloc 0.9.6, which has been released with Core Update 156.

https://blog.ipfire.org/post/ipfire-2-25-core-update-156-released