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

Error with large Twitter filter seeds #954

Open
justinlittman opened this issue Sep 18, 2018 · 3 comments
Open

Error with large Twitter filter seeds #954

justinlittman opened this issue Sep 18, 2018 · 3 comments
Assignees
Labels
Milestone

Comments

@justinlittman
Copy link
Contributor

Steps to reproduce:

  1. Create a Twitter filter collection.
  2. Add a seed with a tracks > ~3000 characters.

Expected result:

  • Twitter filter seeds should be able to be as large as filter API accepts.
  • If a seed is too large, an error should be reported.

Actual result:
500


Request Method: | POST
-- | --
http://ec2-52-15-218-157.us-east-2.compute.amazonaws.com/ui/seeds/create/19
2.0.7
OperationalError
index row size 2760 exceeds maximum 2712 for index "ui_seed_collection_id_uid_token_744a7e90_uniq" HINT:  Values larger than 1/3 of a buffer page cannot be indexed. Consider a function index of an MD5 hash of the value, or use full text indexing.
/usr/local/lib/python3.6/site-packages/django/db/backends/utils.py in _execute, line 85
/usr/local/bin/python3
3.6.6
['/opt/sfm-ui/sfm',  '/usr/local/lib/python36.zip',  '/usr/local/lib/python3.6',  '/usr/local/lib/python3.6/lib-dynload',  '/usr/local/lib/python3.6/site-packages']
Fri, 14 Sep 2018 21:55:23 -0400

@lwrubel lwrubel added this to the 2.1 milestone Dec 10, 2018
@lwrubel lwrubel self-assigned this Dec 14, 2018
@lwrubel
Copy link
Collaborator

lwrubel commented Dec 14, 2018

@justinlittman I'm having a hard time reproducing this. Which log is that error from? I was able to save a filter seed with a Track parameter that was over 6000 characters. I don't see any errors in the docker logs for either sfm_ui_1 or sfm_twitterstreamharvester_1; nor do I get Django errors in the UI.

@justinlittman
Copy link
Contributor Author

It would be from the webapps log. Are you using a clean install or existing install? (Wondering if this may cause differences in indexes.)

@lwrubel
Copy link
Collaborator

lwrubel commented Dec 14, 2018

I'm sorry, what do you mean by the webapps log? I removed containers and brought it up again, with an existing database external to the containers.

@kerchner kerchner modified the milestones: 2.1, Backlog Jan 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants