Adhrit icon indicating copy to clipboard operation
Adhrit copied to clipboard

Mac OS error

Open Teicu opened this issue 4 years ago • 5 comments

Hi all

any help to solve this issue please?

Thank you

Traceback (most recent call last): File "adhrit.py", line 17, in from recons.smarser.parser import parser File "/Users/x/Adhrit/recons/smarser/parser.py", line 4, in from smalisca.core.smalisca_main import SmaliscaApp File "/usr/local/lib/python3.7/site-packages/smalisca/core/smalisca_main.py", line 39, in from smalisca.controller.controller_base import BaseController File "/usr/local/lib/python3.7/site-packages/smalisca/controller/controller_base.py", line 40, in class BaseController(controller.CementBaseController): AttributeError: module 'cement.core.controller' has no attribute 'CementBaseController'

Teicu avatar Jan 10 '20 14:01 Teicu

Hi @Teicu

Thanks for reporting the issue. This is an error with the Cement library which has been giving everyone a hard time. We're trying to find a permanent solution for this. But meanwhile, you can downgrade the Cement version and try (this has helped previously). For help, refer to the installer.py file and the previously reported issues.

Regards

abhi-r3v0 avatar Jan 11 '20 16:01 abhi-r3v0

Hi mate

thank you for your answer.

I have already installed cement 2.10.12 and deleted all others version, but seems useless. I get the same error :(

[+] Installation of Android tools complete [+] Installed PrettyTable [+] Installed requests [+] Installed progressbar2 [+] Installed colorama [+] Installed urllib3 [+] Installed Jinja2 [+] Installed r2pipe [+] Installed smalisca [+] Installed cement==2.10.12

Teicu avatar Jan 13 '20 08:01 Teicu

[+] Installation of Android tools complete [+] Installed PrettyTable [+] Installed requests [+] Installed progressbar2 [+] Installed colorama [+] Installed urllib3 [+] Installed Jinja2 [+] Installed r2pipe [+] Installed smalisca [+] Installed cement==2.10.12

[+] Installation of MacOS dependencies complete. Check with 'python3 adhrit.py -h' Pentest@x Adhrit % python3 adhrit.py -h Traceback (most recent call last): File "adhrit.py", line 17, in from recons.smarser.parser import parser File "/Users/x/Adhrit/recons/smarser/parser.py", line 4, in from smalisca.core.smalisca_main import SmaliscaApp File "/usr/local/lib/python3.7/site-packages/smalisca/core/smalisca_main.py", line 38, in from smalisca.core.smalisca_logging import log File "/usr/local/lib/python3.7/site-packages/smalisca/core/smalisca_logging.py", line 36, in from cement.ext.ext_logging import LoggingLogHandler ModuleNotFoundError: No module named 'cement'

Teicu avatar Jan 13 '20 08:01 Teicu

Pentest@x Adhrit % sudo pip install cement==2.10.12

Requirement already satisfied: cement==2.10.12 in /Library/Python/3.7/site-packages (2.10.12)

so wtf

Teicu avatar Jan 13 '20 08:01 Teicu

Try this manually

pip install cement==2.10.2

or

pip3 install cement==2.10.2 (if you are using pip3 for python3)

PSNAppz avatar Jan 13 '20 09:01 PSNAppz