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: invalid literal for int() with base 10: '0p5' #1411

Closed
ukanga opened this issue May 17, 2018 · 0 comments · Fixed by #1516
Closed

ValueError: invalid literal for int() with base 10: '0p5' #1411

ukanga opened this issue May 17, 2018 · 0 comments · Fixed by #1516
Assignees
Labels

Comments

@ukanga
Copy link
Member

ukanga commented May 17, 2018

/{username}/xformsManifest/{pk}

ValueError: invalid literal for int() with base 10: '0p5'
(21 additional frame(s) were not displayed)
...
  File "rest_framework/serializers.py", line 657, in to_representation
    self.child.to_representation(item) for item in iterable
  File "rest_framework/serializers.py", line 501, in to_representation
    ret[field.field_name] = field.to_representation(attribute)
  File "rest_framework/fields.py", line 1754, in to_representation
    return method(value)
  File "onadata/libs/utils/decorators.py", line 14, in with_check_obj
    return f(*args, **kwargs)
  File "onadata/libs/serializers/xform_serializer.py", line 405, in get_hash
    data_view = DataView.objects.filter(pk=pk)\

ValueError: invalid literal for int() with base 10: '0p5'

Aha! Link: https://ona.aha.io/features/PROD-347

@ukanga ukanga added this to the Week 34 - 35 (2018) milestone Sep 4, 2018
@lincmba lincmba self-assigned this Dec 7, 2018
lincmba added a commit that referenced this issue Dec 10, 2018
not any other form media files uploaded

fixes #1411

Signed-off-by: Lincoln Simba <[email protected]>
lincmba added a commit that referenced this issue Dec 10, 2018
not any other form media files uploaded

fixes #1411

Signed-off-by: Lincoln Simba <[email protected]>
@lincmba lincmba added the Has-PR label Dec 13, 2018
lincmba added a commit that referenced this issue Dec 17, 2018
not any other form media files uploaded

fixes #1411

Signed-off-by: Lincoln Simba <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants