-
Notifications
You must be signed in to change notification settings - Fork 700
Closed
Milestone
Description
~/music exists and got music in it. LOCAL_MUSIC_PATH is not set in my settings file, i.e. it should default to ~/music.
$ PYTHONPATH=. ./bin/mopidy-scan
INFO 2012-09-11 15:56:32,431 [15354:MainThread] root
Scanning None
Traceback (most recent call last):
File "./bin/mopidy-scan", line 26, in <module>
scanner = Scanner(settings.LOCAL_MUSIC_PATH, store, debug)
File "/home/jodal/dev/mopidy/mopidy/scanner.py", line 55, in __init__
self.uris = [path_to_uri(f) for f in find_files(folder)]
File "/home/jodal/dev/mopidy/mopidy/utils/path.py", line 53, in find_files
if os.path.isfile(path):
File "/home/jodal/dev/virtualenvs/mopidy/lib/python2.7/genericpath.py", line 29, in isfile
st = os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found