Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • baobaxia-mucua baobaxia-mucua
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 16
    • Issues 16
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • NPDD
  • baobaxia-mucuabaobaxia-mucua
  • Issues
  • #33

Closed
Open
Created Sep 26, 2021 by Alice Bonafé@aliceOwner

REST: erro ao adicionar um mocambola

Precisa ver o jeito que vao ser criados novos usuarios/mocambolas.

Atualmente a chamada rest è confusa. Tem dados repetidos no formulario e no json e dificulta rodar testes.

De qualquer forma esse è o erro colocando os metadados conhecidos (faltam por exemplo, smid, slug..)


INFO:     127.0.0.1:36658 - "POST /mocambola/acervo-bruto-da-rede-_S8Vpa/abdias-nascimento-nk5_DEBny?recovery_answer=bianco HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/home/befree/dev/gitlab/baobaxia-mucua/test-bbx/lib/python3.7/site-packages/uvicorn/protocols/http/httptools_impl.py", line 375, in run_asgi
    result = await app(self.scope, self.receive, self.send)
  File "/home/befree/dev/gitlab/baobaxia-mucua/test-bbx/lib/python3.7/site-packages/uvicorn/middleware/proxy_headers.py", line 75, in __call__
    return await self.app(scope, receive, send)
  File "/home/befree/dev/gitlab/baobaxia-mucua/test-bbx/lib/python3.7/site-packages/fastapi/applications.py", line 208, in __call__
    await super().__call__(scope, receive, send)
  File "/home/befree/dev/gitlab/baobaxia-mucua/test-bbx/lib/python3.7/site-packages/starlette/applications.py", line 112, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/home/befree/dev/gitlab/baobaxia-mucua/test-bbx/lib/python3.7/site-packages/starlette/middleware/errors.py", line 181, in __call__
    raise exc from None
  File "/home/befree/dev/gitlab/baobaxia-mucua/test-bbx/lib/python3.7/site-packages/starlette/middleware/errors.py", line 159, in __call__
    await self.app(scope, receive, _send)
  File "/home/befree/dev/gitlab/baobaxia-mucua/test-bbx/lib/python3.7/site-packages/starlette/exceptions.py", line 82, in __call__
    raise exc from None
  File "/home/befree/dev/gitlab/baobaxia-mucua/test-bbx/lib/python3.7/site-packages/starlette/exceptions.py", line 71, in __call__
    await self.app(scope, receive, sender)
  File "/home/befree/dev/gitlab/baobaxia-mucua/test-bbx/lib/python3.7/site-packages/starlette/routing.py", line 580, in __call__
    await route.handle(scope, receive, send)
  File "/home/befree/dev/gitlab/baobaxia-mucua/test-bbx/lib/python3.7/site-packages/starlette/routing.py", line 241, in handle
    await self.app(scope, receive, send)
  File "/home/befree/dev/gitlab/baobaxia-mucua/test-bbx/lib/python3.7/site-packages/starlette/routing.py", line 52, in app
    response = await func(request)
  File "/home/befree/dev/gitlab/baobaxia-mucua/test-bbx/lib/python3.7/site-packages/fastapi/routing.py", line 227, in app
    dependant=dependant, values=values, is_coroutine=is_coroutine
  File "/home/befree/dev/gitlab/baobaxia-mucua/test-bbx/lib/python3.7/site-packages/fastapi/routing.py", line 159, in run_endpoint_function
    return await dependant.call(**values)
  File "./baobaxia/rest.py", line 361, in post_mocambola
    token = token
  File "./baobaxia/root.py", line 312, in put_mocambola
    Sankofa.add(saberes=[mocambola_saber], mocambola=session.mocambola,
NameError: name 'mocambola_saber' is not defined
Assignee
Assign to
Time tracking

Data Center Comunitário Livre - DCCL