Weixin-Liang / LLM-scientific-feedback

Can large language models provide useful feedback on research papers? A large-scale empirical analysis.
Creative Commons Attribution 4.0 International
489 stars 49 forks source link

Failed to parse XML #16

Closed KyleWang1026 closed 10 months ago

KyleWang1026 commented 11 months ago

我在Intel芯片的Mac上用虚拟机安装了Ubuntu系统,前面都没问题,最后一步submit PDF文件后,在解析XML文件时报错“Failed to parse XML... Error: syntax error: line 1, column 0”:

截屏2023-10-09 23 15 27

下图是sciencebeam_parser.service.server后台运行报错:

截屏2023-10-09 23 17 08 截屏2023-10-09 23 17 21

费很大力气才把环境配置好,最后一步不知道为什么显示No such file or directory.

chencn2020 commented 11 months ago

alexmaehon commented 11 months ago

一样,Failed to parse XML... Error: syntax error: line 1, column 0

kyleearth commented 10 months ago

same issue

sunchongwei commented 10 months ago

这个不是自己环境的问题,是软件的问题,软件在转换xml的过程中出错了,我现在的方法是本地转成xml直接上传解析,稍微改动一下代码,就能得到评审结果

yydshx commented 10 months ago

@sunchongwei 本地用什么工具转呢

yuhui-zh15 commented 10 months ago

Thanks for your interest in our system. Unfortunately ScienceBeam only supports x86 Linux. Let us know if you find a way to install ScienceBeam on other systems.

yuhui-zh15 commented 10 months ago

We now added a new system that supports texts as input:

Usage:

python main_from_text.py  # If you are using non-linux operating systems or want to generate feedback from the parsed paper in text format
KyleWang1026 commented 10 months ago

Finally solved this problem! ScienceBeam contains a file "wapitil_install.py", and error occurs when running the code in lines 38-41: "subprocess.check_output( 'make', cwd=wapiti_source_directory )" Reason: Can't find the 'make' command. Solution: sudo apt install make

KyleWang1026 commented 10 months ago

这个不是自己环境的问题,是软件的问题,软件在转换xml的过程中出错了,我现在的方法是本地转成xml直接上传解析,稍微改动一下代码,就能得到评审结果

实际上是的,没装‘make’命令,安装后重新运行就解决了。