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

Avoid useless './' in file paths #609

Open
treeent opened this issue Mar 6, 2024 · 1 comment
Open

Avoid useless './' in file paths #609

treeent opened this issue Mar 6, 2024 · 1 comment

Comments

@treeent
Copy link

treeent commented Mar 6, 2024

Hi,

While trying to rip a cd, whipper exits with KeyError: 'T'

Here is the traceback:

INFO:whipper.command.cd:FreeDB identifies disc as ['Various / 40 ans de rock français']
Traceback (most recent call last):
  File "/usr/bin/whipper", line 33, in <module>
    sys.exit(load_entry_point('whipper==0.10.0', 'console_scripts', 'whipper')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/whipper/command/main.py", line 56, in main
    ret = cmd.do()
          ^^^^^^^^
  File "/usr/lib/python3.11/site-packages/whipper/command/basecommand.py", line 141, in do
    return self.cmd.do()
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/whipper/command/basecommand.py", line 141, in do
    return self.cmd.do()
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/whipper/command/cd.py", line 155, in do
    out_fpath = self.program.getPath(out_bpath,
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/whipper/common/program.py", line 243, in getPath
    return template % v_fltr  # Avoid useless './' in file paths
           ~~~~~~~~~^~~~~~~~
Copy link

github-actions bot commented Mar 6, 2024

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

To help make it easier for us to investigate your issue, please follow the contributing instructions.

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