AstraLuma / catfind

Sphinx indexer & search engine
0 stars 0 forks source link

Missing role #17

Open AstraLuma opened 2 years ago

AstraLuma commented 2 years ago
Updating reliability (https://reliability.readthedocs.io/en/latest/objects.inv)
Traceback (most recent call last):
  File "/app/.heroku/python/bin/flask", line 8, in <module>
    sys.exit(main())
  File "/app/.heroku/python/lib/python3.9/site-packages/flask/cli.py", line 994, in main
    cli.main(args=sys.argv[1:])
  File "/app/.heroku/python/lib/python3.9/site-packages/flask/cli.py", line 600, in main
    return super().main(*args, **kwargs)
  File "/app/.heroku/python/lib/python3.9/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/app/.heroku/python/lib/python3.9/site-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/app/.heroku/python/lib/python3.9/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/app/.heroku/python/lib/python3.9/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/app/.heroku/python/lib/python3.9/site-packages/click/decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/app/.heroku/python/lib/python3.9/site-packages/flask/cli.py", line 444, in decorator
    return __ctx.invoke(f, *args, **kwargs)
  File "/app/.heroku/python/lib/python3.9/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/app/.heroku/python/lib/python3.9/site-packages/click/decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/app/catfind/__init__.py", line 270, in auto_index
    ctx.invoke(index, url=proj.inv_url)
  File "/app/.heroku/python/lib/python3.9/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/app/.heroku/python/lib/python3.9/site-packages/click/decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/app/.heroku/python/lib/python3.9/site-packages/flask/cli.py", line 444, in decorator
    return __ctx.invoke(f, *args, **kwargs)
  File "/app/.heroku/python/lib/python3.9/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "<string>", line 2, in index
  File "/app/.heroku/python/lib/python3.9/site-packages/pony/orm/core.py", line 533, in new_func
    result = func(*args, **kwargs)
  File "/app/catfind/__init__.py", line 203, in index
    ent = Entry.get(project=proj, domain=domain, role=role, name=item.name)
  File "/app/.heroku/python/lib/python3.9/site-packages/pony/orm/core.py", line 4014, in get
    try: return entity._find_one_(kwargs)  # can throw MultipleObjectsFoundError
  File "/app/.heroku/python/lib/python3.9/site-packages/pony/orm/core.py", line 4112, in _find_one_
    avdict[attr] = attr.validate(val, None, entity, from_db=False)
  File "/app/.heroku/python/lib/python3.9/site-packages/pony/orm/core.py", line 2547, in validate
    throw(ValueError, 'Attribute %s is required' % (
  File "/app/.heroku/python/lib/python3.9/site-packages/pony/utils/utils.py", line 106, in throw
    raise exc
ValueError: Attribute Entry.role is required