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

Getting a couple of issues when running through both module and CLI #2

Closed
Snazzyham opened this issue Sep 2, 2021 · 7 comments
Closed

Comments

@Snazzyham
Copy link

Getting

Failed to insert object with error MongoError: Invalid Operation, no operations specified

Any idea why this may be?

@myisaak
Copy link
Owner

myisaak commented Sep 3, 2021

Can you please describe how you were lead to this issue. I'm not able to reproduce it on my machine.

@myisaak
Copy link
Owner

myisaak commented Sep 3, 2021

Also your environment details.

@ursomniac2
Copy link

I have the same issue. I'm trying to migrate from a Django-generated SQLite3 db/file into MongoDB.
What happens is that the first two tables load (auth_permission, django_admin_log) and then it dies with the aforementioned error.

I'm curious if the name space used for Django tables is confusing your script (i.e., we need to create multiple collections at the Django app level)? (Or I'm just completely lost.). In any case, the problem is repeatable.

@ursomniac2
Copy link

Of course the two tables that DO load are ones that I completely don't need. :-) It's basically all the other tables that are important (well, most of them).

@myisaak
Copy link
Owner

myisaak commented Dec 7, 2021

Hi @ursomniac2 thanks for the info. I'll try again to reproduce this issue using your input.

@myisaak
Copy link
Owner

myisaak commented Dec 7, 2021

It would be helpful if you can send me the db file, or its schema with list of table names

@myisaak
Copy link
Owner

myisaak commented Dec 8, 2021

Ok I've pushed a fix upstream. Please let me know if it works now @ursomniac2 and @Snazzyham (Sorry for the long wait)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants