Skip to content

Replace plugin does not work #6260

@agross

Description

@agross

Problem

$ beet -vv replace id:42 /
user configuration: /Users/agross/.config/beets/config.yaml
data directory: /Users/agross/.config/beets
plugin paths:
inline: adding item field albumartist_no_va
inline: adding item field maybe_disc
inline: adding item field maybe_soundtrack
fetchart: google: Disabling art source due to missing key
fetchart: lastfm: Disabling art source due to missing key
artresizer: method is ImageMagick
Sending event: pluginload
library database: /Users/agross/.config/beets/library.db
library directory: /Users/agross/Nextcloud/Music
Sending event: library_opened
loadext: loading extension /Users/agross/.config/beets/libicu
Traceback (most recent call last):
  File "/opt/homebrew/bin/beet", line 7, in <module>
    sys.exit(main())
             ~~~~^^
  File "/opt/homebrew/lib/python3.13/site-packages/beets/ui/__init__.py", line 1865, in main
    _raw_main(args)
    ~~~~~~~~~^^^^^^
  File "/opt/homebrew/lib/python3.13/site-packages/beets/ui/__init__.py", line 1852, in _raw_main
    subcommand.func(lib, suboptions, subargs)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: ReplacePlugin.run() takes 3 positional arguments but 4 were given

Setup

  • OS: macOS
  • Python version: 3.13
  • beets version: beets version 2.5.1
  • Turning off plugins made problem go away (yes/no): The problem is related to a plugin

My configuration (output of beet config) is: irrelevant

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugbugs that are confirmed and actionable

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions