GnuCOBOL Development Environment

I found the Open COBOL integrated development environment to be most refreshing.  The COBOL source code in translated dynamically to “c” programming language and is compiled and executed as a “c” program.

Click here for main Link to OpenCOBOLIDE.

The initial installation of OpenCOBOLIDE may not install properly out of the box.  My current installation of Kubuntu uses Python3.8 and the OpenCOBOLIDE does not understand Python3.8.

The file which needs modification is “/usr/lib/python3/dist-packages/open_cobol_ide/system.py” in my particular installation.  The modification begin on line 23.  The first commented line is line 23 in the code below.

[codesyntax lang=”python”]

"""
if linux:
    ubuntu = platform.linux_distribution()[0].lower() == 'ubuntu'
else:
    ubuntu = False
""" 

linux = platform.system() == 'Linux'
if linux:
    ubuntu = True
else:
    ubuntu = False
    

[/codesyntax]

After successfully applying these modifications the IDE should function as designed.

 

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

Leave a Reply

Your email address will not be published. Required fields are marked *