Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: Field 'lft' expected a number but got '0.023134231567382812'. #4854

Open
sentry-io bot opened this issue Dec 6, 2024 · 4 comments
Open

Comments

@sentry-io
Copy link

sentry-io bot commented Dec 6, 2024

From @bjester:

  • There have been a couple instances of this error. It seems relatively new, but I'm unsure where it's originating

Sentry Issue: STUDIO-HNH

ValueError: invalid literal for int() with base 10: '0.023134231567382812'
  File "django/db/models/fields/__init__.py", line 1823, in get_prep_value
    return int(value)

ValueError: Field 'lft' expected a number but got '0.023134231567382812'.
(19 additional frame(s) were not displayed)
...
  File "contentcuration/viewsets/base.py", line 660, in list
    page_queryset = self.paginate_queryset(queryset)
  File "contentcuration/utils/pagination.py", line 141, in paginate_queryset
    pks_queryset = super(ValuesViewsetCursorPagination, self).paginate_queryset(
@Advaitgaur004
Copy link

@bjester could you tell how to reproduce this error

@MisRob
Copy link
Member

MisRob commented Jan 23, 2025

Hi @Advaitgaur004, for issues that have label "needs reproduced", we don't know yet how. Also the issue says that the origin is unclear.

@Advaitgaur004
Copy link

Overlooked sorry my bad

@MisRob
Copy link
Member

MisRob commented Jan 23, 2025

No problem, thanks for your time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants
@bjester @MisRob @Advaitgaur004 and others