Skip to content

beet update fails with VibeNet enabled... #2

@xoph1319

Description

@xoph1319

Hello! I love your plugin, but I'm running into a big of a problem. I ran beet import with vibenet enabled. After running the import, I then had another process remove files from my library, so I tried running beet update.

The result is shown below.

Beets Configuration is shown beneath it.

  valence: 0.286318 -> 0.000000
  energy: 0.408378 -> 0.000000
  instrumentalness: 0.796847 -> 0.000000
  speechiness: 0.180599 -> 0.000000
  liveness: 0.175365 -> 0.000000
  danceability: 0.502622 -> 0.000000
  acousticness: 0.438197 -> 0.000000
Traceback (most recent call last):
  File "/home/chris/.local/bin/beet", line 7, in <module>
    sys.exit(main())
             ~~~~^^
  File "/home/chris/.local/share/pipx/venvs/beets/lib/python3.13/site-packages/beets/ui/__init__.py", line 1870, in main
    _raw_main(args)
    ~~~~~~~~~^^^^^^
  File "/home/chris/.local/share/pipx/venvs/beets/lib/python3.13/site-packages/beets/ui/__init__.py", line 1849, in _raw_main
    subcommand.func(lib, suboptions, subargs)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/chris/.local/share/pipx/venvs/beets/lib/python3.13/site-packages/beets/ui/commands.py", line 1739, in update_func
    update_items(
    ~~~~~~~~~~~~^
        lib,
        ^^^^
    ...<5 lines>...
        opts.exclude_fields,
        ^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/chris/.local/share/pipx/venvs/beets/lib/python3.13/site-packages/beets/ui/commands.py", line 1691, in update_items
    item.store(fields=item_fields)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
  File "/home/chris/.local/share/pipx/venvs/beets/lib/python3.13/site-packages/beets/library.py", line 364, in store
    super().store(fields)
    ~~~~~~~~~~~~~^^^^^^^^
  File "/home/chris/.local/share/pipx/venvs/beets/lib/python3.13/site-packages/beets/dbcore/db.py", line 601, in store
    tx.mutate(query, subvars)
    ~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/home/chris/.local/share/pipx/venvs/beets/lib/python3.13/site-packages/beets/dbcore/db.py", line 964, in mutate
    cursor = self.db._connection().execute(statement, subvals)
sqlite3.OperationalError: no such column: valence
# --------------- Plugins ---------------

plugins: [vibenet, duplicates, inline]
directory: /bigpool/media/music/Root_Folder
library: /bigpool/media/beets_library/beets.db
threaded: no
plugins:
  - vibenet
  - duplicates
  - inline
import:
  copy: no
  write: yes
  log: beets.log
inline:
  item_fields:
    format_rank: |
      f = (item.get('format') or '').lower()
      if f == 'flac':
          return 0
      elif f == 'alac':
          return 1
      elif f in ('aac', 'm4a'):
          return 2
      elif f == 'mp3':
          return 3
      else:
          return 9
duplicates:
  path: yes
  tiebreak:
    items: [format_rank, bitrate]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions