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

Error while execute the script #23

Open
cafeitduong opened this issue Aug 22, 2018 · 9 comments
Open

Error while execute the script #23

cafeitduong opened this issue Aug 22, 2018 · 9 comments

Comments

@cafeitduong
Copy link

Hello,

Thanks for releasing new version, the older one is not working recently.
However, I've followed the installation guideline with below steps:

  1. Git clone the latest repos
  2. Update the requirement.txt with (lxml, requests, argparse, json, re), looks like it's missing in code
  3. pip3 install -r requirements
  4. Execute the sample command: python3 gitminer-v2.0.py -q 'filename:wp-config extension:php FTP_HOST in:file ' -m wordpress -c <my_cookies>
    5 Got below error message:
    Traceback (most recent call last): File "gitminer-v2.0.py", line 11, in <module> from core.Parser import Parser File "/home/scumblr/GitMiner/core/Parser.py", line 6, in <module> from core.sendRequest import requestPage File "/home/scumblr/GitMiner/core/sendRequest.py", line 3, in <module> from core import Parser ImportError: cannot import name 'Parser'

Please help me, am I missing something?

Thanks.

@danilovazb
Copy link
Collaborator

Hi, please, remove and clone again

@cafeitduong
Copy link
Author

Hi,

Still have the same error after remove and clone.

@danilovazb
Copy link
Collaborator

what is your OS?

@cafeitduong
Copy link
Author

It is: Ubuntu 14.04.3 LTS (GNU/Linux 3.19.0-25-generic x86_64)

@icxcoffee
Copy link

Me too,My OS is centos_7.

@icxcoffee
Copy link

This problem may be caused by python34. When I use python35, there is no such problem.

@icxcoffee
Copy link

Using python27 also has this problem.

@cafeitduong
Copy link
Author

I see let me try to use python35. Thanks!

@tanphamit4vn
Copy link

tanphamit4vn commented Jun 13, 2019

Hi All,
I have no problem with Ubuntu 16.04 with below python version and pip.

apt install python3.5
apt install python3-pip
Git Clone GitMiner and run install follow the guideline.

Hope this will help.
Thanks

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

4 participants