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
TASK [test_panos_custom_url_category - Create] *********************************
824
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: NameError: name 'PanDeviceError' is not defined
825
fatal: [panos-81]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/tmp/ansible_panos_custom_url_category_payload_xwwoh4bh/ansible_panos_custom_url_category_payload.zip/ansible_collections/paloaltonetworks/panos/plugins/modules/panos_custom_url_category.py\", line 127, in main\nNameError: name 'CustomUrlCategory' is not defined\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/runner/.ansible/tmp/ansible-tmp-1602779903.0320835-7897-179206218921119/AnsiballZ_panos_custom_url_category.py\", line 102, in <module>\n _ansiballz_main()\n File \"/home/runner/.ansible/tmp/ansible-tmp-1602779903.0320835-7897-179206218921119/AnsiballZ_panos_custom_url_category.py\", line 94, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/home/runner/.ansible/tmp/ansible-tmp-1602779903.0320835-7897-179206218921119/AnsiballZ_panos_custom_url_category.py\", line 40, in invoke_module\n runpy.run_module(mod_name='ansible_collections.paloaltonetworks.panos.plugins.modules.panos_custom_url_category', init_globals=None, run_name='__main__', alter_sys=True)\n File \"/opt/hostedtoolcache/Python/3.9.0/x64/lib/python3.9/runpy.py\", line 210, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File \"/opt/hostedtoolcache/Python/3.9.0/x64/lib/python3.9/runpy.py\", line 97, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File \"/opt/hostedtoolcache/Python/3.9.0/x64/lib/python3.9/runpy.py\", line 87, in _run_code\n exec(code, run_globals)\n File \"/tmp/ansible_panos_custom_url_category_payload_xwwoh4bh/ansible_panos_custom_url_category_payload.zip/ansible_collections/paloaltonetworks/panos/plugins/modules/panos_custom_url_category.py\", line 139, in <module>\n File \"/tmp/ansible_panos_custom_url_category_payload_xwwoh4bh/ansible_panos_custom_url_category_payload.zip/ansible_collections/paloaltonetworks/panos/plugins/modules/panos_custom_url_category.py\", line 128, in main\nNameError: name 'PanDeviceError' is not defined\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
Your Environment
Collection version: 2.1.0
Python: 3.9.0
Ansible: 2.9.14
PAN-OS Python library: pandevice 0.14.0
The text was updated successfully, but these errors were encountered:
## [2.2.0](v2.1.0...v2.2.0) (2020-10-30)
### Features
* **panos_object_facts:** Support applications and application groups ([8d9c138](8d9c138))
* **panos_software:** Only download when actually needed ([4728be7](4728be7))
### Bug Fixes
* **panos_custom_url_category:** Don't use type parameter ([#147](#147)) ([f84379f](f84379f)), closes [#143](#143)
* **panos_custom_url_category:** Fix imports for pandevice ([#145](#145)) ([b268787](b268787)), closes [#142](#142)
* **panos_custom_url_category:** Set type only on PAN-OS 9.0+ ([e94c04a](e94c04a))
Describe the bug
Python import error with
pandevice
.Expected behavior
Shouldn't throw an exception.
Current behavior
Your Environment
The text was updated successfully, but these errors were encountered: