Giter Club home page Giter Club logo

Comments (8)

dcramer avatar dcramer commented on August 24, 2024

Do you happen to know what it's failing on?

from sentry.

fisadev avatar fisadev commented on August 24, 2024

MySQL has a 1000 bytes length limit for indexes, and with some encodings this is equivalent to 250 chars. I googled the error and I found this[0], where the MySQL people say it's a wont-fix.

I don't know which one is the failing index here, but it's on the GroupedMessage model.
Maybe it's related to the unique declaration:
unique_together = (('logger', 'view', 'checksum'),)

Tell me if you need more info, or if you want me to try something.

[0] http://bugs.mysql.com/bug.php?id=4541

PS: i'm not a native english speaker

from sentry.

 avatar commented on August 24, 2024

Seeing exactly the same issue here, running MySQL5.1.37-1ubuntu5.4 UTF8 encoding and the utf8_unicode collation.

from sentry.

Uninen avatar Uninen commented on August 24, 2024

I'm seeing this same on MySQL 5.1.37 running on Ubuntu. South fails on the initial migration: "_mysql_exceptions.OperationalError: (1071, 'Specified key was too long; max key length is 1000 bytes')"

from sentry.

dcramer avatar dcramer commented on August 24, 2024

I've committed a change to master which may solve this (I think it was just an issue w/ the migrations). The test suite ran fine, can you give it a whirl now?

from sentry.

dcramer avatar dcramer commented on August 24, 2024

In fact, test suite passes using South + MySQL. Marking this as fixed.

from sentry.

fisadev avatar fisadev commented on August 24, 2024

Today I tested it, and it works. Thanks!

from sentry.

moimael avatar moimael commented on August 24, 2024

I hit the same issue with sentry 6.4.4 :

FATAL ERROR - The following SQL query failed: ALTER TABLE `social_auth_association` ADD CONSTRAINT `social_auth_association_handle_693a924207fa6ae_uniq` UNIQUE (`handle`, `server_url`)
The error was: (1071, 'Specified key was too long; max key length is 1000 bytes')

from sentry.

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.