geigerzaehler / beets-alternatives

Beets plugin to manage external files
MIT License
93 stars 21 forks source link

Undo installation? #9

Closed BrianZbr closed 5 years ago

BrianZbr commented 8 years ago

Beets was working fine, but since I ran pip install git+git://github.com/geigerzaehler/beets-alternatives.git@master, it now gives me the following error:

   File "/usr/local/bin/beet", line 9, in <module>
    load_entry_point('beets==1.3.19', 'console_scripts', 'beet')()
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 351, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2363, in load_entry_point
    return ep.load()
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2088, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/local/lib/python3.4/dist-packages/beets/ui/__init__.py", line 36, in <module>
    from beets import library
  File "/usr/local/lib/python3.4/dist-packages/beets/library.py", line 28, in <module>
    from beets.mediafile import MediaFile, MutagenError, UnreadableFileError
  File "/usr/local/lib/python3.4/dist-packages/beets/mediafile.py", line 380, in <module>
    class StorageStyle(object):
  File "/usr/local/lib/python3.4/dist-packages/beets/mediafile.py", line 410, in StorageStyle
    def __init__(self, key, as_type=unicode, suffix=None, float_places=2):

Any idea how I might get beets working again (with or without alternatives)?

BrianZbr commented 8 years ago

I got beets (mostly) working again by running sudo pip uninstall beets. The badfiles plugin is still broken though.

I originally installed beets via apt-get in Ubuntu 14.04, so maybe using pip to install this plugin created a conflict? Is there a safe way to install 'alternatives' in this case?

BrianZbr commented 8 years ago

I tried installing beet-alternatives through pip3, and it seemed to work but I still get a ** plugin alternatives not found message from beets.

wisp3rwind commented 5 years ago

Also a very old issue, closing this for now. In case you still got this problem, please attach the full traceback (the one you posted is cut off at the end). The problem was probably some combination of incompatible python/beets (maybe very old in the Ubuntu repos)/beets-alternatives versions.