问答交流

【代码报错】ErrorReturnCode_131

由snowspig创建,最终由small_q 被浏览 16 用户

模板策略改了个参数就报错。

https://bigquant.com/codeshare/07f1ac1a-37b6-4627-b86c-6a653d4bfad7

日志 66 条 ▼

  • [2024-08-10 02:03:29.790512] INFO: moduleinvoker:1089234637.py:111:<module> input_features_dai.v6 开始运行..
  • [2024-08-10 02:03:30.193629] INFO: moduleinvoker:1089234637.py:111:<module> input_features_dai.v6 运行完成[0.403148s].
  • [2024-08-10 02:03:30.211314] INFO: moduleinvoker:1089234637.py:158:<module> input_features_dai.v6 开始运行..
  • [2024-08-10 02:03:30.513616] INFO: moduleinvoker:1089234637.py:158:<module> input_features_dai.v6 运行完成[0.302272s].
  • [2024-08-10 02:03:30.544313] INFO: moduleinvoker:1089234637.py:210:<module> extract_data_dai.v7 开始运行..
  • 2024-08-10 02:03:30 [info ] start_date='2023-01-01', end_date='2023-10-31', query_start_date='2022-10-03' ..
  • 2024-08-10 02:03:42 [info ] data extracted: (958228, 9)
  • [2024-08-10 02:03:44.022540] INFO: moduleinvoker:1089234637.py:210:<module> extract_data_dai.v7 运行完成[13.478219s].
  • [2024-08-10 02:03:44.126485] INFO: moduleinvoker:1089234637.py:222:<module> sql_join_2.v1 开始运行..
  • [2024-08-10 02:03:44.574771] INFO: moduleinvoker:1089234637.py:222:<module> sql_join_2.v1 运行完成[0.448277s].
  • [2024-08-10 02:03:44.597531] INFO: moduleinvoker:1089234637.py:240:<module> extract_data_dai.v7 开始运行..
  • 2024-08-10 02:03:44 [info ] start_date='2021-01-01', end_date='2022-12-31', query_start_date='2020-10-03' ..
  • 2024-08-10 02:04:20 [info ] data extracted: (2089260, 10)
  • [2024-08-10 02:04:22.932499] INFO: moduleinvoker:1089234637.py:240:<module> extract_data_dai.v7 运行完成[38.334939s].
  • [2024-08-10 02:04:23.023521] INFO: moduleinvoker:1089234637.py:252:<module> stock_ranker_dai_train.v2 开始运行..
  • 2024-08-10 02:04:23 [info ] data loaded: train=(2089260, 10), validation=None
  • 2024-08-10 02:04:23 [info ] 数据预处理 ..
  • 2024-08-10 02:04:24 [info ] 特征预处理 ..
  • 2024-08-10 02:04:26 [info ] prepare data: training ..
  • 2024-08-10 02:05:24 [info ] 训练集预处理完成 rows=2089260, cols=10
  • 2024-08-10 02:05:24 [info ] 预处理特征
  • 2024-08-10 02:05:24 [info ] 开始训练 090994133ee7447e98d0f01d259eb920
  • Exception in thread background thread for pid 790:
  • Traceback (most recent call last):
  • File "/usr/local/python3/lib/python3.8/threading.py", line 932, in _bootstrap_inner
  • self.run()
  • File "/usr/local/python3/lib/python3.8/threading.py", line 870, in run
  • self._target(*self._args, **self._kwargs)
  • File "/usr/local/python3/lib/python3.8/site-packages/sh.py", line 1639, in wrap
  • fn(*rgs, **kwargs)
  • File "/usr/local/python3/lib/python3.8/site-packages/sh.py", line 2641, in background_thread
  • handle_exit_code(exit_code)
  • File "/usr/local/python3/lib/python3.8/site-packages/sh.py", line 2332, in fn
  • return self.command.handle_command_exit_code(exit_code)
  • File "/usr/local/python3/lib/python3.8/site-packages/sh.py", line 826, in handle_command_exit_code
  • raise exc
  • sh.ErrorReturnCode_131:
  • RAN: /bin/wine StockRanker.exe /ini /tmp/090994133ee7447e98d0f01d259eb920/features.ini /tr /tmp/090994133ee7447e98d0f01d259eb920/training.bin /h /tmp/090994133ee7447e98d0f01d259eb920/ranker.ini /l 30 /d 1000 /w 20 /c 0.1 /r2 123 /ps 30 /t 2 /ap lambdarank /topn 10 /bdp 0.2 /ms 'C:\stockranker\MetaStreamDefinitionList.ini' /shiftedNDCG /cf w /dw /nl /ff 1 /sf 1 /vfrac 0 /mb 1025 /gcfe 1 /fcomp 1 /ndcgdiscountbase 1 /ExperimentID 090994133ee7447e98d0f01d259eb920 /Owner null /graph /graphtv /fg /gains 0:1:2:3:4:5:6:7:8:9:10:11:12:13:14:15:16:17:18:19 /sfrac 0.0
  • STDOUT:
  • STDERR:
  • You must install .NET to run this application.
  • App: C:\stockranker\StockRanker.exe
  • Architecture: x64
  • App host version: 8.0.4
  • .NET location: Not found
  • Learn more:
  • https://aka.ms/dotnet/app-launch-failed
  • Download the .NET runtime:
  • https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=win-x64&os=win8&apphost_version=8.0.4
  • 0034:err:eventlog:ReportEventW L"Description: A .NET application failed.\nApplication: StockRanker.exe\nPath: C:\\stockranker\\StockRanker.exe\nMessage: You must install .NET to run this application.\n\nApp: C:\\stockranker\\StockRanker.exe\nArchitecture: x64\nApp host version: 8.0.4\n.NET location: Not found\n\nLearn more:\nhttps:/"...
  • [2024-08-10 02:05:33.108037] ERROR: moduleinvoker:1089234637.py:252:<module> module name: stock_ranker_dai_train, module version: v2, trackeback: sh.ErrorReturnCode_131:
  • RAN: /bin/wine StockRanker.exe /ini /tmp/090994133ee7447e98d0f01d259eb920/features.ini /tr /tmp/090994133ee7447e98d0f01d259eb920/training.bin /h /tmp/090994133ee7447e98d0f01d259eb920/ranker.ini /l 30 /d 1000 /w 20 /c 0.1 /r2 123 /ps 30 /t 2 /ap lambdarank /topn 10 /bdp 0.2 /ms 'C:\stockranker\MetaStreamDefinitionList.ini' /shiftedNDCG /cf w /dw /nl /ff 1 /sf 1 /vfrac 0 /mb 1025 /gcfe 1 /fcomp 1 /ndcgdiscountbase 1 /ExperimentID 090994133ee7447e98d0f01d259eb920 /Owner null /graph /graphtv /fg /gains 0:1:2:3:4:5:6:7:8:9:10:11:12:13:14:15:16:17:18:19 /sfrac 0.0
  • STDOUT:
  • STDERR:
  • You must install .NET to run this application.
  • App: C:\stockranker\StockRanker.exe
  • Architecture: x64
  • App host version: 8.0.4
  • .NET location: Not found
  • Learn more:
  • https://aka.ms/dotnet/app-launch-failed
  • Download the .NET runtime:
  • https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=win-x64&os=win8&apphost_version=8.0.4
  • 0034:err:eventlog:ReportEventW L"Description: A .NET application failed.\nApplication: StockRanker.exe\nPath: C:\\stockranker\\StockRanker.exe\nMessage: You must install .NET to run this application.\n\nApp: C:\\stockranker\\StockRanker.exe\nArchitecture: x64\nApp host version: 8.0.4\n.NET location: Not found\n\nLearn more:\nhttps:/"...
  • \
  • 2024-08-10 02:06:41 [info ] 回测耗时可能较长,您可以升级到更快的工作室规格[url='command:switch-quota']立即升级>>[/url]

\

评论
  • 你这个策略是AIstudio2.0版本的,建议新建模版策略时选择 AIStudio3.0版本的。
  • 操作方式:
  • 1、登录bigquant
  • 2、进入开发环境
  • 3、新建模版
  • 这样操作 构建的就是AIstudio3.0版本的策略
{link}