You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to create an aff4 container using the following command: python aff4.py -c container.aff4 source_file
I had the following error:
Creating AFF4Container: file://container.aff4 <aff4://64ec2613-a8cf-4c52-8866-f8d1570f8634>
Adding: source_file
Traceback (most recent call last):
File "pyaff4\aff4.py", line 496, in <module>
main(sys.argv)
File "pyaff4\aff4.py", line 474, in main
addPathNames(dest, args.srcFiles, args.recursive, args.append, args.hash, args.password)
File "pyaff4\aff4.py", line 319, in addPathNames
addPathNamesToVolume(resolver, volume, pathnames, recursive, hashbased)
File "pyaff4\aff4.py", line 296, in addPathNamesToVolume
fsmeta.store(resolver)
File "C:\Users\Tim\Documents\Projets\Test\AFF4\pyaff4\pyaff4\logical.py", line 130, in store
resolver.Set(resolver.urn, self.urn, rdfvalue.URN(lexicon.AFF4_STREAM_SIZE), rdfvalue.XSDInteger(self.length))
AttributeError: 'MemoryDataStore' object has no attribute 'urn'
I'm running python27 on a Windows machine. I had the same issue with python37.
I fixed the problem by changing the following lines in pyaff4/logical.py (l.130 to 133):
Hello,
I tried to create an aff4 container using the following command:
python aff4.py -c container.aff4 source_file
I had the following error:
I'm running python27 on a Windows machine. I had the same issue with python37.
I fixed the problem by changing the following lines in pyaff4/logical.py (l.130 to 133):
Changed to:
I'm not very familiar with bug correction so let me know if you want me to send a pull request!
The text was updated successfully, but these errors were encountered: