volatility3 icon indicating copy to clipboard operation
volatility3 copied to clipboard

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

Open m0majdalawi opened this issue 1 year ago • 1 comments

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'

m0majdalawi avatar May 21 '24 07:05 m0majdalawi

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.

ikelos avatar May 21 '24 08:05 ikelos

This issue is stale because it has been open for 200 days with no activity.

github-actions[bot] avatar Dec 08 '24 02:12 github-actions[bot]

This issue was closed because it has been inactive for 60 days since being marked as stale.

github-actions[bot] avatar Feb 07 '25 02:02 github-actions[bot]