enthought / enthought/comtypes
Partial wrapper files generated in gen folder
- Dominant language
- Python
- Stars
- 345
- Forks
- 105
- PR merge metrics
- No merged PRs in 30d
Description
__With Comtypes 1.1.2 and Python 2.7.10__
I have noticed that some times the generated wrappers have only the first two lines as below:
# -*- coding: mbcs -*-
typelib_path = u'C:\\XXXXXXXXXXXXXXXXXXXXX.tlb'
This manifests as issues such as:
`AttributeError: 'module' object has no attribute 'XXXXX'`
I had to delete the generated file and regenerate it to fix the issue whenever I see them. However I wasn't able to isolate the root cause and neither is the issue very frequent. After going through the github issues and searching over the internet, I don't see many complaining about such an issue. Only two instance that were discussed elsewhere seem relevant:
- https://geonet.esri.com/thread/122158
- http://gis.stackexchange.com/questions/135741/debugging-module-object-has-no-attribute-sdeworkspacefactory
so I guess this is not specific to my setup but a generic issue.
Contributor guide
Assessment
This issue has not been assessed yet.