fabric/fabric — Issue #478: fab.exe --version throws a com_error exception
Author: grzn
Created: 2011-11-13 09:31:36+00:00
State: open

```
fab --version
Traceback (most recent call last):
File "C:\opt\opensshd\home\Administrator\python\Scripts\fab-script.py", line 9, in
load_entry_point('fabric==1.3.2', 'console_scripts', 'fab')()
File "C:\opt\opensshd\home\Administrator\python\lib\site-packages\distribute-0.6.24-py2.7.egg\pkg_resources.py", line 337, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "C:\opt\opensshd\home\Administrator\python\lib\site-packages\distribute-0.6.24-py2.7.egg\pkg_resources.py", line 2279, in load_entry_point
return ep.load()
File "C:\opt\opensshd\home\Administrator\python\lib\site-packages\distribute-0.6.24-py2.7.egg\pkg_resources.py", line 1989, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "C:\opt\opensshd\home\Administrator\python\lib\site-packages\fabric-1.3.2-py2.7.egg\fabric\main.py", line 19, in
from fabric import api, state # For checking callables against the API, & easy mocking
File "C:\opt\opensshd\home\Administrator\python\lib\site-packages\fabric-1.3.2-py2.7.egg\fabric\api.py", line 9, in
from fabric.context_managers import cd, hide, settings, show, path, prefix, lcd
File "C:\opt\opensshd\home\Administrator\python\lib\site-packages\fabric-1.3.2-py2.7.egg\fabric\context_managers.py", line 13, in
from fabric.state import env, output, win32
File "C:\opt\opensshd\home\Administrator\python\lib\site-packages\fabric-1.3.2-py2.7.egg\fabric\state.py", line 191, in
default=_rc_path(),
File "C:\opt\opensshd\home\Administrator\python\lib\site-packages\fabric-1.3.2-py2.7.egg\fabric\state.py", line 94, in _rc_path
SHGetSpecialFolderPath(0, CSIDL_PROFILE),
pywintypes.com_error: (-2147467259, 'Unspecified error', None, None)
```