whipper-team / whipper

Python CD-DA ripper preferring accuracy over speed
GNU General Public License v3.0
1.15k stars 91 forks source link

whatlogger no longer recognized #56

Closed peaveyman closed 8 years ago

peaveyman commented 8 years ago

I just updated whipper a few days ago. I installed whatlogger using the instructions from the readme file. I have whatlogger set as the default logger in the conf file for whipper but when trying to rip a cd it tells me no logger named what found. Could this be because of the backward incompatible changes that were made? Using the whatlogger is essential if whipper is going to be adopted by what.cd as an approved ripper.

JoeLametta commented 8 years ago

Arch Linux's AUR package was updated to mention the non backward compatible changes: please read it HERE. They're also mentioned in whipper's README and I'm pretty sure I've announced it on the forum too. As written on What, morituri-whatlogger's README needs to be updated to provide working installation instructions for whipper.

RecursiveForest commented 8 years ago

This was a bug with https://github.com/RecursiveForest/morituri-whatlogger which has now been fixed.

peaveyman commented 8 years ago

I don't know where those instructions put the plugin but it's not where it's recognized by whipper.

JoeLametta commented 8 years ago

@peaveyman @RecursiveForest

You're right: instructions are wrong. "Build it" section is fine, then do the following:

XDG_DATA_HOME=$HOME/.local/share
mkdir -p $XDG_DATA_HOME/.whipper/plugins
cp dist/morituri_*egg $XDG_DATA_HOME/.whipper/plugins

Now it should be correctly recognized.

Thanks for the issue report.

peaveyman commented 8 years ago

Nope, still doesn't recognize the plugin.

JoeLametta commented 8 years ago

There was a bug in whipper's code: try updating it and please test if the logger plugin gets recognized (there should be no need to follow the instructions from the start again).

Just try running: rip cd rip --help

peaveyman commented 8 years ago

I just now updated whipper. The logger plugin isn't recognized. Following this instructions here:

https://github.com/RecursiveForest/morituri-whatlogger After the plugin installation the instructions to cp the plugin to the proper folder doesn't work. This is what I ran: export XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-"${HOME}/.config"} mkdir -p $XDG_CONFIGHOME/.whipper/plugins cp dist/morituri*egg $XDG_CONFIG_HOME/.whipper/plugins

I don't know where XDG_CONFIG_HOME is. I thought it would be like this: /home/gary/.whipper/plugins but after running this I still don't have /home/gary/.whipper/plugins. I have /home/gary/.whipper but I had already created that folder earlier.

JoeLametta commented 8 years ago

I just now updated whipper. The logger plugin isn't recognized.

  1. First of all please confirm the version of whipper you're using running: rip -v.
  2. Then issue the following commands (deleting unneeded paths):
   rm -rf "$HOME/.whipper"
   rm -rf "$HOME/.config/.whipper"
   rm -rf "$HOME/.local/share/.whipper"
  1. Follow the fixed instructions reported below:

To use this plugin:


I don't know where XDG_CONFIG_HOME is.

It's in: $HOME/.local/share (so, in your case, the resolved path is: /home/gary/.local/share).

peaveyman commented 8 years ago

This still isn't putting the logger plugin where it needs to be, which is ~/.local/share/whipper/plugins

peaveyman commented 8 years ago

It seems the problem, for me at least, is this:

mkdir -p $XDG_DATAHOME/.whipper/plugins cp dist/morituri*egg $XDG_DATA_HOME/.whipper/plugins

Need to change .whipper to whipper

JoeLametta commented 8 years ago

You're right: didn't spot the erroneous dot at night (sorry). I've updated the instructions in my previous message.

BTW: You can find all correct paths whipper uses in the README.

RecursiveForest commented 7 years ago

This is a bug with the logger('s readme), you should file such bugs over at the correct repository so I get properly notified about them.

However, the latest git head has this fixed, thanks.

peaveyman commented 7 years ago

Sorry about that. I wasn't thinking. Thanks for the heads up about it.