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

TypeError: unsupported operand type(s) for +: 'module' and 'str' #1153

Open
m0majdalawi opened this issue May 21, 2024 · 1 comment
Open

Comments

@m0majdalawi
Copy link

Volatility 3 Framework 2.7.0
INFO volatility3.cli: Volatility plugins path: ['/home/kali/Desktop/volatility3/volatility3/plugins', '/home/kali/Desktop/volatility3/volatility3/framework/plugins']
INFO volatility3.cli: Volatility symbols path: ['/home/kali/Desktop/volatility3/volatility3/symbols', '/home/kali/Desktop/volatility3/volatility3/framework/symbols']
Traceback (most recent call last):
File "/home/kali/Desktop/volatility3/volatility3/framework/init.py", line 130, in import_files
new_module = getattr(new_module, component)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'volatility3.plugins' has no attribute 'linux'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/kali/Desktop/volatility3/vol.py", line 10, in
volatility3.cli.main()
File "/home/kali/Desktop/volatility3/volatility3/cli/init.py", line 871, in main
CommandLine().run()
File "/home/kali/Desktop/volatility3/volatility3/cli/init.py", line 312, in run
failures = framework.import_files(
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kali/Desktop/volatility3/volatility3/framework/init.py", line 132, in import_files
failures += [new_module + "." + component]
~~~~~~~~~~~^~~~~
TypeError: unsupported operand type(s) for +: 'module' and 'str'

@ikelos
Copy link
Member

ikelos commented May 21, 2024

This seems as though volatility hasn't been installed correctly. As you can see here the source respository (and therefore what should be installed) includes a file in the volatility3.plugins.linux directory, so the volatility3.plugins module should have an attribute linux. Please try ensure a complete clone of the repository is present where you're running volatility, or install it using pip install volatility3.

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