Windows tool for migration from Bittorrent/uTorrent/Deluge to qBittorrent

Windows specific questions, problems.
Post Reply
DeathStalker
Newbie
Newbie
Posts: 18
Joined: Mon Jul 30, 2012 6:35 pm

Re: Windows tool for migration from Bittorrent/uTorrent/Deluge to qBittorrent

Post by DeathStalker »

Hmmm, so no one has run any tests on the issues that I posted about last year?  Sad.

Maybe it's not an issue if you don't currently use the pre-allocation and !ut extension, I don't know.  But I still feel it is something that should be looked into.  I won't be giving it another try until more testing has been done (not with ~2k titles I current have loaded on multiple trackers).
rumanzo
VIP
VIP
Posts: 86
Joined: Fri Dec 29, 2017 6:46 pm

Re: Windows tool for migration from Bittorrent/uTorrent/Deluge to qBittorrent

Post by rumanzo »

[quote="DeathStalker"]
Hmmm, so no one has run any tests on the issues that I posted about last year?  Sad.

Maybe it's not an issue if you don't currently use the pre-allocation and !ut extension, I don't know.  But I still feel it is something that should be looked into.  I won't be giving it another try until more testing has been done (not with ~2k titles I current have loaded on multiple trackers).
[/quote]

I have already said everything.
There is a difference in saving the pieces of files, I tried to compare them and understand the pattern and did not succeed, the bittorrent\utorrent is closed source software, and programming is my hobby (useful for work).
You can prepare for migrating - finish all your downloads before importing, or uncheck the option add !ut|!bt to file extension.

I'm not sure that I will ever be able to implement this feature.
If you want to implement this feature - you can do pull request, or at least help me with the analysis of the difference of saving pieces qBittorrent (*.parts) and uTorrent (*.dat).
kkorsch
Newbie
Newbie
Posts: 1
Joined: Fri Apr 19, 2019 2:50 am

Re: Windows tool for migration from Bittorrent/uTorrent/Deluge to qBittorrent

Post by kkorsch »

Hi, I'm excited to try your tool.  I currently have uTorrent 2.2.1 and looking to migrate to the latest qBittorrent which I have installed.  When I run v.1.0 of the tool from command prompt in Windows 7 I get the following error message:

C:\TEMP\uTorrent Migration>bt2qbt_v1.0_amd64
It will be performed processing from directory C:\Users\Alan\AppData\Roaming\uTo
rrent\ to directory C:\Users\Alan\AppData\Local\qBittorrent\BT_backup\
Check that the qBittorrent is turned off and the directory C:\Users\Alan\AppData
\Local\qBittorrent\BT_backup\ and config C:\Users\Alan\AppData\Roaming\qBittorre
nt\qBittorrent.ini is backed up.

Press Enter to start

2019/04/18 22:38:38 Started
fatal error: all goroutines are asleep - deadlock!

goroutine 1 [chan receive]:
main.main()
        /go/src/bt2qbt/bt2qbt.go:571 +0x11eb

goroutine 22 [chan send]:
main.logic(0xc000035f10, 0x6b, 0xc00005b650, 0xc000030310, 0xc00000a140, 0xc0000
0a141, 0xc000030320, 0xc000558060, 0xc0005580c0, 0x4, ...)
        /go/src/bt2qbt/bt2qbt.go:404 +0x15c1
created by main.main
        /go/src/bt2qbt/bt2qbt.go:562 +0xc38

goroutine 378 [semacquire]:
sync.runtime_Semacquire(0xc00000a078)
        /usr/local/go/src/runtime/sema.go:56 +0x40
sync.(*WaitGroup).Wait(0xc00000a070)
        /usr/local/go/src/sync/waitgroup.go:130 +0x6b
main.main.func1(0xc00000a070, 0xc000558060, 0xc0005580c0)
        /go/src/bt2qbt/bt2qbt.go:567 +0x32
created by main.main
        /go/src/bt2qbt/bt2qbt.go:566 +0x1085

C:\TEMP\uTorrent Migration>

Same happens when I run with the no tags option.  It seems that someone above was succesful with uTorrent 2 so I figure I must be doing something wrong.
rumanzo
VIP
VIP
Posts: 86
Joined: Fri Dec 29, 2017 6:46 pm

