izar / pytm

A Pythonic framework for threat modeling

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AttributeError: 'Datastore' object has no attribute 'authenticatesDestination'

rgacote opened this issue · comments

A clean install from pip Returns this error when generating a report.
The problem is on line 338:
_authenticatesDestination = varBool(False)
which has a leading _ character.

The code is correct in master branch in version control.

Is it possible to get an updated pip installer released?

you can get rid of the problem by declaring this mandatory attribute. My understanding is that attributes that begin with underscore (_) are mandatory.

The error message says the code is looking for 'authenticatesDestination' without the leading underscore. Also, the current source code in GitHub does not have a leading underscore on that attribute.

@izar looks like this has been already fixed, both in master and in latest version published on pypi and can be closed.