Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
ValueError: Path is not a bytestring #1744
I just installed Mopidy by the Arch package. Using this minimal configuration, the check with
[core] cache_dir = $XDG_CACHE_HOME/mopidy
/usr/lib/python2.7/site-packages/mopidy/ext.py:202: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. extension_class = entry_point.load(require=False) Traceback (most recent call last): File "/usr/bin/mopidy", line 11, in <module> load_entry_point('Mopidy==2.2.2', 'console_scripts', 'mopidy')() File "/usr/lib/python2.7/site-packages/mopidy/__main__.py", line 61, in main create_core_dirs(config) File "/usr/lib/python2.7/site-packages/mopidy/__main__.py", line 147, in create_core_dirs path.get_or_create_dir(config['core']['cache_dir']) File "/usr/lib/python2.7/site-packages/mopidy/internal/path.py", line 23, in get_or_create_dir raise ValueError('Path is not a bytestring.') ValueError: Path is not a bytestring.
I found this issue which seems to be somehow related. But it has been fixed and the commit is merged into
When I replace the environment variable with its value, the check goes through and
Thanks for your help!
Mopidy itself and a number of the most popular extensions have pre-releases on PyPI with Python 3 support. Mopidy 3.0 final is planned for Dec 21, so I assume AUR will be updated shortly after that.
You can install the pre-release by passing the