OPNReport icon indicating copy to clipboard operation
OPNReport copied to clipboard

No module named 'opnsense'

Open nikkova2020 opened this issue 3 years ago • 1 comments

Hi Andy,

We are trying to convert pfsense xml to readable rules, folowed your instrucitons installed everything. when running opn-parse we get this error: from opnsense import OpnSenseDocument ModuleNotFoundError: No module named 'opnsense' Can you please help? Thank you!

nikkova2020 avatar Jul 27 '22 15:07 nikkova2020

Try to replace

from opnsense import OpnSenseDocument

with

from opnreport.opnsense import OpnSenseDocument

jhuesser avatar Apr 23 '25 13:04 jhuesser