Re: Windows tool for migration from Bittorrent/uTorrent/Deluge to qBittorrent

Post by rumanzo »

Thanks for writing this message. It's defenetly a bug, i try to fix it in short time
rumanzo
VIP
VIP
Posts: 86
Joined: Fri Dec 29, 2017 6:46 pm

Re: Windows tool for migration from Bittorrent/uTorrent/Deluge to qBittorrent

Post by rumanzo »

[quote="kkorsch"]
Hi, I'm excited to try your tool.  I currently have uTorrent 2.2.1 and looking to migrate to the latest qBittorrent which I have installed.  When I run v.1.0 of the tool from command prompt in Windows 7 I get the following error message:

C:\TEMP\uTorrent Migration>bt2qbt_v1.0_amd64
It will be performed processing from directory C:\Users\Alan\AppData\Roaming\uTo
rrent\ to directory C:\Users\Alan\AppData\Local\qBittorrent\BT_backup\
Check that the qBittorrent is turned off and the directory C:\Users\Alan\AppData
\Local\qBittorrent\BT_backup\ and config C:\Users\Alan\AppData\Roaming\qBittorre
nt\qBittorrent.ini is backed up.

Press Enter to start

2019/04/18 22:38:38 Started
fatal error: all goroutines are asleep - deadlock!

goroutine 1 [chan receive]:
main.main()
        /go/src/bt2qbt/bt2qbt.go:571 +0x11eb

goroutine 22 [chan send]:
main.logic(0xc000035f10, 0x6b, 0xc00005b650, 0xc000030310, 0xc00000a140, 0xc0000
0a141, 0xc000030320, 0xc000558060, 0xc0005580c0, 0x4, ...)
        /go/src/bt2qbt/bt2qbt.go:404 +0x15c1
created by main.main
        /go/src/bt2qbt/bt2qbt.go:562 +0xc38

goroutine 378 [semacquire]:
sync.runtime_Semacquire(0xc00000a078)
        /usr/local/go/src/runtime/sema.go:56 +0x40
sync.(*WaitGroup).Wait(0xc00000a070)
        /usr/local/go/src/sync/waitgroup.go:130 +0x6b
main.main.func1(0xc00000a070, 0xc000558060, 0xc0005580c0)
        /go/src/bt2qbt/bt2qbt.go:567 +0x32
created by main.main
        /go/src/bt2qbt/bt2qbt.go:566 +0x1085

C:\TEMP\uTorrent Migration>

Same happens when I run with the no tags option.  It seems that someone above was succesful with uTorrent 2 so I figure I must be doing something wrong.
[/quote]

I can repeat a bug and fix this in version 1.1 https://github.com/rumanzo/bt2qbt/releases . But this deadlock repeats only if bt2qbt can't find all torrent's. Try new verion and if it's not work with you case we will find why this happens.
simidef
Newbie
Newbie
Posts: 1
Joined: Sat Apr 27, 2019 3:50 pm

Re: Windows tool for migration from Bittorrent/uTorrent/Deluge to qBittorrent

Post by simidef »

Works like charm! Saved me a lot of time and effort!

win7/i386 migrating from utorrent 3.5 (build 44090)

Hats off for great work rumanzo!
aaaa1234
Newbie
Newbie
Posts: 3
Joined: Mon Jan 08, 2018 3:51 pm

Re: Windows tool for migration from Bittorrent/uTorrent/Deluge to qBittorrent

Post by aaaa1234 »

Hello,

I tried using the tool, but it only copied 1 torrent.
I ran it again, and it copied 2.

I have about 1300 torrents, and I'm not getting any error messages.

This is a sample of how the routine ends:

Code: Select all

goroutine 1172 [semacquire]:
sync.runtime_Semacquire(0x123e8c7c)
        C:/msys64/mingw64/lib/go/src/runtime/sema.go:56 +0x2e
sync.(*WaitGroup).Wait(0x123e8c70)
        C:/msys64/mingw64/lib/go/src/sync/waitgroup.go:129 +0x7a
