volatilityfoundation / volatility3

Volatility 3.0 development
http://volatilityfoundation.org/
Other
2.52k stars 435 forks source link

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

Open m0majdalawi opened 3 months ago

m0majdalawi commented 3 months ago

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 commented 3 months ago

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.