Source-Python-Dev-Team / Source.Python

This plugin aims to use boost::python and create an easily accessible wrapper around the Source Engine API for scripter use.
http://forums.sourcepython.com
GNU General Public License v3.0
164 stars 32 forks source link

IsADirectoryError: [Errno 21] Is a directory in libc_ver #450

Closed phaniraj2112 closed 2 years ago

phaniraj2112 commented 2 years ago

Hi Team,

I am using a third party library great expectation inside a Python code. When I am running this python code outside locally it runs fine but when its executed as Stored proc which in turns runs the code on the server side I am getting the below error. Any inputs on what might be causing it to throw this error as its platform specific.

File "/usr/lib/python_udf/21f89b424649b316c5ea9eaf04d39e5b612b65112a5267cca024d221856e2cb7/lib/python3.8/platform.py", line 1212, in platform libcname, libcversion = libc_ver(sys.executable) File "/usr/lib/python_udf/21f89b424649b316c5ea9eaf04d39e5b612b65112a5267cca024d221856e2cb7/lib/python3.8/platform.py", line 193, in libc_ver with open(executable, 'rb') as f: IsADirectoryError: [Errno 21] Is a directory: '/'

jordanbriere commented 2 years ago

Sorry, we cannot offer assistance for issues unrelated to Source.Python (a scripting platform for Source games).