-
Notifications
You must be signed in to change notification settings - Fork 0
Description
branch testing
i have an old version of the safe.xml file
when i press 'Password' -> 'change Password', then change my password and press 'save', nothing happens.
Exception in Tkinter callback
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py", line 1532, in call
return self.func(*args)
File "/Users/timgroger/git/PasswordSafe/src/gui/ChangeSafeItemWindow.py", line 129, in pressSave
self.editingDomain.executeCmd(SetSecretObjectCmd(self.origModel, self.model))
File "/Users/timgroger/git/PasswordSafe/src/edit/EditingDomain.py", line 34, in executeCmd
self.model.save()
File "/Users/timgroger/git/PasswordSafe/src/model/PasswordSafe.py", line 72, in save
passwordSafeWriter.write(self)
File "/Users/timgroger/git/PasswordSafe/src/model/PasswordSafeWriter.py", line 38, in write
self.writeFile(passwordFile, passwordSafe)
File "/Users/timgroger/git/PasswordSafe/src/model/PasswordSafeWriter.py", line 59, in writeFile
writer.writeSafeItem(doc, i)
File "/Users/timgroger/git/PasswordSafe/src/model/Version2Writer.py", line 28, in writeSafeItem
self.writeSecretObject(doc, safeElement, obj, secretObjectEnum)
File "/Users/timgroger/git/PasswordSafe/src/model/Version2Writer.py", line 33, in writeSecretObject
XmlWriter.setEnumAttribute(secretElement, XmlMapping.type, secretObjectEnum)
File "/Users/timgroger/git/PasswordSafe/src/model/XmlWriter.py", line 37, in setEnumAttribute
element.setAttribute(attributeName, val.name)
AttributeError: 'int' object has no attribute 'name'