Giter VIP home page Giter VIP logo

Comments (4)

elig0n avatar elig0n commented on June 12, 2024

I experience the same issue when trying to sync from the Android etesync application

INFO:      - "GET /api/v1/collection/RIs3faJkSi_C9Gar7a_C_4ZFZ933El1V/item/ HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 419, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "/usr/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__
    return await self.app(scope, receive, send)
  File "/usr/lib/python3.10/site-packages/fastapi/applications.py", line 270, in __call__
    await super().__call__(scope, receive, send)
  File "/usr/lib/python3.10/site-packages/starlette/applications.py", line 124, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/lib/python3.10/site-packages/starlette/middleware/errors.py", line 184, in __call__
    raise exc
  File "/usr/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "/usr/lib/python3.10/site-packages/starlette/middleware/trustedhost.py", line 34, in __call__
    await self.app(scope, receive, send)
  File "/usr/lib/python3.10/site-packages/starlette/middleware/cors.py", line 84, in __call__
    await self.app(scope, receive, send)
  File "/usr/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
    raise exc
  File "/usr/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "/usr/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__
    raise e
  File "/usr/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
    await self.app(scope, receive, send)
  File "/usr/lib/python3.10/site-packages/starlette/routing.py", line 706, in __call__
    await route.handle(scope, receive, send)
  File "/usr/lib/python3.10/site-packages/starlette/routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "/usr/lib/python3.10/site-packages/starlette/routing.py", line 66, in app
    response = await func(request)
  File "/usr/lib/python3.10/site-packages/etebase_server/fastapi/msgpack.py", line 74, in custom_route_handler
    return await route_handler(request)
  File "/usr/lib/python3.10/site-packages/fastapi/routing.py", line 231, in app
    raw_response = await run_endpoint_function(
  File "/usr/lib/python3.10/site-packages/fastapi/routing.py", line 162, in run_endpoint_function
    return await run_in_threadpool(dependant.call, **values)
  File "/usr/lib/python3.10/site-packages/starlette/concurrency.py", line 41, in run_in_threadpool
    return await anyio.to_thread.run_sync(func, *args)
  File "/usr/lib/python3.10/site-packages/anyio/to_thread.py", line 31, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
  File "/usr/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
    return await future
  File "/usr/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 867, in run
    result = context.run(func, *args)
  File "/usr/lib/python3.10/site-packages/etebase_server/fastapi/db_hack.py", line 25, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python3.10/site-packages/etebase_server/fastapi/db_hack.py", line 25, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python3.10/site-packages/etebase_server/fastapi/routers/collection.py", line 451, in item_list
    response = item_list_common(queryset, user, stoken, limit, prefetch)
  File "/usr/lib/python3.10/site-packages/etebase_server/fastapi/routers/collection.py", line 435, in item_list_common
    data: t.List[CollectionItemOut] = [CollectionItemOut.from_orm_context(item, context) for item in result]
  File "/usr/lib/python3.10/site-packages/etebase_server/fastapi/routers/collection.py", line 435, in <listcomp>
    data: t.List[CollectionItemOut] = [CollectionItemOut.from_orm_context(item, context) for item in result]
  File "/usr/lib/python3.10/site-packages/etebase_server/fastapi/routers/collection.py", line 90, in from_orm_context
    content=CollectionItemRevisionInOut.from_orm_context(obj.content, context),
  File "/usr/lib/python3.10/site-packages/etebase_server/fastapi/routers/collection.py", line 64, in from_orm_context
    with open(chunk_obj.chunkFile.path, "rb") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3.10/site-packages/media/user_2/RIs3faJkSi_C9Gar7a_C_4ZFZ933El1V/W7/p_oDwo7MmCivp97SvZ1Xvw7S7POwddlGehu2RItoE'

from server.

tasn avatar tasn commented on June 12, 2024

Did you delete server data behind its back? It complains that a file it expects to exist doesn't.

from server.

elig0n avatar elig0n commented on June 12, 2024

Did you delete server data behind its back? It complains that a file it expects to exist doesn't.

Not that I know. Do you think an upgrade could do it ? Like from pip or AUR ?

from server.

tasn avatar tasn commented on June 12, 2024

I doubt it, but maybe. Can you try searching for p_oDwo7MmCivp97SvZ1Xvw7S7POwddlGehu2RItoE in /usr/lib/python3.10/site-packages/media/user_2?

Btw, this path is a very weird one for user-hosted media files. I think you're maybe running etesync in a weird manner.

from server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.