beets icon indicating copy to clipboard operation
beets copied to clipboard

error: none of the paths are importable when --from-logfile import_log

Open shurushetr opened this issue 10 months ago • 1 comments

When running import with -q like so

beet -v import -q -l import_log /music/ING/ALBUMS_PUB/Noize\ MC/2009\ -\ OST\ Розыгрыш/

I can get a log like this

import started Sun Feb  1 08:43:42 2026
skip /music/ING/ALBUMS_PUB/Noize MC/2009 - OST Розыгрыш

Then running

beet -v import -q --set group=$GROUP --from-logfile import_log

Returns

error: none of the paths are importable

Problem

Running this command in verbose (-vv) mode:

root@4a9841831d6e:/config# beet -vv import  --from-logfile /config/log_importer_test_l
user configuration: /config/config.yaml
data directory: /config
plugin paths: []
Loading plugins: albumtypes, chroma, discogs, duplicates, edit, embedart, fetchart, fromfilename, ftintitle, hook, info, lastgenre, lyrics, missing, musicbrainz, scrub, web
fetchart: google: Disabling art source due to missing key
lastgenre: Loading whitelist /lsiopy/lib/python3.12/site-packages/beetsplug/lastgenre/genres.txt
lastgenre: Loading canonicalization tree /lsiopy/lib/python3.12/site-packages/beetsplug/lastgenre/genres-tree.yaml
Sending event: pluginload
library database: /config/music.db
library directory: /music/LIB
Sending event: library_opened
error: none of the paths are importable
root@4a9841831d6e:/config#

Setup

  • OS: Docker Alipine (linuxserver.io)
  • Python version: Python 3.12.12 (main, Oct 10 2025, 13:30:56) [GCC 14.2.0] on linux
  • beets version:
beets version 2.5.1
Python version 3.12.12
plugins: albumtypes, chroma, discogs, duplicates, edit, embedart, fetchart, fromfilename, ftintitle, hook, info, lastgenre, lyrics, missing, musicbrainz, scrub, web
  • Turning off plugins made problem go away (yes/no): no

What I tried

Adding quotes like so

import started Sun Feb  1 08:43:42 2026
skip "/music/ING/ALBUMS_PUB/Noize MC/2009 - OST Розыгрыш/"

Escaping spaces like so (from bash autocomplete)

import started Sun Feb  1 08:43:42 2026
skip /music/ING/ALBUMS_PUB/Noize\ MC/2009\ -\ OST\ Розыгрыш/

And combination

import started Sun Feb  1 08:43:42 2026
skip "/music/ING/ALBUMS_PUB/Noize\ MC/2009\ -\ OST\ Розыгрыш/"

With the same output of

root@4a9841831d6e:/config# beet -vv import  --from-logfile /config/log_importer_test_l
user configuration: /config/config.yaml
data directory: /config
plugin paths: []
Loading plugins: albumtypes, chroma, discogs, duplicates, edit, embedart, fetchart, fromfilename, ftintitle, hook, info, lastgenre, lyrics, missing, musicbrainz, scrub, web
fetchart: google: Disabling art source due to missing key
lastgenre: Loading whitelist /lsiopy/lib/python3.12/site-packages/beetsplug/lastgenre/genres.txt
lastgenre: Loading canonicalization tree /lsiopy/lib/python3.12/site-packages/beetsplug/lastgenre/genres-tree.yaml
Sending event: pluginload
library database: /config/music.db
library directory: /music/LIB
Sending event: library_opened
No such file or directory: "/music/ING/ALBUMS_PUB/Noize\ MC/2009\ -\ OST\ Розыгрыш/"
error: none of the paths are importable

Config (importer part)

import:
  bell: yes                   # ring a teminall bell when importer needs attention
  write: yes                  # Write metadata tags to files
  copy: no                    # Do NOT copy
  move: yes                   # MOVE files (Clears Ingest folder automatically)
#  quiet: yes                  # Automatic mode - don't ask questions. CONTROLLED VIA SCRIPT
  timid: no                   # Don't ask for user confirmation, just take the best match
  resume: yes                 # Resume if crashed
  duplicate_action: skip      # Do not import if duplicate
#  incremental: true           # controlling whether imported directories are recorded and whether these recorded directories are skipped.
  incremental_skip_later: yes # record skipped files during incremental import explicitly
  log: /config/log_importer   # use it for --from-logfile importing and import results review

Seems like

Fix a bug introduced in release 2.4.0 where import from any valid import-log-file always threw a “none of the paths are importable” error.

Still hunting us

shurushetr avatar Feb 01 '26 13:02 shurushetr

And 2.6.0 was release just right after I posted this issue :) with Fix a bug introduced in release 2.4.0 where import from any valid import-log-file always threw a "none of the paths are importable" error. testing...

shurushetr avatar Feb 01 '26 14:02 shurushetr