Code Monkey home page Code Monkey logo

Comments (12)

steveiliop56 avatar steveiliop56 commented on June 12, 2024 1

Ok, so it seems to work now, I didn't get any errors and the AP worked fine. So I am closing the issue although there wasn't exactly a solution. I believe that the error was either in the flask packages or it was interfering with something on my old installation...

from wifipumpkin3.

mh4x0f avatar mh4x0f commented on June 12, 2024 1

great brown, I need to add a patch for fix this, thanks for report this issue.

from wifipumpkin3.

mh4x0f avatar mh4x0f commented on June 12, 2024

check the version of dnslib and dnspython from terminal:
pip3 freeze | grep dns

from wifipumpkin3.

steveiliop56 avatar steveiliop56 commented on June 12, 2024

Ok, here is the result:

dnslib==0.9.23
dnspython==2.0.0

from wifipumpkin3.

mh4x0f avatar mh4x0f commented on June 12, 2024

ok fist, try to install the version dnspython==1.16.0.
sudo pip3 install dnspython==1.16.0

if not working try that:

and try to start again the AP if you got have error maybe the solution is come back the version dnslib to dnslib==0.9.17
sudo pip3 install dnslib==0.9.17

from wifipumpkin3.

steveiliop56 avatar steveiliop56 commented on June 12, 2024

Ok I reinstalled wifi pumpkin (because I needed to reinstall the os on the raspberry pi) and now I am getting and other error imidiately after trying to start it up:

/usr/bin/wifipumpkin3:6: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  from pkg_resources import load_entry_point
Traceback (most recent call last):
  File "/usr/bin/wifipumpkin3", line 11, in <module>
    load_entry_point('wifipumpkin3==1.1.5', 'console_scripts', 'wifipumpkin3')()  File "/usr/local/lib/python3.9/dist-packages/pkg_resources/__init__.py", line
536, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/local/lib/python3.9/dist-packages/pkg_resources/__init__.py", line
2931, in load_entry_point
    return ep.load()
  File "/usr/local/lib/python3.9/dist-packages/pkg_resources/__init__.py", line
2518, in load
    return self.resolve()
  File "/usr/local/lib/python3.9/dist-packages/pkg_resources/__init__.py", line
2524, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3/dist-packages/wifipumpkin3/__main__.py", line 22, in <module>
    from wifipumpkin3.core.servers.rest.application import RestControllerAPI
  File "/usr/lib/python3/dist-packages/wifipumpkin3/core/servers/rest/application.py", line 1, in <module>
    from flask import Flask
  File "/usr/lib/python3/dist-packages/flask/__init__.py", line 14, in <module>
    from jinja2 import escape
ImportError: cannot import name 'escape' from 'jinja2' (/usr/local/lib/python3.9/dist-packages/jinja2/__init__.py)

from wifipumpkin3.

mh4x0f avatar mh4x0f commented on June 12, 2024

try that sudo pip install Flask==2.1.0

from wifipumpkin3.

steveiliop56 avatar steveiliop56 commented on June 12, 2024

And... Error again:

/usr/bin/wifipumpkin3:6: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  from pkg_resources import load_entry_point
Traceback (most recent call last):
  File "/usr/bin/wifipumpkin3", line 11, in <module>
    load_entry_point('wifipumpkin3==1.1.5', 'console_scripts', 'wifipumpkin3')()  File "/usr/local/lib/python3.9/dist-packages/pkg_resources/__init__.py", line
536, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/local/lib/python3.9/dist-packages/pkg_resources/__init__.py", line
2931, in load_entry_point
    return ep.load()
  File "/usr/local/lib/python3.9/dist-packages/pkg_resources/__init__.py", line
2518, in load
    return self.resolve()
  File "/usr/local/lib/python3.9/dist-packages/pkg_resources/__init__.py", line
2524, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3/dist-packages/wifipumpkin3/__main__.py", line 22, in <module>
    from wifipumpkin3.core.servers.rest.application import RestControllerAPI
  File "/usr/lib/python3/dist-packages/wifipumpkin3/core/servers/rest/application.py", line 2, in <module>
    from wifipumpkin3.core.servers.rest.ext import configuration
  File "/usr/lib/python3/dist-packages/wifipumpkin3/core/servers/rest/ext/configuration.py", line 2, in <module>
    from wifipumpkin3.core.servers.rest.blueprints import restapi
  File "/usr/lib/python3/dist-packages/wifipumpkin3/core/servers/rest/blueprints/restapi/__init__.py", line 2, in <module>
    from flask_restful import Resource, Api
  File "/usr/lib/python3/dist-packages/flask_restful/__init__.py", line 14, in <module>
    from flask.helpers import _endpoint_from_view_func
ImportError: cannot import name '_endpoint_from_view_func' from 'flask.helpers'
(/usr/local/lib/python3.9/dist-packages/flask/helpers.py)

from wifipumpkin3.

mh4x0f avatar mh4x0f commented on June 12, 2024

try that sudo pip3 install Flask-RESTful==0.3.9

from wifipumpkin3.

mh4x0f avatar mh4x0f commented on June 12, 2024

@steveiliop56 check the version of dnslib and dnspython from terminal again:
pip3 freeze | grep dns

from wifipumpkin3.

steveiliop56 avatar steveiliop56 commented on June 12, 2024

Yeahh it's kind of hard for me now but I will be able to test it later in the day.....

from wifipumpkin3.

mh4x0f avatar mh4x0f commented on June 12, 2024

i cant reproduce this bug on my environment with the same dependencies installed.

btw, I 'll closed if another user got this bug, maybe the option is repoen and try to replicate again.

from wifipumpkin3.

Related Issues (20)

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.