0x00007FF89CC3286E (ucrtbase.dll) (hole_fixer.exe 中)处有未经处理的异常: 请求了严重的程序退出。
时间: 2023-05-31 09:02:56 浏览: 383
这是一个应用程序崩溃的错误信息,其中 ucrtbase.dll 是一个运行时库文件,hole_fixer.exe 是崩溃的应用程序。发生了一个严重的错误,导致应用程序无法继续运行,需要关闭。通常情况下,这种错误可能是由于程序代码中的错误或其他系统问题引起的。建议重新启动计算机并尝试重新运行应用程序,如果问题仍然存在,请联系应用程序开发者或技术支持团队以获得帮助。
相关问题
Could not find command-line parameter -in Invalid command line arguments specified! USAGE: hole_fixer [options] OPTIONS: -in target mesh file in .off-format, with a hole -out output mesh file in .off-format -outfaces How many faces to decimate the mesh to -upsample How much upsampling to use when creating the patch什么意思
这段信息是程序 "hole_fixer" 的使用说明,它告诉你如何正确使用该程序的命令行参数。
该程序需要使用 "-in" 参数来指定输入的网格文件,该文件应该是 .off 格式的,并且应该包含一个洞。使用 "-out" 参数来指定输出网格文件的名称和格式,同样也是 .off 格式的。使用 "-outfaces" 参数可以指定将网格缩减到多少个面,使用 "-upsample" 参数则可以指定在创建修补程序时要使用多少上采样。
根据错误信息来看,你可能没有正确提供 "-in" 参数,或者提供的命令行参数格式不正确。请确保你提供了正确的命令行参数,并且输入网格文件的格式和要求都符合程序的要求。
根据前端传过来的前端传递过来的开始时间和结束时间参数 筛选创建时间在开始时间和结束时间区间的数据 修改后端写法def get_bugs_data(): api_url = "https://api.tapd.cn/bugs" api_headers = {"Authorization": "#", "content-type": "application/json"}iterations_url = "https:/"count_url ="https://at" params_count = {"status": "closed","workspace_id": 41571821, } # 发送请求,获取缺陷总数 response = requests.get(count_url, params=params_count, headers=api_headers) if response.status_code == 200: total_bug = response.json()total_count = total_bug['data']['count'] print(total_count) else: print("Error: Failed to retrieve count. Status code: ", response.status_code) start_time = request.get('start_time') end_time = request.get('end_time') start_time =datetime.strptime(start_time, '%Y-%m-%d %H:%M:%S') end_time = datetime.strptime(end_time, '%Y-%m-%d %H:%M:%S') bug_list = [] for i in range(1,total_count//200): params = {"limit": 200, "status": "closed", "workspace_id": 41571821, "page": i } response = requests.get(api_url, params=params, headers=api_headers) if response.status_code == 200: res = response.json() for bug_item in res['data']: if bug_item['Bug']['fixer'] and bug_item['Bug']['fixer'] in white_name:bug_data_dict = {"bug_title": bug_item['Bug']['title'], "bug_created": bug_item['Bug']['created'], "bug_fixer": bug_item['Bug']['fixer'], "bug_resolved": bug_item['Bug']['resolved'], "bug_url": f"https://www.tapd.cn/41571821/bugtrace/bugs/view?bug_id={bug_item['Bug']['id']}" } params_iteration = {"limit": 200, "workspace_id": 41571821, "id": bug_item['Bug']['iteration_id'] }response =requests.get(iterations_url, params=params_iteration, headers=api_headers)if response.status_code == 200: iterations = response.json() iteration_name = iterations['data'][0]['Iteration']['name'] bug_data_dict['iteration_name'] = iteration_name bug_list.append(bug_data_dict) else: print("Error: Failed to retrieve iterations. Status code: ", response.status_code) return {"code": 200, "msg": "成功", "data": bug_list}
可以将代码中的bug数据筛选部分修改如下:
```python
bug_list = []
for i in range(1, total_count//200 + 2):
params = {"limit": 200, "status": "closed", "workspace_id": 41571821, "page": i}
response = requests.get(api_url, params=params, headers=api_headers)
if response.status_code == 200:
res = response.json()
for bug_item in res['data']:
created_time = datetime.strptime(bug_item['Bug']['created'], '%Y-%m-%d %H:%M:%S')
if start_time <= created_time <= end_time:
if bug_item['Bug']['fixer'] and bug_item['Bug']['fixer'] in white_name:
bug_data_dict = {"bug_title": bug_item['Bug']['title'],
"bug_created": bug_item['Bug']['created'],
"bug_fixer": bug_item['Bug']['fixer'],
"bug_resolved": bug_item['Bug']['resolved'],
"bug_url": f"https://www.tapd.cn/41571821/bugtrace/bugs/view?bug_id={bug_item['Bug']['id']}"}
params_iteration = {"limit": 200, "workspace_id": 41571821, "id": bug_item['Bug']['iteration_id']}
response = requests.get(iterations_url, params=params_iteration, headers=api_headers)
if response.status_code == 200:
iterations = response.json()
iteration_name = iterations['data'][0]['Iteration']['name']
bug_data_dict['iteration_name'] = iteration_name
bug_list.append(bug_data_dict)
else:
print("Error: Failed to retrieve iterations. Status code: ", response.status_code)
else:
print("Error: Failed to retrieve bugs. Status code: ", response.status_code)
return {"code": 200, "msg": "成功", "data": bug_list}
```
在每个缺陷被处理时,将其创建时间转换为datetime对象,然后与开始时间和结束时间进行比较。如果创建时间在时间范围内,则将该缺陷加入到结果列表中。
阅读全文