Giter Club home page Giter Club logo

Comments (17)

waltercruz avatar waltercruz commented on July 4, 2024 1

@waltercruz, are you okay with closing this?

sure!

from bt-migrate.

waltercruz avatar waltercruz commented on July 4, 2024

[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.

mikedld avatar mikedld commented on July 4, 2024

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.

waltercruz avatar waltercruz commented on July 4, 2024

boost 1.60, installed through homebrew.

from bt-migrate.

waltercruz avatar waltercruz commented on July 4, 2024

-- 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.

mikedld avatar mikedld commented on July 4, 2024

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.

mikedld avatar mikedld commented on July 4, 2024

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.

waltercruz avatar waltercruz commented on July 4, 2024

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.

mikedld avatar mikedld commented on July 4, 2024

Try passing --target transmission as well. If destination directory is empty it's hard to guess which client it's for :)

from bt-migrate.

waltercruz avatar waltercruz commented on July 4, 2024

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.

waltercruz avatar waltercruz commented on July 4, 2024

Ouch, I found it! needs to load the .torrent file on transmission again. now it's working!

from bt-migrate.

rakudaniku avatar rakudaniku commented on July 4, 2024

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".
screen shot 2017-05-16 at 22 03 56

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.

deweydb avatar deweydb commented on July 4, 2024

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.

mikedld avatar mikedld commented on July 4, 2024

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.

j1warren avatar j1warren commented on July 4, 2024

Since transmission now supports labels, could you maybe implement exporting them from utorrent and importing them to transmission?

transmission/transmission#822

from bt-migrate.

mikedld avatar mikedld commented on July 4, 2024

@waltercruz, are you okay with closing this?

from bt-migrate.

mikedld avatar mikedld commented on July 4, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.