Coder Social home page Coder Social logo

Comments (7)

ismailsamatar avatar ismailsamatar commented on June 19, 2024

Traceback (most recent call last):
File "/mnt/c/Users/isamatar/Desktop/firewall_migration_tool-main/resources/parser.py", line 22, in main_parser
output.policy
File "/mnt/c/Users/isamatar/Desktop/firewall_migration_tool-main/resources/src_vendor/palo/palo_config_coverter.py", line 179, in policy
palo_policy(self.cfg_file, self.vendor)
File "/mnt/c/Users/isamatar/Desktop/firewall_migration_tool-main/resources/src_vendor/palo/palo_policy_convert.py", line 53, in palo_policy
os.remove(f'configs/{file}')
PermissionError: [Errno 13] Permission denied: 'configs/test1.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.6/dist-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "app.py", line 74, in main
result = main_parser(action, filename, src_vendor, dst_vendor, acts)
File "/mnt/c/Users/isamatar/Desktop/firewall_migration_tool-main/resources/parser.py", line 51, in main_parser
os.remove(f'configs/{cfg}')

from firewall_migration_tool.

VahidTa avatar VahidTa commented on June 19, 2024

Hi @ismailsamatar ,

Thank you for using this package.

Please verify that you are using root privilege user to run the project. Also, please verify if /config path has write access for your user. Let me know if it helped you or not.

from firewall_migration_tool.

ismailsamatar avatar ismailsamatar commented on June 19, 2024

Hi Vahid,

what version of paloalto code is supported in this tool ?

from firewall_migration_tool.

VahidTa avatar VahidTa commented on June 19, 2024

Hi @ismailsamatar ,

Does your first issue resolved?

I checked it with PanOS 10.0. Do you have any issue? Please share it.

from firewall_migration_tool.

ismailsamatar avatar ismailsamatar commented on June 19, 2024

from firewall_migration_tool.

VahidTa avatar VahidTa commented on June 19, 2024

Please verify that your exported config is based on https://fwmig.readthedocs.io/en/latest/palo.html .

from firewall_migration_tool.

VahidTa avatar VahidTa commented on June 19, 2024

As first issue resolved and discussion not continued, I will close this issue. Please open new one if there is an issue.

from firewall_migration_tool.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.