SpacehuhnTech / esp8266_deauther

Affordable WiFi hacking platform for testing and learning

Home Page:http://deauther.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compilation Error

cmdexploit opened this issue Β· comments

Have you searched for existing (open and closed) issues describing the same problem?

Yes

Describe the error
An unexpected error occurred during compilation process...

What do you think causes it?
I don't know

Error/Compile/Output Log

fork/exec /Users/santhoshkumar/Library/Arduino15/packages/deauther/tools/python3/3.7.2-post1/python3: no such file or directory

Compilation error: fork/exec /Users/santhoshkumar/Library/Arduino15/packages/deauther/tools/python3/3.7.2-post1/python3: no such file or directory

Environment (please complete the following information):

  • OS: [Mac OS]
  • Browser [safari]
  • Version [2.7.4]
  • Hardware [node MCU ESP8266]

Attempts
What have you already tried and didn't work out.

Additional context
Provide as much information as possible, better too much than too little!
If you don't use this template, your issue might be closed and tagged invalid!
Screenshot 2023-07-26 at 9 00 54 PM

Congrats on opening your first issue on this repository! πŸŽ‰
This is a automated message to help you avoid common pitfalls when asking for help online.
πŸ‘‰ Be sure to:
* πŸ‡¬πŸ‡§ Communicate in English so everybody can understand you
* πŸ“– Have a look at the Wiki and README for information
* πŸ” Search for similar issues (open and closed)
* ✍️ Provide enough information to understand, recreate and help out with your problem
* ℹ️ Let us know if you find a solution and please share it with us
* πŸ“• Close the issue when your problem has been solved

I'm pretty sure this is a pathing issue in macOS; probably because of a Homebrew python3 install. I was able to successfully compile and upload the sketch by removing the custom board's python3 symbolic link and then creating a new one pointing to my Python3 installation.

Find your systems installation of Python 3:

iroh@shaw ~ % which python3
/opt/homebrew/opt/python@3.10/libexec/bin/python3

Remove the current symbolic link:

iroh@shaw ~ % cd /Users/iroh/Library/Arduino15/packages/deauther/tools/python3/3.7.2-post1
iroh@shaw 3.7.2-post1 % rm -rf python3

Recreate the python3 link and point it to our installation

iroh@shaw 3.7.2-post1 % ln -s /opt/homebrew/opt/python@3.10/libexec/bin/python3 python3

This should be the result:

iroh@shaw 3.7.2-post1 % ls -lah
total 0
drwxr-xr-x@ 4 iroh  staff   128B Jan 11 16:09 .
drwxr-xr-x@ 4 iroh  staff   128B Jan 11 16:08 ..
-rw-r--r--@ 1 iroh  staff     0B Jan 11 16:01 placeholder_for_arduino
lrwxr-xr-x  1 iroh  staff    49B Jan 11 16:09 python3 -> /opt/homebrew/opt/python@3.10/libexec/bin/python3

After doing the above, try compiling again and see if that helps.