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

[StreamRip 1.1] Config file not found #131

Closed
Poloche9x7 opened this issue Jul 31, 2021 · 3 comments
Closed

[StreamRip 1.1] Config file not found #131

Poloche9x7 opened this issue Jul 31, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Poloche9x7
Copy link

Poloche9x7 commented Jul 31, 2021

Bug Report

Current Behavior
Config file not found after updated tool from 0.71 to 1.1

Command used:

pip3 install streamrip --upgrade
rip config --open

Expected behavior
Config file not found with new version 1.1

streamrip Configuration File (find using rip config -o):

# Paste the contents of config.toml here
# REMOVE YOUR CREDENTIALS
[your]

error, can't check my config file...

Environment

  • streamrip version(s): v1.1
  • Python version: 3.9
  • OS: Windows 10

Traceback

C:\Users\user>rip config --open

  FileNotFoundError

  [Errno 2] No such file or directory: 'C:\\Users\\user\\AppData\\Local\\streamrip\\streamrip\\config.toml'

  at c:\users\user\appdata\local\programs\python\python39\lib\shutil.py:264 in copyfile
       260│
       261│     if not follow_symlinks and _islink(src):
       262│         os.symlink(os.readlink(src), dst)
       263│     else:
    →  264│         with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
       265│             # macOS
       266│             if _HAS_FCOPYFILE:
       267│                 try:
       268│                     _fastcopy_fcopyfile(fsrc, fdst, posix._COPYFILE_DATA)

If this was unexpected, please open a Bug Report at https://github.com/nathom/streamrip/issues/new/choose
@Poloche9x7 Poloche9x7 added the bug Something isn't working label Jul 31, 2021
@khanh-ne
Copy link

Similar bug. I tried to create the folder for the config.toml but there is still an error with the shutil.py. No idea how to fix

@Poloche9x7
Copy link
Author

Poloche9x7 commented Jul 31, 2021

You need to create path and copy your old config.toml in the directory.
After type : rip config --open and the tool will replace your config file to the new :)

@khanh-ne
Copy link

You need to create path and copy your old config.toml in the directory.
After type : rip config --open and the tool will replace your config file to the new :)

Thanks, I successfully fixed it.

@nathom nathom closed this as completed in 9c15293 Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants