Giter Site home page Giter Site logo

Hello. I am getting the following errors while executing the project. How can I fix this? I have set up everything according tp the readme file except etc configuration. I am using macos and pycharm. about autopentest-drl HOT 2 OPEN

crond-jaist avatar crond-jaist commented on August 23, 2024
Hello. I am getting the following errors while executing the project. How can I fix this? I have set up everything according tp the readme file except etc configuration. I am using macos and pycharm.

from autopentest-drl.

Comments (2)

manasvicpatil avatar manasvicpatil commented on August 23, 2024

Also I would like to request that you mention the versions of respective libraries in the requirements.txt file

from autopentest-drl.

manasvicpatil avatar manasvicpatil commented on August 23, 2024

I would like to add an update. I changed the path addresses in some of the lines and now I am getting the following error for logical attack:

AutoPentest-DRL: Compute attack path for logical network...
Traceback (most recent call last):
File "/Users/manasvipatil/AutoPentest-DRL/AutoPentest-DRL.py", line 251, in
start_function(model)
File "/Users/manasvipatil/AutoPentest-DRL/AutoPentest-DRL.py", line 225, in start_function
startTrainCode('logical_attack')
File "/Users/manasvipatil/AutoPentest-DRL/AutoPentest-DRL.py", line 160, in startTrainCode
template = env.get_template(LOGICAL_ATTACK_TOPOLOGY)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/lib/python3.11/site-packages/jinja2/environment.py", line 997, in get_template
return self._load_template(name, globals)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/lib/python3.11/site-packages/jinja2/environment.py", line 958, in _load_template
template = self.loader.load(self, name, self.make_globals(globals))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/lib/python3.11/site-packages/jinja2/loaders.py", line 125, in load
source, filename, uptodate = self.get_source(environment, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/lib/python3.11/site-packages/jinja2/loaders.py", line 214, in get_source
raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: /Users/manasvipatil/AutoPentest-DRL/MulVAL_P/logical_topology_1.P

The error for real attack hasn't changed.

from autopentest-drl.

Related Issues (19)

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.