[CLOSED] Mopidy Scan failing

whenever i do mopidy local scan and mopidy local scan --force, both times, i get these errors:

h: 0: getcwd() failed: No such file or directory
Traceback (most recent call last):
  File "/usr/local/bin/mopidy", line 10, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.7/dist-packages/mopidy/__main__.py", line 59, in main
    args.config_overrides,
  File "/usr/local/lib/python3.7/dist-packages/mopidy/config/__init__.py", line 111, in load
    return _validate(raw_config, schemas)
  File "/usr/local/lib/python3.7/dist-packages/mopidy/config/__init__.py", line 220, in _validate
    result, error = schema.deserialize(values)
  File "/usr/local/lib/python3.7/dist-packages/mopidy/config/schemas.py", line 64, in deserialize
    result[key] = self[key].deserialize(value)
  File "/usr/local/lib/python3.7/dist-packages/mopidy/config/types.py", line 311, in deserialize
    expanded = path.expand_path(value)
  File "/usr/local/lib/python3.7/dist-packages/mopidy/internal/path.py", line 80, in expand_path
    return pathlib.Path(path).expanduser().resolve()
  File "/usr/lib/python3.7/pathlib.py", line 1144, in resolve
    s = self._flavour.resolve(self, strict=strict)
  File "/usr/lib/python3.7/pathlib.py", line 353, in resolve
    base = '' if path.is_absolute() else os.getcwd()
FileNotFoundError: [Errno 2] No such file or directory

Just as a side note, i am on a raspberry pi, and using mopidy-iris, mopidy-local, setting the local directory to /media/pi/.
Also i am using abcde to import cds to the drive, so that might interfere?
(Additionally, I tested mopidy-iris’es local scan, this does not load anything for me UNTIL i load it on the command line with mopidy local scan. This has worked before, i do not know why it will not anymore.

i was being an idiot. i was in an abcde. folder, which will be deleted after importing cd’s. my current directory as gone, so it cannot load programs.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.