sqlalchemy-jsonapi icon indicating copy to clipboard operation
sqlalchemy-jsonapi copied to clipboard

Incompatability with sqlalchemy-i18n?

Open angelosarto opened this issue 9 years ago • 2 comments

When I switch from 3.0.2 to any 4.X series I get a new error on startup:

sqlalchemy_i18n.exc.UnknownLocaleError: Unknown locale jsonapi_desc_for_attrs given for instance of class <class 'sqlalchemy.ext.declarative.api.DeclarativeMeta'>. Locale is not one of ['zxx', 'en_us', 'de_de']

When I downgrade back to 3.0.2 it works fine so there is something definitely changed in how this integrates in 4.X vs 3.X.

I don't yet have an isolated test case this is integrated into a whole bunch of code. I will work on creating one as soon as I can.

Do you have any places or configurations I should check until I get a better example?

angelosarto avatar Mar 21 '16 23:03 angelosarto

Sorry for the delay, I'll take a look into this shortly!

ColtonProvias avatar Jun 12 '16 05:06 ColtonProvias

@angelosarto Do you have a code sample that recreates this error?

ColtonProvias avatar Jun 27 '16 03:06 ColtonProvias