You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, apologies in advance if I file this issue in the wrong repo. On a Windows 10 System in an Anaconda Prompt (Python 3.8.3) I encountered the following failure when trying to run a test suite. I'm unfamiliar with this error, and also quite unfamiliar with Windows, but I hoped someone had a clue what might be going on here?
The final error message comes from appdirs, hence I'm filing the issue here in hopes of expertise on this:
(base) C:\Users\datalads\repos\datalad>python -m nose -s -v datalad\tests
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\datalads\miniconda3\lib\multiprocessing\spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "C:\Users\datalads\miniconda3\lib\multiprocessing\spawn.py", line 126, in _main
self = reduction.pickle.load(from_parent)
File "C:\Users\datalads\repos\datalad\datalad\__init__.py", line 50, in <module>
from .log import lgr
File "C:\Users\datalads\repos\datalad\datalad\log.py", line 574, in <module>
lgr = LoggerHelper().get_initialized_logger()
File "C:\Users\datalads\repos\datalad\datalad\log.py", line 555, in get_initialized_logger
ColorFormatter(use_color=use_color,
File "C:\Users\datalads\repos\datalad\datalad\log.py", line 154, in __init__
msg = colors.format_msg(self._get_format(log_name, log_pid),
File "C:\Users\datalads\repos\datalad\datalad\support\ansi_colors.py", line 64, in format_msg
if color_enabled() and use_color:
File "C:\Users\datalads\repos\datalad\datalad\support\ansi_colors.py", line 57, in color_enabled
ui_color = cfg.obtain('datalad.ui.color')
File "C:\Users\datalads\repos\datalad\datalad\config.py", line 489, in obtain
from datalad.interface.common_cfg import definitions as cfg_defs
File "C:\Users\datalads\repos\datalad\datalad\interface\common_cfg.py", line 525, in <module>
compute_cfg_defaults()
File "C:\Users\datalads\repos\datalad\datalad\interface\common_cfg.py", line 522, in compute_cfg_defaults
value['default'] = def_fn()
File "C:\Users\datalads\repos\datalad\datalad\interface\common_cfg.py", line 105, in <lambda>
'default_fn': lambda: dirs.user_cache_dir,
File "C:\Users\datalads\miniconda3\lib\site-packages\appdirs.py", line 439, in user_cache_dir
return user_cache_dir(self.appname, self.appauthor,
File "C:\Users\datalads\miniconda3\lib\site-packages\appdirs.py", line 293, in user_cache_dir
path = os.path.normpath(_get_win_folder("CSIDL_LOCAL_APPDATA"))
File "C:\Users\datalads\miniconda3\lib\site-packages\appdirs.py", line 481, in _get_win_folder_with_pywin32
dir = shell.SHGetFolderPath(0, getattr(shellcon, csidl_name), 0, 0)
pywintypes.com_error: (-2147024893, 'Das System kann den angegebenen Pfad nicht finden.', None, None)
----------------------------------------------------------------------
Ran 0 tests in 58.344s
OK
So the final error is
File "C:\Users\datalads\miniconda3\lib\site-packages\appdirs.py", line 481, in _get_win_folder_with_pywin32
dir = shell.SHGetFolderPath(0, getattr(shellcon, csidl_name), 0, 0)
pywintypes.com_error: (-2147024893, 'Das System kann den angegebenen Pfad nicht finden.', None, None)
("Can't find the specified path")
The nose call used to work fine, and I have no clue what could have changed in the meantime - the machine is a rarely used testing computer that's only used to run and debug our unit tests every few weeks. Any hints would be greatly appreciated. Thank you!
In case relevant, the environment variables, and conda env:
Hi, apologies in advance if I file this issue in the wrong repo. On a Windows 10 System in an Anaconda Prompt (Python 3.8.3) I encountered the following failure when trying to run a test suite. I'm unfamiliar with this error, and also quite unfamiliar with Windows, but I hoped someone had a clue what might be going on here?
The final error message comes from appdirs, hence I'm filing the issue here in hopes of expertise on this:
So the final error is
("Can't find the specified path")
The
nose
call used to work fine, and I have no clue what could have changed in the meantime - the machine is a rarely used testing computer that's only used to run and debug our unit tests every few weeks. Any hints would be greatly appreciated. Thank you!In case relevant, the environment variables, and conda env:
The text was updated successfully, but these errors were encountered: