[OHOS ERROR] Traceback (most recent call last):
[OHOS ERROR] File "/home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/containers/status.py", line 47, in wrapper
[OHOS ERROR] return func(*args, **kwargs)
[OHOS ERROR] File "/home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/services/gn.py", line 197, in _execute_gn_gen_cmd
[OHOS ERROR] SystemUtil.exec_command(gn_gen_cmd, self.config.log_path)
[OHOS ERROR] File "/home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/util/system_util.py", line 64, in exec_command
[OHOS ERROR] LogUtil.get_failed_log(log_path)
[OHOS ERROR] File "/home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/util/log_util.py", line 191, in get_failed_log
[OHOS ERROR] LogUtil.get_gn_failed_log(log_path)
[OHOS ERROR] File "/home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/build/hb/util/log_util.py", line 137, in get_gn_failed_log
[OHOS ERROR] raise OHOSException(
[OHOS ERROR] exceptions.ohos_exception.OHOSException: GN Failed! Please check error in /home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/error.log, and for more build information in /home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/build.log
[OHOS ERROR]
[OHOS ERROR] Code: 3000
[OHOS ERROR]
[OHOS ERROR] Reason: GN Failed! Please check error in /home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/error.log, and for more build information in /home/xh/OpenHarmony-4.1-Release/OpenHarmony-v4.1-Release/OpenHarmony/out/rk3568/build.log
[OHOS ERROR]
[OHOS ERROR] Error Type: UNKNOWN
[OHOS ERROR]
[OHOS ERROR] Description: An unknown error occurred while executing 'gn gen'.
[OHOS ERROR]
[OHOS ERROR] Solution: There is no solution available. You can check the 'gn_error.log' in the output directory for more information
[OHOS ERROR]
[/md]作者: fengyunrenwu 时间: 2024-8-7 16:43
根据报错信息,我查看了对应的报错行数,并没有发现有对应的代码哦~作者: zeqiao183 时间: 2024-10-22 16:26
回复 fengyunrenwu: 哥们,我也遇到这个问题了,请问之前有解决方案吗