Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fake AP creation: AttributeError: main_app instance has no attribute 'self' #18

Open
noraj opened this issue Jan 25, 2019 · 0 comments
Open

Comments

@noraj
Copy link

noraj commented Jan 25, 2019

Error while creating a fake AP:

127.0.0.1 - - [25/Jan/2019 19:06:00] "GET /api/hidden/0 HTTP/1.1" 200 -
[2019-01-25 19:06:01,703] ERROR in app: Exception on /api/fakeap [POST]
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 2292, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1815, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1718, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "run.py", line 150, in fakeap
    self.fake_ap = APCreate(self.self.scan_iface, options['enc'], options['ssid'], options['password'])
AttributeError: main_app instance has no attribute 'self'
127.0.0.1 - - [25/Jan/2019 19:06:01] "POST /api/fakeap HTTP/1.1" 500 -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant