unknowntpo commented on PR #7811:
URL: https://github.com/apache/gravitino/pull/7811#issuecomment-3150713034

   > > I got another error, when I run
   > > ```
   > > ./gradlew :clients:client-python:build
   > > ```
   > > 
   > > 
   > >     
   > >       
   > >     
   > > 
   > >       
   > >     
   > > 
   > >     
   > >   
   > > I got:
   > > ```
   > > > Task :clients:client-python:build FAILED
   > > Traceback (most recent call last):
   > >   File 
"/Users/unknowntpo/xxx/gravitino/gravitino/clients/client-python/scripts/generate_version.py",
 line 23, in <module>
   > >     from gravitino.constants.root import PROJECT_ROOT
   > > ModuleNotFoundError: No module named 'gravitino'
   > > 
   > > Execution failed for task ':clients:client-python:build'.
   > > > Process 'command 'uv'' finished with non-zero exit value 1
   > > 
   > > * Try:
   > > > Run with --stacktrace option to get the stack trace.
   > > > Run with --info or --debug option to get more log output.
   > > > Run with --scan to get full insights.
   > > > Get more help at https://help.gradle.org.
   > > Deprecated Gradle features were used in this build, making it 
incompatible with Gradle 9.0.
   > > You can use '--warning-mode all' to show the individual deprecation 
warnings and determine if they come from your own scripts or plugins.
   > > For more on this, please refer to 
https://docs.gradle.org/8.2/userguide/command_line_interface.html#sec:command_line_warnings
 in the Gradle documentation.
   > > BUILD FAILED in 18s
   > > 4 actionable tasks: 4 executed
   > > ```
   > 
   > @unknowntpo This issue has been addressed. I have fixed another issue in 
the task `doc` as well. Please take a look when you're available.
   
   Still have errors like:
   
   ```
    ./gradlew :clients:client-python:build                                      
                                                                          
(base) 21:25:05
   
   Skipping filesystem-fuse module since enableFuse is set to false
   
   > Configure project :
   checkContainerRunning failed: Process 'command 'bash'' finished with 
non-zero exit value 1
   Current docker context is: default
   
   ------------------ Check Docker environment ---------------------
   Docker server status ............................................ [running]
   mac-docker-connector status ..................................... [stop]
   OrbStack status ................................................. [no]
   Run test cases without `gravitino-docker-test` tag .............. [embedded 
test]
   -----------------------------------------------------------------
   Tip: Please make sure to use OrbStack or execute the 
`dev/docker/tools/mac-docker-connector.sh` script before running the 
integration test on macOS.
   
   > Configure project :core
   Kotlin DSL property assignment is an incubating feature.
   
   > Configure project :clients:client-python
   e: 
file:///Users/unknowntpo/xxx/gravitino/gravitino/clients/client-python/build.gradle.kts:172:11:
 Cannot access 'execResult': it is invisible (private in a supertype) in 'Exec'
   e: 
file:///Users/unknowntpo/xxx/gravitino/gravitino/clients/client-python/build.gradle.kts:172:23:
 Unresolved reference: exitValue
   e: 
file:///Users/unknowntpo/xxx/gravitino/gravitino/clients/client-python/build.gradle.kts:174:25:
 Cannot access 'exec': it is protected in 'Exec'
   w: 
file:///Users/unknowntpo/xxx/gravitino/gravitino/clients/client-python/build.gradle.kts:223:7:
 Variable 'verifyHadoopPack' is never used
   w: 
file:///Users/unknowntpo/xxx/gravitino/gravitino/clients/client-python/build.gradle.kts:284:7:
 Variable 'test' is never used
   w: 
file:///Users/unknowntpo/xxx/gravitino/gravitino/clients/client-python/build.gradle.kts:299:7:
 Variable 'doc' is never used
   w: 
file:///Users/unknowntpo/xxx/gravitino/gravitino/clients/client-python/build.gradle.kts:333:7:
 Variable 'deploy' is never used
   w: 
file:///Users/unknowntpo/xxx/gravitino/gravitino/clients/client-python/build.gradle.kts:340:7:
 Variable 'clean' is never used
   
   FAILURE: Build failed with an exception.
   
   * Where:
   Build file 
'/Users/unknowntpo/xxx/gravitino/gravitino/clients/client-python/build.gradle.kts'
 line: 172
   
   * What went wrong:
   Script compilation errors:
   
     Line 172:       if (execResult?.exitValue != 0) {
                         ^ Cannot access 'execResult': it is invisible (private 
in a supertype) in 'Exec'
   
     Line 172:       if (execResult?.exitValue != 0) {
                                     ^ Unresolved reference: exitValue
   
     Line 174:         installUv.get().exec()
                                       ^ Cannot access 'exec': it is protected 
in 'Exec'
   
   3 errors
   
   * Try:
   > Run with --stacktrace option to get the stack trace.
   > Run with --info or --debug option to get more log output.
   > Run with --scan to get full insights.
   > Get more help at https://help.gradle.org.
   
   Deprecated Gradle features were used in this build, making it incompatible 
with Gradle 9.0.
   
   You can use '--warning-mode all' to show the individual deprecation warnings 
and determine if they come from your own scripts or plugins.
   
   For more on this, please refer to 
https://docs.gradle.org/8.2/userguide/command_line_interface.html#sec:command_line_warnings
 in the Gradle documentation.
   
   BUILD FAILED in 2s
   
   ```


-- 
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