enthought / enthought/comtypes

tuple error

Open
#126 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
345
Forks
105
PR merge metrics
No merged PRs in 30d

Description

I'm running python 3.6 through spyder and trying to run comtypes to control SAP2000. I keey getting this error

File "E:\pyth2\lib\site-packages\comtypes\__init__.py", line 659, in call_with_inout
if len(outargs) == 1: # rescode is not iterable

AttributeError: 'tuple' object has no attribute '__ctypes_from_outparam__'

I have tried modifying the code with the 'try/except' block that comes up as the easy solution to this problem, but no change yet. Any suggestions? Thank

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.