Advertisement
Guest User

Untitled

a guest
Nov 13th, 2013
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. Failed to save!
  2. UNHANDLED EXCEPTION (2013-11-13 20:09:39.844263) Working directory: /opt/noc 'str' object has no attribute 'code' START OF TRACEBACK ------------------------------------------------------------------------ File: /opt/noc/inv/models/objectmodel.py (Line: 133) Function: save 126 if "asset" in self.data: 127 part_no = [ 128 self.data["asset"][k] 129 for k in self.data["asset"] 130 if k.startswith("part_no") or k.startswith("order_part_no") 131 ] 132 if part_no: 133 ==> UnknownModel.clear_unknown(self.vendor.code, part_no) 134 135 def get_connection(self, name): 136 for c in self.connections: 137 if c.name == name: 138 return c 139 return None Variables: c = cache = {} args = () part_no = ['ME-3400-24TS-D'] k = 'part_no0' nc = [] collection = Collection(Database(Connection('localhost', 27017), u'noc'), u'noc.inv.objectconnectionscache') cc = s = kwargs = {} self =
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement