Skip to content

subprocess OverflowError: long too big to convert #14

@pintokoaji

Description

@pintokoaji

Hi, I'm trying to use the find_coefficients method from xfoil_module. But I faced this error :

<type 'float'>

Traceback (most recent call last):
  File "C:/Users/PINTO ASU PETHUK/Desktop/TugasAkhir/pinto.py", line 2, in <module>
    find_pressure_coefficients(airfoil='naca0012', Reynolds = 1e6, alpha=12.,NACA=True)
  File "C:/Users/PINTO ASU PETHUK/Desktop/TugasAkhir\xfoil_module.py", line 853, in find_pressure_coefficients
    NACA=NACA, PANE=PANE)
  File "C:/Users/PINTO ASU PETHUK/Desktop/TugasAkhir\xfoil_module.py", line 207, in call
    startupinfo = startupinfo)
  File "C:\Python27\lib\subprocess.py", line 386, in __init__
    errread, errwrite), to_close = self._get_handles(stdin, stdout, stderr)
  File "C:\Python27\lib\subprocess.py", line 536, in _get_handles
    c2pwrite = self._make_inheritable(c2pwrite)
  File "C:\Python27\lib\subprocess.py", line 570, in _make_inheritable
    _subprocess.DUPLICATE_SAME_ACCESS)
OverflowError: long too big to convert

Here's my source code :

from xfoil_module import find_coefficients
find_coefficients(airfoil='naca0012',alpha=12.)

I need it to work for my thesis :(

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions