Closed AstraLuma closed 2 years ago
2021-12-20T22:23:28.101930+00:00 app[scheduler.1348]: Updating (https://csgimu.readthedocs.io/en/latest/objects.inv)
2021-12-20T22:23:28.255102+00:00 app[scheduler.1348]: Traceback (most recent call last):
2021-12-20T22:23:28.255108+00:00 app[scheduler.1348]: File "/app/.heroku/python/bin/flask", line 8, in <module>
2021-12-20T22:23:28.255263+00:00 app[scheduler.1348]: sys.exit(main())
2021-12-20T22:23:28.255265+00:00 app[scheduler.1348]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/cli.py", line 994, in main
2021-12-20T22:23:28.255465+00:00 app[scheduler.1348]: cli.main(args=sys.argv[1:])
2021-12-20T22:23:28.255475+00:00 app[scheduler.1348]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/cli.py", line 600, in main
2021-12-20T22:23:28.255625+00:00 app[scheduler.1348]: return super().main(*args, **kwargs)
2021-12-20T22:23:28.255634+00:00 app[scheduler.1348]: File "/app/.heroku/python/lib/python3.9/site-packages/click/core.py", line 1053, in main
2021-12-20T22:23:28.255906+00:00 app[scheduler.1348]: rv = self.invoke(ctx)
2021-12-20T22:23:28.255915+00:00 app[scheduler.1348]: File "/app/.heroku/python/lib/python3.9/site-packages/click/core.py", line 1659, in invoke
2021-12-20T22:23:28.256218+00:00 app[scheduler.1348]: return _process_result(sub_ctx.command.invoke(sub_ctx))
2021-12-20T22:23:28.256226+00:00 app[scheduler.1348]: File "/app/.heroku/python/lib/python3.9/site-packages/click/core.py", line 1395, in invoke
2021-12-20T22:23:28.256536+00:00 app[scheduler.1348]: return ctx.invoke(self.callback, **ctx.params)
2021-12-20T22:23:28.256545+00:00 app[scheduler.1348]: File "/app/.heroku/python/lib/python3.9/site-packages/click/core.py", line 754, in invoke
2021-12-20T22:23:28.256714+00:00 app[scheduler.1348]: return __callback(*args, **kwargs)
2021-12-20T22:23:28.256723+00:00 app[scheduler.1348]: File "/app/.heroku/python/lib/python3.9/site-packages/click/decorators.py", line 26, in new_func
2021-12-20T22:23:28.256796+00:00 app[scheduler.1348]: return f(get_current_context(), *args, **kwargs)
2021-12-20T22:23:28.256797+00:00 app[scheduler.1348]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/cli.py", line 444, in decorator
2021-12-20T22:23:28.256908+00:00 app[scheduler.1348]: return __ctx.invoke(f, *args, **kwargs)
2021-12-20T22:23:28.256916+00:00 app[scheduler.1348]: File "/app/.heroku/python/lib/python3.9/site-packages/click/core.py", line 754, in invoke
2021-12-20T22:23:28.257121+00:00 app[scheduler.1348]: return __callback(*args, **kwargs)
2021-12-20T22:23:28.257132+00:00 app[scheduler.1348]: File "/app/.heroku/python/lib/python3.9/site-packages/click/decorators.py", line 26, in new_func
2021-12-20T22:23:28.257203+00:00 app[scheduler.1348]: return f(get_current_context(), *args, **kwargs)
2021-12-20T22:23:28.257205+00:00 app[scheduler.1348]: File "/app/catfind/__init__.py", line 270, in auto_index
2021-12-20T22:23:28.257289+00:00 app[scheduler.1348]: ctx.invoke(index, url=proj.inv_url)
2021-12-20T22:23:28.257292+00:00 app[scheduler.1348]: File "/app/.heroku/python/lib/python3.9/site-packages/click/core.py", line 754, in invoke
2021-12-20T22:23:28.257456+00:00 app[scheduler.1348]: return __callback(*args, **kwargs)
2021-12-20T22:23:28.257465+00:00 app[scheduler.1348]: File "/app/.heroku/python/lib/python3.9/site-packages/click/decorators.py", line 26, in new_func
2021-12-20T22:23:28.257564+00:00 app[scheduler.1348]: return f(get_current_context(), *args, **kwargs)
2021-12-20T22:23:28.257572+00:00 app[scheduler.1348]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/cli.py", line 444, in decorator
2021-12-20T22:23:28.257684+00:00 app[scheduler.1348]: return __ctx.invoke(f, *args, **kwargs)
2021-12-20T22:23:28.257692+00:00 app[scheduler.1348]: File "/app/.heroku/python/lib/python3.9/site-packages/click/core.py", line 754, in invoke
2021-12-20T22:23:28.257900+00:00 app[scheduler.1348]: return __callback(*args, **kwargs)
2021-12-20T22:23:28.257909+00:00 app[scheduler.1348]: File "<string>", line 2, in index
2021-12-20T22:23:28.258003+00:00 app[scheduler.1348]: File "/app/.heroku/python/lib/python3.9/site-packages/pony/orm/core.py", line 552, in new_func
2021-12-20T22:23:28.258157+00:00 app[scheduler.1348]: reraise(exc_type, exc, tb)
2021-12-20T22:23:28.258166+00:00 app[scheduler.1348]: File "/app/.heroku/python/lib/python3.9/site-packages/pony/utils/utils.py", line 95, in reraise
2021-12-20T22:23:28.258307+00:00 app[scheduler.1348]: try: raise exc.with_traceback(tb)
2021-12-20T22:23:28.258314+00:00 app[scheduler.1348]: File "/app/.heroku/python/lib/python3.9/site-packages/pony/orm/core.py", line 533, in new_func
2021-12-20T22:23:28.258491+00:00 app[scheduler.1348]: result = func(*args, **kwargs)
2021-12-20T22:23:28.258494+00:00 app[scheduler.1348]: File "/app/catfind/__init__.py", line 203, in index
2021-12-20T22:23:28.258577+00:00 app[scheduler.1348]: ent = Entry.get(project=proj, domain=domain, role=role, name=item.name)
2021-12-20T22:23:28.258579+00:00 app[scheduler.1348]: File "/app/.heroku/python/lib/python3.9/site-packages/pony/orm/core.py", line 4014, in get
2021-12-20T22:23:28.259292+00:00 app[scheduler.1348]: try: return entity._find_one_(kwargs) # can throw MultipleObjectsFoundError
2021-12-20T22:23:28.259294+00:00 app[scheduler.1348]: File "/app/.heroku/python/lib/python3.9/site-packages/pony/orm/core.py", line 4121, in _find_one_
2021-12-20T22:23:28.260018+00:00 app[scheduler.1348]: if obj is None: obj = entity._find_in_db_(avdict, unique, for_update, nowait, skip_locked)
2021-12-20T22:23:28.260028+00:00 app[scheduler.1348]: File "/app/.heroku/python/lib/python3.9/site-packages/pony/orm/core.py", line 4181, in _find_in_db_
2021-12-20T22:23:28.260753+00:00 app[scheduler.1348]: objects = entity._fetch_objects(cursor, attr_offsets, 1, for_update, avdict)
2021-12-20T22:23:28.260756+00:00 app[scheduler.1348]: File "/app/.heroku/python/lib/python3.9/site-packages/pony/orm/core.py", line 4315, in _fetch_objects
2021-12-20T22:23:28.261515+00:00 app[scheduler.1348]: obj._db_set_(avdict)
2021-12-20T22:23:28.261517+00:00 app[scheduler.1348]: File "/app/.heroku/python/lib/python3.9/site-packages/pony/orm/core.py", line 4951, in _db_set_
2021-12-20T22:23:28.262561+00:00 app[scheduler.1348]: throw(UnrepeatableReadError,
2021-12-20T22:23:28.262570+00:00 app[scheduler.1348]: File "/app/.heroku/python/lib/python3.9/site-packages/pony/utils/utils.py", line 106, in throw
2021-12-20T22:23:28.262653+00:00 app[scheduler.1348]: raise exc
2021-12-20T22:23:28.262688+00:00 app[scheduler.1348]: pony.orm.core.UnrepeatableReadError: Value of Entry.last_indexed for +csgimu was updated outside of current transaction (was: datetime.datetime(2021, 12, 20, 22, 23, 28, 101984, tzinfo=datetime.timezone.utc), now: datetime.datetime(2021, 12, 20, 22, 23, 28, 101984))
Assuming these are intermittent problems, they should get resolved the next pass.
I don't think this is actually concurrent changes. I wonder if it's duplicate entries in the inventory.
camp::CAMP_MAKE_L
arb::distributed_context::distributed_context
name::complex_t
mhkit.loads.general
AnalysisGraph::AnalysisGraph
arg_v::arg_v
musher::core::DecodeWav
4a7256344f92b2bb35f77a4c495aea5e4bd573a0 seems to have handled this.