Skip to content
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

error in ln #10

Closed
jaraco opened this issue Oct 27, 2022 · 0 comments
Closed

error in ln #10

jaraco opened this issue Oct 27, 2022 · 0 comments

Comments

@jaraco
Copy link
Owner

jaraco commented Oct 27, 2022

I recently tried to use ln on a Windows box to create symlink, but it failed:

jaraco@nobunaga ~ $ ln -s Dropbox\config\.xonshrc
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "c:\users\jaraco\.local\bin\ln.exe\__main__.py", line 7, in <module>
  File "C:\Users\jaraco\.local\pipx\venvs\cmdix\Lib\site-packages\cmdix\__init__.py", line 128, in run
    return run_subcommand(commandname, argv)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\jaraco\.local\pipx\venvs\cmdix\Lib\site-packages\cmdix\__init__.py", line 166, in run_subcommand
    args.func(args)
  File "C:\Users\jaraco\.local\pipx\venvs\cmdix\Lib\site-packages\cmdix\command\ln.py", line 37, in func
    dst = os.path.basename(src)
          ^^^^^^^^^^^^^^^^^^^^^
  File "<frozen ntpath>", line 242, in basename
  File "<frozen ntpath>", line 211, in split
TypeError: expected str, bytes or os.PathLike object, not list
@jaraco jaraco closed this as completed in 9fbc5f1 Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant