Comments (17)
@waltercruz, are you okay with closing this?
sure!
from bt-migrate.
[2016-Feb-29 10:37:46.561257] [E] Error: the argument ('/Users/waltercruz/Library/Application Support/uTorrent/') for option '--source-dir' is invalid
from bt-migrate.
I saw this a while ago and search led me to this boost defect. Are you using boost 1.53 or below (issue seems to be fixed in 1.54)?
from bt-migrate.
boost 1.60, installed through homebrew.
from bt-migrate.
-- Boost version: 1.60.0
-- Found the following Boost libraries:
-- date_time
-- filesystem
-- locale
-- program_options
-- system
-- JsonCpp Version: 0.6.0-dev
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/waltercruz/devel/bt-migrate
from bt-migrate.
Seems like they either didn't fix it or have broken it (or something else) again... I'll switch to std::string
instead of boost::filesystem::path
for options parsing then.
from bt-migrate.
Forgot to mention that the workaround for now would be to use paths of just under 20 chars in length. You could try this:
# ln -s ~/Library/Application\ Support/uTorrent /tmp/bt-src
# ln -s ~/.config/transmission /tmp/bt-dst
# ./bt-migrate --source utorrent --source-dir=/tmp/bt-src --target-dir=/tmp/bt-dst --dry-run --verbose
from bt-migrate.
created the links, and tried to run.
[ waltercruz stark0 ~/devel/bt-migrate ] ./bt-migrate --source utorrent --source-dir=/tmp/bt-src --target-dir=/tmp/bt-dst --dry-run --verbose
[2016-Feb-29 22:34:18.638212] [I] Source: uTorrent ("/Users/waltercruz/Library/Application Support/uTorrent")
[2016-Feb-29 22:34:18.639254] [E] Error: No torrent client matched data directory
maybe something is broken on my side :(
from bt-migrate.
Try passing --target transmission
as well. If destination directory is empty it's hard to guess which client it's for :)
from bt-migrate.
doens't work :(
BTW, the path for transmission files on mac now is ~/Library/Application\ Support/Transmission
But, even wth the right symlinks, it says.. "Import started", "Import succeeded" for all files, but nothing is really imported.
from bt-migrate.
Ouch, I found it! needs to load the .torrent file on transmission again. now it's working!
from bt-migrate.
nvm, I messed up. Here is the correct order that worked for me (using the fix from 29 Feb 2016):
./bt-migrate --source uTorrent --source-dir /tmp/bt-src --target Transmission --target-dir /tmp/bt-dst
Then make sure that your Transmission settings have the following unchecked in Preferences -> Transfers -> Adding: "Start Transfers", "Trash .torrent files" and "Display a window when opening a torrent file".
Then open all the .torrent files form ~/Library/Application\ Support/Transmission/Torrents in Transmission and it should find all the locations automatically using the .resume files. If complete transfers are grey and 100% then it worked.
from bt-migrate.
I'm having the same issue, I can't get this thing to work. Boost 1.62.0, OSX 10.12.6
I did not have a ~/.config/transmission directory though? maybe this location has changed with newer versions of transmission? I made the folder manually.
mkdir ~/.config/transmission
Then did the linking
ln -s ~/Library/Application\ Support/uTorrent /tmp/bt-src
ln -s ~/.config/transmission /tmp/bt-dst
ls -al /tmp/bt*
lrwxr-xr-x 1 deweydb wheel 35B 22 Feb 12:06 /tmp/bt-dst@ -> /Users/deweydb/.config/transmission
lrwxr-xr-x 1 deweydb wheel 51B 22 Feb 12:06 /tmp/bt-src@ -> /Users/deweydb/Library/Application Support/uTorrent
Then trying to run it:
./BtMigrate --source uTorrent --source-dir /tmp/bt-src --target transmission --target-dir /tmp/bt-dst --dry-run --verbose
[2018-Feb-22 12:25:50.851504] [I] Source: uTorrent ("/Users/deweydb/Library/Application Support/uTorrent")
[2018-Feb-22 12:25:50.851966] [E] Error: Bad target data directory: "/Users/deweydb/.config/transmission"
It appears that transmission actually holds its data in ~/Library/Application Support/Transmission
Is that the correct folder to use as destination?
from bt-migrate.
I've finally switched (see c8ebd6b) to std::string
in program options to workaround boost defect mentioned earlier. There was also a number of improvements like adding "TransmissionMac" target in addition to previous "Transmission" target, with former generating not only resume and torrent files (but in proper directories now!) but also Transfers.plist file which allows to avoid any manual actions after the migration. Please do test and see if it works.
Keep in mind that due to the change in resume and torrent files naming in currently unreleased version of Transmission, those files are generated with new-style names by default. See #6 (comment) to get the old names back if you're using 2.9x or older, which is most probably the case.
from bt-migrate.
Since transmission now supports labels, could you maybe implement exporting them from utorrent and importing them to transmission?
from bt-migrate.
@waltercruz, are you okay with closing this?
from bt-migrate.
@j1warren, not merged which means it doesn't really officially support labels yet. Will consider after the merge, but worth creating a separate issue.
EDIT: Sorry, it is merged after all. Separate issue for this would still be better though.
from bt-migrate.
Related Issues (18)
- No tracker information after transfer. HOT 1
- Only part of torrents migrated HOT 14
- Deluge to Transmission: Pickle opcode 128 not yet supported HOT 6
- Newbie problem installing - SQLITE3 HOT 5
- Error: More than one torrent client matched data directory HOT 2
- Aborted (core dumped) HOT 2
- Torrents transferred without names HOT 2
- Aborted: File name too long HOT 1
- Torrents partially downloaded from uTorrent crash transmission when imported
- export from qbittorrent, import to rtorrent HOT 1
- releases please? HOT 1
- Several issues HOT 1
- Missing pthread HOT 1
- Export from Transmission to rTorrent HOT 5
- Imported torrents from rTorrent dont have their save paths set. HOT 2
- deluge to transmission mapped_files not found HOT 5
- Error: Not implemented: GuessDataDir HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bt-migrate.