main.main.func1(0x123e8c70, 0x12410040, 0x12410080)
        C:/Users/rumanzo/eclipse-workspace/testinggo/src/deluge2qbt/deluge2qbt.go:340 +0x21
created by main.main
        C:/Users/rumanzo/eclipse-workspace/testinggo/src/deluge2qbt/deluge2qbt.go:339 +0xed4
Please help, thanks. I'm trying to migrate from deluge.
rumanzo
VIP
VIP
Posts: 86
Joined: Fri Dec 29, 2017 6:46 pm

Re: Windows tool for migration from Bittorrent/uTorrent/Deluge to qBittorrent

Post by rumanzo »

[quote="aaaa1234"]
Hello,

I tried using the tool, but it only copied 1 torrent.
I ran it again, and it copied 2.

I have about 1300 torrents, and I'm not getting any error messages.

This is a sample of how the routine ends:

Code: Select all

goroutine 1172 [semacquire]:
sync.runtime_Semacquire(0x123e8c7c)
        C:/msys64/mingw64/lib/go/src/runtime/sema.go:56 +0x2e
sync.(*WaitGroup).Wait(0x123e8c70)
        C:/msys64/mingw64/lib/go/src/sync/waitgroup.go:129 +0x7a
main.main.func1(0x123e8c70, 0x12410040, 0x12410080)
        C:/Users/rumanzo/eclipse-workspace/testinggo/src/deluge2qbt/deluge2qbt.go:340 +0x21
created by main.main
        C:/Users/rumanzo/eclipse-workspace/testinggo/src/deluge2qbt/deluge2qbt.go:339 +0xed4
Please help, thanks. I'm trying to migrate from deluge.
[/quote]

Hi! Thanks for bug report. I will try to fix it as fast as i can.
rumanzo
VIP
VIP
Posts: 86
Joined: Fri Dec 29, 2017 6:46 pm

Re: Windows tool for migration from Bittorrent/uTorrent/Deluge to qBittorrent

Post by rumanzo »

[quote="aaaa1234"]
Hello,

I tried using the tool, but it only copied 1 torrent.
I ran it again, and it copied 2.

I have about 1300 torrents, and I'm not getting any error messages.

This is a sample of how the routine ends:

Code: Select all

goroutine 1172 [semacquire]:
sync.runtime_Semacquire(0x123e8c7c)
        C:/msys64/mingw64/lib/go/src/runtime/sema.go:56 +0x2e
sync.(*WaitGroup).Wait(0x123e8c70)
        C:/msys64/mingw64/lib/go/src/sync/waitgroup.go:129 +0x7a
main.main.func1(0x123e8c70, 0x12410040, 0x12410080)
        C:/Users/rumanzo/eclipse-workspace/testinggo/src/deluge2qbt/deluge2qbt.go:340 +0x21
created by main.main
        C:/Users/rumanzo/eclipse-workspace/testinggo/src/deluge2qbt/deluge2qbt.go:339 +0xed4
Please help, thanks. I'm trying to migrate from deluge.
[/quote]
Try new version https://github.com/rumanzo/deluge2qbt/releases
aaaa1234
Newbie
Newbie
Posts: 3
Joined: Mon Jan 08, 2018 3:51 pm

Re: Windows tool for migration from Bittorrent/uTorrent/Deluge to qBittorrent

Post by aaaa1234 »

Hello,

Thank you for trying to help! I tried the updated version, and it still only copied a few torrents.

Code: Select all

