binary-husky / binary-husky/gpt_academic

[Bug]: 函数插件翻译报错:PDF翻译中文并重新编译PDF(上传PDF)[需Latex]

Open
#1,876 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
71.3k
Forks
8.3k
PR merge metrics
No merged PRs in 30d

Description

### Installation Method | 安装方法与平台

OneKeylnstall (一键安装脚本-windows)

### Version | 版本

Latest | 最新版

### OS | 操作系统

Windows

### Describe the bug | 简述

使用函数插件:PDF翻译中文并重新编译PDF(上传PDF)[需Latex]
在将latex转成pdf时候报错:
由于最为关键的转化PDF编译失败, 将根据报错信息修正tex源文件并重试, 当前报错的latex代码处于第[-1]行 ...

### Screen Shot | 有帮助的截图

![微信截图_20240629175718](https://github.com/binary-husky/gpt_academic/assets/8443499/7160b2bb-969c-4c7b-a9b0-e2de82803010)

### Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)

翻译的是这篇论文:
[Luo 等 - 2022 - Segmentation information with attention integration for classification of breast tumor in ultrasound.pdf](https://github.com/user-attachments/files/16039573/Luo.-.2022.-.Segmentation.information.with.attention.integration.for.classification.of.breast.tumor.in.ultrasound.pdf)
运行报错的压缩包如下:

[2024-06-29-17-49-42-result.zip](https://github.com/user-attachments/files/16039579/2024-06-29-17-49-42-result.zip)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the PDF translation plugin failure on Windows with the linked Luo et al. PDF and the 2024-06-29 result.zip archive. Inspect the generated LaTeX compilation output, especially the reported line -1 error; done means the translated source compiles into a PDF successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex, python
Domain
backend, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.