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

No such file or directory #2

Closed
voelspriet opened this issue May 5, 2023 · 6 comments
Closed

No such file or directory #2

voelspriet opened this issue May 5, 2023 · 6 comments

Comments

@voelspriet
Copy link

voelspriet commented May 5, 2023

Have this in directory
~/DetectDee# ls
LICENSE README.md README_ZH.md cmd data.json exit go.mod go.sum main.go site.md t.json utils
-rw-r--r-- 1 root root 11357 May 5 13:23 LICENSE
-rw-r--r-- 1 root root 2459 May 5 13:23 README.md
-rw-r--r-- 1 root root 2229 May 5 13:23 README_ZH.md
drwxr-xr-x 2 root root 4096 May 5 13:23 cmd
-rw-r--r-- 1 root root 58044 May 5 13:23 data.json
-rw-r--r-- 1 root root 0 May 5 13:38 exit
-rw-r--r-- 1 root root 454 May 5 13:26 go.mod
-rw-r--r-- 1 root root 3650 May 5 13:26 go.sum
-rw-r--r-- 1 root root 456 May 5 13:23 main.go
-rw-r--r-- 1 root root 9387 May 5 13:23 site.md
-rw-r--r-- 1 root root 720 May 5 13:23 t.json
drwxr-xr-x 2 root root 4096 May 5 13:23 utils

When I do ./DetectDee detect -n piaolin

I get

-bash: ./DetectDee: No such file or directory

@piaolin
Copy link
Owner

piaolin commented May 5, 2023

Please download the executable file from https://github.com/piaolin/DetectDee/releases/latest.

It is also recommended that run update after the download to to get the latest site data.

./DetectDee update

@voelspriet
Copy link
Author

I did/
root@fervent-merkle:# cd DetectDee-1.1.550
root@fervent-merkle:
/DetectDee-1.1.550# python3 demo.py
python3: can't open file '/root/DetectDee-1.1.550/demo.py': [Errno 2] No such file or directory
root@fervent-merkle:~/DetectDee-1.1.550#

and
-bash: ./DetectDee: No such file or directory
root@fervent-merkle:~/DetectDee-1.1.550#
and

LICENSE README.md README_ZH.md cmd data.json go.mod go.sum main.go site.md t.json utils
root@fervent-merkle:/DetectDee-1.1.550# ./DetectDee detect -n piaolin
-bash: ./DetectDee: No such file or directory
root@fervent-merkle:
/DetectDee-1.1.550#

@piaolin
Copy link
Owner

piaolin commented May 5, 2023

Please download the executable file from DetectDee_linux_amd64.zip or DetectDee_darwin_amd64.zip, not source code.

@voelspriet
Copy link
Author

Running Ubuntu

@voelspriet
Copy link
Author

voelspriet commented May 5, 2023

still not working.

root@fervent-merkle:/downloads# ls
root@fervent-merkle:
/downloads# wget https://github.com/piaolin/DetectDee/releases/download/v1.1.550/DetectDee_darwin_amd64.zip

DetectDee_darwin_amd64.zip 100%[========================================================================>] 3.12M --.-KB/s in 0.05s

2023-05-05 14:56:45 (63.1 MB/s) - 'DetectDee_darwin_amd64.zip' saved [3274691/3274691]

root@fervent-merkle:/downloads# unzip DetectDee_darwin_amd64.zip
Archive: DetectDee_darwin_amd64.zip
inflating: data.json
inflating: DetectDee
root@fervent-merkle:
/downloads# ls
DetectDee DetectDee_darwin_amd64.zip data.json
root@fervent-merkle:/downloads# cd DetectDee
-bash: cd: DetectDee: Not a directory
root@fervent-merkle:
/downloads#

@piaolin
Copy link
Owner

piaolin commented May 6, 2023

Please run the following command:

# Download DetectDee_linux_amd64.zip
wget https://github.com/piaolin/DetectDee/releases/download/v1.1.550/DetectDee_linux_amd64.zip
unzip -d DetectDee DetectDee_linux_amd64.zip
cd DetectDee

# run
chmod +x ./DetectDee
./DetectDee update
./DetectDee detect -n {username}

@piaolin piaolin closed this as completed May 6, 2023
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