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

DataError: value too long for type character varying(30) #4135

Closed
sentry-io bot opened this issue Jun 13, 2023 · 3 comments
Closed

DataError: value too long for type character varying(30) #4135

sentry-io bot opened this issue Jun 13, 2023 · 3 comments
Assignees
Labels
P0 - critical Priority: Release blocker or regression

Comments

@sentry-io
Copy link

sentry-io bot commented Jun 13, 2023

Sentry Issue: STUDIO-GCT

StringDataRightTruncation: value too long for type character varying(30)

  File "django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "django_prometheus/db/common.py", line 71, in execute
    return super().execute(*args, **kwargs)

DataError: value too long for type character varying(30)

(15 additional frame(s) were not displayed)
...
  File "kolibri_public/utils/mapper.py", line 117, in _map
    copied_nodes = self._deep_map(
  File "kolibri_public/utils/mapper.py", line 203, in _deep_map
    self._copy_associated_objects(source_nodes)
  File "kolibri_public/utils/mapper.py", line 171, in _copy_associated_objects
    self._copy_tags(node_ids)
  File "kolibri_public/utils/mapper.py", line 146, in _copy_tags
    self._map_and_bulk_create_model(source_tags, kolibri_public_models.ContentTag)
  File "kolibri_public/utils/mapper.py", line 68, in _map_and_bulk_create_model
    Model.objects.bulk_create(cloned_sources, ignore_conflicts=True)

Failed to export channel 265e242783c947ccbc1aafbe4bd64194 to kolibri_public because of error: value too long for type character varying(30)

@bjester bjester added the P0 - critical Priority: Release blocker or regression label Jun 13, 2023
@bjester
Copy link
Member

bjester commented Jun 13, 2023

This occurred while manually running export_channels_to_kolibri_public.py in the hotfixes server environment

@bjester bjester self-assigned this Jun 14, 2023
@rtibbles
Copy link
Member

This issue looks like a tag that is too long.

@bjester
Copy link
Member

bjester commented Jul 5, 2023

Closed by #4153

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P0 - critical Priority: Release blocker or regression
Projects
None yet
Development

No branches or pull requests

2 participants