goroutine 1158 [runnable]:
main.logic(0x126aea20, 0x28, 0x5, 0x0, 0x5aa151a0, 0x0, 0x0, 0x0, 0x0,
        /home/kostinan/go/src/deluge2qbt/deluge2qbt.go:163
created by main.main
        /home/kostinan/go/src/deluge2qbt/deluge2qbt.go:364 +0x113f

goroutine 1159 [runnable]:
main.logic(0x133523c0, 0x28, 0x3, 0x0, 0x5aa1519c, 0x0, 0x0, 0x0, 0x0,
        /home/kostinan/go/src/deluge2qbt/deluge2qbt.go:163
created by main.main
        /home/kostinan/go/src/deluge2qbt/deluge2qbt.go:364 +0x113f

goroutine 1160 [semacquire]:
sync.runtime_Semacquire(0x13150f08)
        /usr/lib/go/src/runtime/sema.go:56 +0x2e
sync.(*WaitGroup).Wait(0x13150f00)
        /usr/lib/go/src/sync/waitgroup.go:130 +0x7d
main.main.func1(0x13150f00, 0x124380c0, 0x12438100)
        /home/kostinan/go/src/deluge2qbt/deluge2qbt.go:368 +0x21
created by main.main
        /home/kostinan/go/src/deluge2qbt/deluge2qbt.go:367 +0x15d8
Sample of the end of the routine.
rumanzo
VIP
VIP
Posts: 86
Joined: Fri Dec 29, 2017 6:46 pm

Re: Windows tool for migration from Bittorrent/uTorrent/Deluge to qBittorrent

Post by rumanzo »

[quote="aaaa1234"]
Hello,

Thank you for trying to help! I tried the updated version, and it still only copied a few torrents.

Code: Select all

goroutine 1158 [runnable]:
main.logic(0x126aea20, 0x28, 0x5, 0x0, 0x5aa151a0, 0x0, 0x0, 0x0, 0x0,
        /home/kostinan/go/src/deluge2qbt/deluge2qbt.go:163
created by main.main
        /home/kostinan/go/src/deluge2qbt/deluge2qbt.go:364 +0x113f

goroutine 1159 [runnable]:
main.logic(0x133523c0, 0x28, 0x3, 0x0, 0x5aa1519c, 0x0, 0x0, 0x0, 0x0,
        /home/kostinan/go/src/deluge2qbt/deluge2qbt.go:163
created by main.main
        /home/kostinan/go/src/deluge2qbt/deluge2qbt.go:364 +0x113f

goroutine 1160 [semacquire]:
sync.runtime_Semacquire(0x13150f08)
        /usr/lib/go/src/runtime/sema.go:56 +0x2e
sync.(*WaitGroup).Wait(0x13150f00)
        /usr/lib/go/src/sync/waitgroup.go:130 +0x7d
main.main.func1(0x13150f00, 0x124380c0, 0x12438100)
        /home/kostinan/go/src/deluge2qbt/deluge2qbt.go:368 +0x21
created by main.main
        /home/kostinan/go/src/deluge2qbt/deluge2qbt.go:367 +0x15d8
Sample of the end of the routine.
[/quote]
With aaaa1234 we fixed this in version 1.1
jeremiasb
Newbie
Newbie
Posts: 1
Joined: Fri Jul 12, 2019 10:37 pm

Re: Windows tool for migration from Bittorrent/uTorrent/Deluge to qBittorrent

Post by jeremiasb »

It worked nicely!

Thank you very much!
rumanzo
VIP
VIP
Posts: 86
Joined: Fri Dec 29, 2017 6:46 pm

Re: Windows tool for migration from Bittorrent/uTorrent/Deluge to qBittorrent

Post by rumanzo »

[quote="Kamemads"]
Are there any plans for a Windows Phone release? I have a friend who is interested in buying the game when it comes out, but the only system he has that hed want to play it on is Windows Phone 8.
[/quote]
???
MountainInside
Newbie
Newbie
Posts: 14
Joined: Sun Aug 11, 2019 5:43 pm

Re: Windows tool for migration from Bittorrent/uTorrent/Deluge to qBittorrent

Post by MountainInside »

Thanks, worked great.  8)

I migrated 4000+ torrents from uTorrent (Mac) to QBittorrent (Mac), I just had to use a windows VM to convert the profile folder.
rumanzo
VIP
VIP
Posts: 86
Joined: Fri Dec 29, 2017 6:46 pm

Re: Windows tool for migration from Bittorrent/uTorrent/Deluge to qBittorrent

Post by rumanzo »

[quote="MountainInside"]
Thanks, worked great.  8)

I migrated 4000+ torrents from uTorrent (Mac) to QBittorrent (Mac), I just had to use a windows VM to convert the profile folder.
[/quote]
Hello! You could ask :-)
Simple modification and compilation on macos, and you can migrate.
I did not know that there was a utorrent on mac too and did not count on this target audience. I will have to deal with the issue. Only with debugging it will be more difficult - I do not have a mac.
Post Reply