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

This used to be good, what happened? #177

Open
mvrozanti opened this issue May 24, 2023 · 1 comment
Open

This used to be good, what happened? #177

mvrozanti opened this issue May 24, 2023 · 1 comment

Comments

@mvrozanti
Copy link

mvrozanti commented May 24, 2023

  1. python3 execute.py fails with the following:
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: scapy in /home/m/.local/lib/python3.11/site-packages (2.5.0)
Requirement already satisfied: pyqt5 in /usr/lib/python3.11/site-packages (5.15.9)
ERROR: Could not find a version that satisfies the requirement csv (from versions: none)
ERROR: No matching distribution found for csv

Nevermind the fact that I don't like my scripts trying to install things by themselves, which is not standard; of course running execute.py fails, csv is a built-in module in python, pip cannot install this on latest python versions. Dependencies and their versions should be listed in a separate, requirements.txt file. It's such a basic thing.

  1. Even after modifying execute.py to take out the monstrosity that is the install_prerequisites call, then I come to realize that script in particular calls nothing else, and the program exits with status code zero.

  2. It doesn't stop there: I had the above problems by just running the cloned latest main branch version. After giving up on trying to run the cloned repo, I tried installing it through the AUR on Arch Linux, and I'm baffled that it fails with the following:

Traceback (most recent call last):
  File "/usr/share/fern-wifi-cracker/execute.py", line 101, in <module>
    initialize()
  File "/usr/share/fern-wifi-cracker/execute.py", line 46, in initialize
    create_directory()
  File "/usr/share/fern-wifi-cracker/execute.py", line 88, in create_directory
    os.mkdir('fern-settings')                               # Create permanent settings directory
    ^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: 'fern-settings'

That's also an absolute mess, it will not and should not get permissions to make directories under /usr/share. If there is a need for local setting files, they should be put under ~/.local/share or ~/.cache or whatever. That's also such a basic thing.

I don't know what else could be wrong, but I'm just disappointed. This used to be such a neat little tool, and it's a mess now. I can't even see if there's a way to run this thing. Why does it have to be so painful? Has anyone managed to resucitate this project?

EDIT: I just noticed the only other branch in this repo has a single "wiki" file. You can't get the instructions to run this thing right, why bother with a wiki, and why the hell is the wiki in another branch? What is going on

@savio-code
Copy link
Owner

Please try the new commit.. there was an error in execute,py

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

2 participants