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

[BUG] Error during migration from V2 #201

Closed
fdufnews opened this issue Nov 10, 2024 · 7 comments
Closed

[BUG] Error during migration from V2 #201

fdufnews opened this issue Nov 10, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@fdufnews
Copy link

Describe the bug 🐛
Migrating from V2 gives an error
During migrate I have the following in my console

[+] Migrating` from v2...
[+] Checking for old data
[+] Found old data Converting
Database already exists. Do you want to overwrite it? (y/n): y
[!] Error converting data: 'dict' object has no attribute '_sa_instance_state'

To Reproduce 🐣
From a configuration previously using dooit v2

  1. enter dooit migrate

Expected behavior 🤔

Screenshots 🧐

Desktop (please complete the following information): 🤖

  • OS: Linux 6.6.51+rpt-rpi-v8 aarch64
  • python 3.11.2

Additional context 📝

@fdufnews fdufnews added the bug Something isn't working label Nov 10, 2024
@fdufnews fdufnews changed the title [BUG] [BUG] Error during migration from V2 Nov 10, 2024
@kraanzu
Copy link
Member

kraanzu commented Nov 10, 2024

Hmmm..pretty werid. Lemme doube check. Did it contain a lot of todos?

@fdufnews
Copy link
Author

fdufnews commented Nov 10, 2024

Here find my configuration file and the todo.yaml
filesl.zip

For information, it behaves the same under Ubuntu and Python 3.12

@kraanzu
Copy link
Member

kraanzu commented Nov 10, 2024

Oh..Nice...I was going to ask for a redacted one but hey, thanks

@kraanzu
Copy link
Member

kraanzu commented Nov 10, 2024

For information, it behaves the same under Ubuntu and Python 3.12

yea yea, it has something to do with the SQL lib

Edit: OK I can replicate the error. working on it

Copy link

Did we solve your problem?
Glad we could help!

Consider sponsoring my work through github sponsors 😄
@kraanzu

@kraanzu
Copy link
Member

kraanzu commented Nov 10, 2024

Hi @fdufnews, can you try again with the latest version? Thanks

@fdufnews
Copy link
Author

Yes, just getting the last release and migration was successful
Thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants