flyrain commented on issue #2419:
URL: https://github.com/apache/polaris/issues/2419#issuecomment-3288881838

   Sorry for the late response, here is the output
   ```
   (.venv) ygu@FM4LQ4GJ90 polaris % cd client/python
   (.venv) ygu@FM4LQ4GJ90 python % python3 generate_clients.py -v
   ...
   FileNotFoundError: [Errno 2] No such file or directory: 
'openapi-generator-cli'
   ```
   After installation of openapi-generator-cli, it still failed. Looks like 
`openapi-generator-cli` command failed. 
   ```
   (.venv) ygu@FM4LQ4GJ90 python % python3 generate_clients.py -v
   Deleting old tests...
   test/test_cli_parsing.py: skipped
   Old test deletion complete.
   Traceback (most recent call last):
     File "/private/tmp/2/polaris/client/python/generate_clients.py", line 296, 
in <module>
       main()
       ~~~~^^
     File "/private/tmp/2/polaris/client/python/generate_clients.py", line 292, 
in main
       build()
       ~~~~~^^
     File "/private/tmp/2/polaris/client/python/generate_clients.py", line 272, 
in build
       generate_polaris_catalog_client()
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
     File "/private/tmp/2/polaris/client/python/generate_clients.py", line 153, 
in generate_polaris_catalog_client
       subprocess.check_call(
       ~~~~~~~~~~~~~~~~~~~~~^
           [
           ^
       ...<18 lines>...
           stderr=subprocess.DEVNULL,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
       )
       ^
     File 
"/opt/homebrew/Cellar/[email protected]/3.13.3_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py",
 line 419, in check_call
       raise CalledProcessError(retcode, cmd)
   subprocess.CalledProcessError: Command '['openapi-generator-cli', 
'generate', '-i', '/private/tmp/2/polaris/spec/polaris-catalog-service.yaml', 
'-g', 'python', '-o', PosixPath('/private/tmp/2/polaris/client/python'), 
'--additional-properties=packageName=polaris.catalog', 
'--additional-properties=apiNameSuffix=', 
'--additional-properties=pythonVersion=3.9', 
'--additional-properties=generateSourceCodeOnly=true', '--skip-validate-spec', 
'--ignore-file-override', 
'/private/tmp/2/polaris/client/python/.openapi-generator-ignore', 
'--global-property=apiDocs=false,modelDocs=false,modelTests=false,apiTests=false']'
 returned non-zero exit status 1.
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to