Recieving SQLDecodeError for djongo migration

127 views
Skip to first unread message

David Meushar

unread,
Nov 8, 2021, 1:59:23 AM11/8/21
to djongo
Trying to migrate a django project to mongodb recieving this error:
djongo.exceptions.SQLDecodeError:

        Keyword: None
        Sub SQL: None
        FAILED SQL: ('SELECT "openwisp_users_organizationuser"."created", "openwisp_users_organizationuser"."modified", "openwi
sp_users_organizationuser"."is_admin", "openwisp_users_organizationuser"."id", "openwisp_users_organizationuser"."organization_
id", "openwisp_users_organizationuser"."user_id" FROM "openwisp_users_organizationuser" WHERE ("openwisp_users_organizationuser
"."is_admin" AND "openwisp_users_organizationuser"."organization_id" = %(0)s) ORDER BY "openwisp_users_organizationuser"."creat
ed" ASC LIMIT 1',)
        Params: ((UUID('ba052935-7bd6-4262-9860-593d33f1934c'),),)
        Version: 1.3.6

The above exception was the direct cause of the following exception:
Thread in stackoverflow:
https://stackoverflow.com/questions/69871853/recieving-sqldecodeerror-for-djongo-migration

David Meushar

unread,
Nov 8, 2021, 2:05:42 AM11/8/21
to djongo
Using latest version of djongo

ב-יום שני, 8 בנובמבר 2021 בשעה 08:59:23 UTC+2, ‪David Meushar‬‏ כתב/ה:
Reply all
Reply to author
Forward
0 new messages