Git Product home page Git Product logo

dotfilesmanager's People

Contributors

xyz1001 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

dotfilesmanager's Issues

dfm share的目标文件夹不存在时崩溃

$ dfm share ./941b30d1b9151621491c82b8f0950a97/init.vim ~/.config/nvim/init.vim
Traceback (most recent call last):
  File "/usr/local/bin/dfm", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/site-packages/dfm.py", line 237, in main
    config = __dispatch(args)(config)
  File "/usr/local/lib/python3.9/site-packages/dfm.py", line 227, in share
    return __share(args["<dotfile_path>"], args["<install_path>"], config)
  File "/usr/local/lib/python3.9/site-packages/dfm.py", line 179, in __share
    os.symlink(os.path.abspath(src_path), dst_path)
FileNotFoundError: [Errno 2] No such file or directory: '/Users/xyz1001/dotfiles/941b30d1b9151621491c82b8f0950a97/init.vim' -> '/Users/xyz1001/.config/nvim/init.vim'

python 3.5下报错

~# dfm -h
Traceback (most recent call last):
  File "/usr/local/bin/dfm", line 7, in <module>
    from dfm import main
  File "/usr/local/lib/python3.5/dist-packages/dfm.py", line 40, in <module>
    dotfiles_root = os.path.join(*[Path.home(), "dotfiles"])
  File "/usr/lib/python3.5/posixpath.py", line 89, in join
    genericpath._check_arg_types('join', a, *p)
  File "/usr/lib/python3.5/genericpath.py", line 143, in _check_arg_types
    (funcname, s.__class__.__name__)) from None
TypeError: join() argument must be str or bytes, not 'PosixPath'

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.