Enter old Owner name: c1.ux.ua
Change procedure owner to: ubiz.ua
Failed to deserialize procedure
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/bson/objectid.py", line 209, in __validate
self.__id = bytes_from_hex(oid)
File "/usr/local/lib/python3.9/site-packages/bson/py3compat.py", line 44, in bytes_from_hex
return bytes.fromhex(h)
ValueError: non-hexadecimal number found in fromhex() arg at position 0
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/procedure/./prozorro_sale/procedure/db.py", line 221, in read_and_update_procedure
procedure = await read_procedure(_id)
File "/procedure/./prozorro_sale/procedure/db.py", line 89, in read_procedure
_id = ObjectId(procedure_id)
File "/usr/local/lib/python3.9/site-packages/bson/objectid.py", line 110, in __init__
self.__validate(oid)
File "/usr/local/lib/python3.9/site-packages/bson/objectid.py", line 211, in __validate
_raise_invalid_id(oid)
File "/usr/local/lib/python3.9/site-packages/bson/objectid.py", line 38, in _raise_invalid_id
raise InvalidId(
bson.errors.InvalidId: 'LLE001-UA-20211206-35443' is not a valid ObjectId, it must be a 12-byte input or a 24-character hex string
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/procedure/./prozorro_sale/procedure/db.py", line 133, in _create_procedure_obj
data = _migrate(data)
File "/procedure/./prozorro_sale/procedure/migration.py", line 99, in _migrate
data = _migrate_common(data, CURRENT_VERSION)
File "/procedure/./prozorro_sale/procedure/migration.py", line 56, in _migrate_common
for migration in get_migrations(version, version_to_apply):
File "/procedure/./prozorro_sale/procedure/migration.py", line 40, in get_migrations
migrations.append(importlib.import_module(f'.{M_FILES[v]}', 'prozorro_sale.procedure.migrations'))
File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/procedure/./prozorro_sale/procedure/migrations/074_bre_brd_set_additionalClassifications.py", line 6, in <module>
"description": dictionaries.get_description_by_id("QB23-5", "CPVS")
File "/procedure/./prozorro_sale/procedure/models/dictionaries.py", line 268, in get_description_by_id
data = get_dictionary_data(scheme)
File "/procedure/./prozorro_sale/procedure/models/dictionaries.py", line 255, in get_dictionary_data
return SCHEME_MAPPING[name]['data']
KeyError: 'data'
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/bson/objectid.py", line 209, in __validate
self.__id = bytes_from_hex(oid)
File "/usr/local/lib/python3.9/site-packages/bson/py3compat.py", line 44, in bytes_from_hex
return bytes.fromhex(h)
ValueError: non-hexadecimal number found in fromhex() arg at position 0
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/procedure/./prozorro_sale/procedure/db.py", line 221, in read_and_update_procedure
procedure = await read_procedure(_id)
File "/procedure/./prozorro_sale/procedure/db.py", line 89, in read_procedure
_id = ObjectId(procedure_id)
File "/usr/local/lib/python3.9/site-packages/bson/objectid.py", line 110, in __init__
self.__validate(oid)
File "/usr/local/lib/python3.9/site-packages/bson/objectid.py", line 211, in __validate
_raise_invalid_id(oid)
File "/usr/local/lib/python3.9/site-packages/bson/objectid.py", line 38, in _raise_invalid_id
raise InvalidId(
bson.errors.InvalidId: 'LLE001-UA-20211206-35443' is not a valid ObjectId, it must be a 12-byte input or a 24-character hex string
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/procedure/./prozorro_sale/procedure/db.py", line 133, in _create_procedure_obj
data = _migrate(data)
File "/procedure/./prozorro_sale/procedure/migration.py", line 99, in _migrate
data = _migrate_common(data, CURRENT_VERSION)
File "/procedure/./prozorro_sale/procedure/migration.py", line 56, in _migrate_common
for migration in get_migrations(version, version_to_apply):
File "/procedure/./prozorro_sale/procedure/migration.py", line 40, in get_migrations
migrations.append(importlib.import_module(f'.{M_FILES[v]}', 'prozorro_sale.procedure.migrations'))
File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/procedure/./prozorro_sale/procedure/migrations/074_bre_brd_set_additionalClassifications.py", line 6, in <module>
"description": dictionaries.get_description_by_id("QB23-5", "CPVS")
File "/procedure/./prozorro_sale/procedure/models/dictionaries.py", line 268, in get_description_by_id
data = get_dictionary_data(scheme)
File "/procedure/./prozorro_sale/procedure/models/dictionaries.py", line 255, in get_dictionary_data
return SCHEME_MAPPING[name]['data']
KeyError: 'data'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/manage", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.9/site-packages/manage/cli.py", line 251, in main
return manager()
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/procedure/./command_ops/change_owner.py", line 96, in update_procedure_owner
asyncio.run(_update_procedure_owner(kwargs))
File "/usr/local/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
return future.result()
File "/procedure/./command_ops/change_owner.py", line 20, in _wrapper
res = await func(data)
File "/procedure/./command_ops/change_owner.py", line 40, in _update_procedure_owner
res = await commands.change_procedure_owner(data)
File "/procedure/./prozorro_sale/procedure/commands/change_owner.py", line 47, in change_procedure_owner
async with utils.with_notifications(db.read_and_update_procedure(_id)) as procedure:
File "/usr/local/lib/python3.9/contextlib.py", line 181, in __aenter__
return await self.gen.__anext__()
File "/procedure/./prozorro_sale/procedure/utils.py", line 247, in with_notifications
async with manager as procedure:
File "/usr/local/lib/python3.9/contextlib.py", line 181, in __aenter__
return await self.gen.__anext__()
File "/procedure/./prozorro_sale/procedure/db.py", line 223, in read_and_update_procedure
procedure = await read_procedure_by_auctionId(_id)
File "/procedure/./prozorro_sale/procedure/db.py", line 108, in read_procedure_by_auctionId
return _create_procedure_obj(obj)
File "/procedure/./prozorro_sale/procedure/db.py", line 137, in _create_procedure_obj
raise errors.ProcedureDeserializationError(procedure_id=data['_id'], ex_text=str(ex))
prozorro_sale.procedure.errors.ProcedureDeserializationError: Can not deserialize procedure with id 61ae2911358c430d181e4342. 'data'