-
Notifications
You must be signed in to change notification settings - Fork 5
/
log.txt
258 lines (222 loc) · 20.1 KB
/
log.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
'list' object has no attribute 'get'Traceback (most recent call last):
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/execution.py", line 128, in run_node
for r in result:
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1743, in __call__
in_tx, out_tx = self.add_return_tx(data, buy_sell_modifiers)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1406, in add_return_tx
in_tx = self._prov_entry(data, 'entry_date', sellers, purch_info, incoming=True, buy_sell_modifiers=buy_sell_modifiers)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1250, in _prov_entry
if shared_people is None:
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1015, in _add_prov_entry_payment
amnt = get_crom_object(price_info)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/linkedart.py", line 23, in get_crom_object
return data.get('_LOD_OBJECT')
AttributeError: 'list' object has no attribute 'get'
'list' object has no attribute 'get'Traceback (most recent call last):
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/execution.py", line 128, in run_node
for r in result:
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1744, in __call__
in_tx, out_tx = self.add_return_tx(data, buy_sell_modifiers)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1407, in add_return_tx
in_tx = self._prov_entry(data, 'entry_date', sellers, purch_info, shared_people, incoming=True, buy_sell_modifiers=buy_sell_modifiers)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1250, in _prov_entry
if shared_people is None:
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1016, in _add_prov_entry_payment
knoedler_price_part_amnt = get_crom_object(knoedler_price_part)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/linkedart.py", line 23, in get_crom_object
return data.get('_LOD_OBJECT')
AttributeError: 'list' object has no attribute 'get'
'list' object has no attribute 'get'Traceback (most recent call last):
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/execution.py", line 128, in run_node
for r in result:
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1744, in __call__
in_tx, out_tx = self.add_return_tx(data, buy_sell_modifiers)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1407, in add_return_tx
in_tx = self._prov_entry(data, 'entry_date', sellers, purch_info, shared_people, incoming=True, buy_sell_modifiers=buy_sell_modifiers)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1250, in _prov_entry
if shared_people is None:
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1016, in _add_prov_entry_payment
knoedler_price_part_amnt = get_crom_object(knoedler_price_part)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/linkedart.py", line 23, in get_crom_object
return data.get('_LOD_OBJECT')
AttributeError: 'list' object has no attribute 'get'
local variable 'attribute_assignment_id' referenced before assignmentTraceback (most recent call last):
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/execution.py", line 118, in run_node
result = node(input)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 556, in __call__
self.model_artists_with_modifers(data, hmo, attribution_modifiers, attribution_group_types, attribution_group_names)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/provenance/__init__.py", line 645, in model_artists_with_modifers
self.model_object_influence(data, non_artist_assertions, hmo, prod_event, attribution_modifiers, attribution_group_types, attribution_group_names, all_uncertain=uncertain)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/provenance/__init__.py", line 402, in model_object_influence
assignment = vocab.make_multitype_obj(*attrib_assignment_classes, ident=attribute_assignment_id, label=f'Possibly influenced by {person._label}')
UnboundLocalError: local variable 'attribute_assignment_id' referenced before assignment
Can't set 'transferred_title_to' on resource of type 'crm:E8_Acquisition' to '[{'name': 'Max Rosenberg', 'loc': 'Mt. Vernon N.Y.', 'auth_name': 'Rosenberg, Max', 'auth_addr': '102 Summit Ave., Mount Vernon, NY, USA', 'auth_mod': '', 'loc_tgn': {'part_of': '2527522'}}]'Traceback (most recent call last):
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/execution.py", line 128, in run_node
for r in result:
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1746, in __call__
in_tx, out_tx = self.add_return_tx(data, buy_sell_modifiers)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1414, in add_return_tx
out_tx = self._prov_entry(data, 'entry_date', sellers, sale_info, incoming=False, purpose='exchange', buy_sell_modifiers=buy_sell_modifiers)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1380, in _prov_entry
self._add_prov_entry_acquisition(data, tx, from_people, from_agents, to_people, to_agents, date, incoming, purpose=purpose)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1213, in _add_prov_entry_acquisition
if data.get('sale_buyer') :
File "/home/vouidaskis/PycharmProjects/getty/pipeline/venv/lib/python3.8/site-packages/cromulent/model.py", line 771, in __setattr__
ok = self._check_prop(which, value)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/venv/lib/python3.8/site-packages/cromulent/model.py", line 809, in _check_prop
raise DataError("Can't set '%s' on resource of type '%s' to '%r'" % (which, self._type, value), self)
cromulent.model.DataError: Can't set 'transferred_title_to' on resource of type 'crm:E8_Acquisition' to '[{'name': 'Max Rosenberg', 'loc': 'Mt. Vernon N.Y.', 'auth_name': 'Rosenberg, Max', 'auth_addr': '102 Summit Ave., Mount Vernon, NY, USA', 'auth_mod': '', 'loc_tgn': {'part_of': '2527522'}}]'
Can't set 'transferred_title_to' on resource of type 'crm:E8_Acquisition' to '{'name': 'Max Rosenberg', 'loc': 'Mt. Vernon N.Y.', 'auth_name': 'Rosenberg, Max', 'auth_addr': '102 Summit Ave., Mount Vernon, NY, USA', 'auth_mod': '', 'loc_tgn': {'part_of': '2527522'}}'Traceback (most recent call last):
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/execution.py", line 128, in run_node
for r in result:
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1746, in __call__
in_tx, out_tx = self.add_return_tx(data, buy_sell_modifiers)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1414, in add_return_tx
out_tx = self._prov_entry(data, 'entry_date', sellers, sale_info, incoming=False, purpose='exchange', buy_sell_modifiers=buy_sell_modifiers)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1380, in _prov_entry
self._add_prov_entry_acquisition(data, tx, from_people, from_agents, to_people, to_agents, date, incoming, purpose=purpose)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1213, in _add_prov_entry_acquisition
if data.get('sale_buyer') :
File "/home/vouidaskis/PycharmProjects/getty/pipeline/venv/lib/python3.8/site-packages/cromulent/model.py", line 771, in __setattr__
ok = self._check_prop(which, value)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/venv/lib/python3.8/site-packages/cromulent/model.py", line 809, in _check_prop
raise DataError("Can't set '%s' on resource of type '%s' to '%r'" % (which, self._type, value), self)
cromulent.model.DataError: Can't set 'transferred_title_to' on resource of type 'crm:E8_Acquisition' to '{'name': 'Max Rosenberg', 'loc': 'Mt. Vernon N.Y.', 'auth_name': 'Rosenberg, Max', 'auth_addr': '102 Summit Ave., Mount Vernon, NY, USA', 'auth_mod': '', 'loc_tgn': {'part_of': '2527522'}}'
add_person() missing 3 required positional arguments: 'data', 'record', and 'relative_id'Traceback (most recent call last):
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/execution.py", line 128, in run_node
for r in result:
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1748, in __call__
in_tx, out_tx = self.add_return_tx(data, buy_sell_modifiers)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1416, in add_return_tx
out_tx = self._prov_entry(data, 'entry_date', sellers, sale_info, incoming=False, purpose='exchange', buy_sell_modifiers=buy_sell_modifiers)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1382, in _prov_entry
self._add_prov_entry_acquisition(data, tx, from_people, from_agents, to_people, to_agents, date, incoming, purpose=purpose)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1213, in _add_prov_entry_acquisition
if data.get('sale_buyer') :
TypeError: add_person() missing 3 required positional arguments: 'data', 'record', and 'relative_id'
add_person() missing 3 required positional arguments: 'data', 'record', and 'relative_id'Traceback (most recent call last):
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/execution.py", line 128, in run_node
for r in result:
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1747, in __call__
in_tx, out_tx = self.add_return_tx(data, buy_sell_modifiers)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1415, in add_return_tx
out_tx = self._prov_entry(data, 'entry_date', sellers, sale_info, incoming=False, purpose='exchange', buy_sell_modifiers=buy_sell_modifiers)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1381, in _prov_entry
self._add_prov_entry_acquisition(data, tx, from_people, from_agents, to_people, to_agents, date, incoming, purpose=purpose)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1213, in _add_prov_entry_acquisition
if data.get('sale_buyer') :
TypeError: add_person() missing 3 required positional arguments: 'data', 'record', and 'relative_id'
'list' object has no attribute 'get'Traceback (most recent call last):
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/execution.py", line 128, in run_node
for r in result:
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1747, in __call__
in_tx, out_tx = self.add_return_tx(data, buy_sell_modifiers)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1409, in add_return_tx
elif data.get('sale_buyer').get('Returned') is not None :
AttributeError: 'list' object has no attribute 'get'
'list' object has no attribute 'get'Traceback (most recent call last):
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/execution.py", line 128, in run_node
for r in result:
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1750, in __call__
in_tx, out_tx = self.add_return_tx(data, buy_sell_modifiers)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1412, in add_return_tx
elif data.get('sale_buyer').get('Returned') is not None :
AttributeError: 'list' object has no attribute 'get'
local variable 'price_info' referenced before assignmentTraceback (most recent call last):
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/execution.py", line 128, in run_node
for r in result:
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1753, in __call__
in_tx, out_tx = self.add_return_tx(data, buy_sell_modifiers)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1421, in add_return_tx
out_tx = self._prov_entry(data, 'entry_date', sellers, sale_info, incoming=False, purpose='exchange', buy_sell_modifiers=buy_sell_modifiers)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1384, in _prov_entry
self._add_prov_entry_payment(data, tx, knoedler_price_part, price_info, people, people_agents, shared_people, knoedler_group_agents, date, incoming, purpose=purpose)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1052, in _add_prov_entry_payment
appraisal = self._apprasing_assignment(data)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 894, in _apprasing_assignment
if price_info and not len(sellers):
UnboundLocalError: local variable 'price_info' referenced before assignment
local variable 'price_info' referenced before assignmentTraceback (most recent call last):
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/execution.py", line 128, in run_node
for r in result:
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1753, in __call__
in_tx, out_tx = self.add_return_tx(data, buy_sell_modifiers)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1421, in add_return_tx
out_tx = self._prov_entry(data, 'entry_date', sellers, sale_info, incoming=False, purpose='exchange', buy_sell_modifiers=buy_sell_modifiers)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1384, in _prov_entry
self._add_prov_entry_payment(data, tx, knoedler_price_part, price_info, people, people_agents, shared_people, knoedler_group_agents, date, incoming, purpose=purpose)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1052, in _add_prov_entry_payment
appraisal = self._apprasing_assignment(data)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 894, in _apprasing_assignment
if price_info and not len(sellers):
UnboundLocalError: local variable 'price_info' referenced before assignment
local variable 'price_info' referenced before assignmentTraceback (most recent call last):
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/execution.py", line 128, in run_node
for r in result:
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1753, in __call__
in_tx, out_tx = self.add_return_tx(data, buy_sell_modifiers)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1421, in add_return_tx
out_tx = self._prov_entry(data, 'entry_date', sellers, sale_info, incoming=False, purpose='exchange', buy_sell_modifiers=buy_sell_modifiers)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1384, in _prov_entry
self._add_prov_entry_payment(data, tx, knoedler_price_part, price_info, people, people_agents, shared_people, knoedler_group_agents, date, incoming, purpose=purpose)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 1052, in _add_prov_entry_payment
appraisal = self._apprasing_assignment(data)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 894, in _apprasing_assignment
if price_info and not len(sellers):
UnboundLocalError: local variable 'price_info' referenced before assignment
'star_record_no'Traceback (most recent call last):
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/execution.py", line 118, in run_node
result = node(input)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/nodes/basic.py", line 158, in __call__
subd = p(subd, data)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/people.py", line 614, in <lambda>
lambda d, p: associate_with_tgn_record_people(d, p, services['people_tgn'],"address")
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/util/__init__.py", line 702, in associate_with_tgn_record_people
tgn_rec = tgn[star_record_no]
KeyError: 'star_record_no'
'star_record_no'Traceback (most recent call last):
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/execution.py", line 118, in run_node
result = node(input)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/nodes/basic.py", line 158, in __call__
subd = p(subd, data)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/people.py", line 614, in <lambda>
lambda d, p: associate_with_tgn_record_people(d, p, services['people_tgn'],"address")
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/util/__init__.py", line 702, in associate_with_tgn_record_people
tgn_rec = tgn[star_record_no]
KeyError: 'star_record_no'
invalid literal for int() with base 10: '22-1819'Traceback (most recent call last):
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/execution.py", line 128, in run_node
for r in result:
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/people.py", line 508, in __call__
self.handle_places(data)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/people.py", line 412, in handle_places
sdata = self.model_sojourn(data, loc)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/people.py", line 318, in model_sojourn
date_range = date_cleaner(verbatim_date)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/util/cleaners.py", line 547, in date_cleaner
return date_parse(value, '/')
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/util/cleaners.py", line 407, in date_parse
d = int(bits[2])
ValueError: invalid literal for int() with base 10: '22-1819'
invalid literal for int() with base 10: '22-1819'Traceback (most recent call last):
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/execution.py", line 128, in run_node
for r in result:
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/people.py", line 508, in __call__
self.handle_places(data)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/people.py", line 412, in handle_places
sdata = self.model_sojourn(data, loc)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/people.py", line 318, in model_sojourn
date_range = date_cleaner(verbatim_date)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/util/cleaners.py", line 547, in date_cleaner
return date_parse(value, '/')
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/util/cleaners.py", line 407, in date_parse
d = int(bits[2])
ValueError: invalid literal for int() with base 10: '22-1819'
'acc'Traceback (most recent call last):
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/execution.py", line 118, in run_node
result = node(input)
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 694, in __call__
self._populate_object_present_location(data['_object'])
File "/home/vouidaskis/PycharmProjects/getty/pipeline/pipeline/projects/knoedler/__init__.py", line 746, in _populate_object_present_location
now_key = (data['present_location']['acc'], data['present_location']['geog'])
KeyError: 'acc'