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
A TypeError is raised when listing the content of a volume instance of a PreStdLogicalImageContainer. (For instance, calling the printLogicalImageInfo() function in aff4.py. The error I got:
I found the issue is in container.LogicalImageContainer and container.PreStdLogicalImageContainer classes. While the method images() of the first class initialize correctly the LogicalImage instance to be yield:
A TypeError is raised when listing the content of a volume instance of a
PreStdLogicalImageContainer
. (For instance, calling theprintLogicalImageInfo()
function in aff4.py. The error I got:I found the issue is in
container.LogicalImageContainer
andcontainer.PreStdLogicalImageContainer
classes. While the methodimages()
of the first class initialize correctly theLogicalImage
instance to be yield:the method
images()
ofPreStdLogicalImageContainer
class and methodopen()
of both classes missed to pass the container (self
) as first parameter:Initializer of
aff4.LogicalImage
expects the container as first parameter:Just passing
self
as first parameter should solve the issue.(I could prepare a pull request if needed, but I would like to have some guide about branch naming, etc.)
The text was updated successfully, but these errors were encountered: