-
Notifications
You must be signed in to change notification settings - Fork 15
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
Only part of torrents migrated #10
Comments
Hi @luckiestone, I'm currently on vacation in Cuba (until December 9) and am unable to properly assist. I'll have to look at it closer once I get back, but my hope is that the tool does support Unicode. When you get this dialog window popping up, could you try clicking the Retry button and then posting the callstack/backtrace that will be displayed in one of Visual Studio's tool windows (usually at the bottom)? |
@mikedld Thanks for your reply! Sorry for posting the issue during your vacation! Please enjoy your vacation first!
Thanks, and have a nice vacation! Update with the environment: |
@luckiestone, please try this build to see if it fixes things (seems to do the job on my side): https://trtc.mikedld.com/viewLog.html?buildId=76375&buildTypeId=BtMigrate_WindowsX64&tab=artifacts#%2Fbinaries.zip |
@mikedld Thank you for the build, but it still not working. It runs without error, but only a part was extracted, and it's 67 out of 434 torrents. The output resume and torrent files are still with additional extensions, it seems that the tool did not finish the whole process, which is similar to my build, but just without errors shown. |
Does it finish successfully, with no "Error: ..." lines in console at the very end and no questions asked? Are you running a clean import, i.e. are those files being created anew or were they maybe created during some earlier import attempts? |
@mikedld Yes it ran without questions nor any error in each line. In console it shows those torrents with Chinese or Japanese characters are exported successfully, but the Unicode characters shown in console become some random characters which were not they supposed to be. |
One more thing, when the tool runs do you see 434 torrents being printed in the console as being processed or only 67? In the latter case, would you mind sending me (mikedld@<ditto>.com) the "resume.dat" file residing in your |
Sent with cmd log. |
Here's another build for you to try: https://trtc.mikedld.com/viewLog.html?buildId=76377&buildTypeId=BtMigrate_WindowsX64&tab=artifacts#%2Fbinaries.zip It should now hopefully pass with your data, but will issue a few warnings concerning invalid (non-UTF-8) paths. Save the log somewhere and see if those torrents are fine or need to be removed and migrated manually. |
@mikedld Sorry for the late reply. I don't what tricks you have done, but this build works flawlessly! But there's another issue here. In the resume files the the destination is , and then I stop transmission, copy the remuse and torrents folder to where they should be. Then I start transmission. All the torrents I added began to download, and I found that their destination folder was changed to transmission default download folder let's say . It seems Transmission is just ignoring the resume file and only load the torrent. And if I just let transmission download the file, I can not find any modifications to the resume file, and no new resume file is created in the resume folder. Transmission is in a Docker container, it's so weird. ==================EDIT==================
I think chances are that there were some unicode named |
If you're using Transmission 2.9x or older, please read #6 (comment). Basically, you'd want to set |
Thanks for the info, and sorry for the silly question, but how can I set |
On Windows with cmd, you'd use > set BT_MIGRATE_TRANSMISSION_2_9X=1
> BtMigrate.exe ... |
Thanks problem solved! |
Hi mikedld, thank you for making this amazing tool.
I've spent two whole days to deal with the environment building, and finally cmake found boost libraries.
My platform is Windows 10, and I run the compiled exe file in debug folder(I guess it's correct)
In cmd i run
D:\bt-migrate\_build\Debug>BtMigrate.exe --source utorrent --source-dir D:\uTorrent --target transmission --target-dir D:\transmission
However, there were errors during I run the program, and only part of torrents are extracted. And the exported
.resume
and.torrent
file hava extensions likexxxxxx.tmp.20191202T203504.416060
. I guess it might have something to do with early abort. The error is shown in picture.It seems that something like UTF-8 or else is not supported, I've got many torrents containing Japanese and Chinese characters, none of them is extracted. I guess this might be the reason the programe is aborted.
Do you have any idea how to fix this problem?
Great great thanks for the tool, I've got thousands of torrents need to be migrated to transmission.
The text was updated successfully, but these errors were encountered: