You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The navpgdump command does not work on Python 3 when invoked with any exclusion argument.
To Reproduce
Steps to reproduce the behavior:
Run e.g. navpgdump --only-open-arp
See error
Expected behavior
A proper dump should be produced, without errors.
Environment (please complete the following information):
NAV version installed: 5.0.2
Traceback
Traceback (most recent call last):
File "/usr/bin/navpgdump", line 3, in <module>
main()
File "/opt/venvs/nav/lib/python3.5/site-packages/nav/pgdump.py", line 46, in main
excluded =set(opts.exclude + opts.filters.keys())
TypeError: can only concatenate list (not "dict_keys") to list
The text was updated successfully, but these errors were encountered:
lunkwill42
changed the title
[BUG] navpgdump crashes with TypeError on Python 3
[BUG] navpgdump crashes with TypeError on Python 3 if exclusion arguments are provided
Dec 16, 2019
lunkwill42
changed the title
[BUG] navpgdump crashes with TypeError on Python 3 if exclusion arguments are provided
[BUG] navpgdump crashes with TypeError on Python 3 if exclusion options are provided
Dec 16, 2019
Describe the bug
The
navpgdump
command does not work on Python 3 when invoked with any exclusion argument.To Reproduce
Steps to reproduce the behavior:
navpgdump --only-open-arp
Expected behavior
A proper dump should be produced, without errors.
Environment (please complete the following information):
Traceback
The text was updated successfully, but these errors were encountered: