Closed KyleWang1026 closed 10 months ago
蹲
一样,Failed to parse XML... Error: syntax error: line 1, column 0
same issue
这个不是自己环境的问题,是软件的问题,软件在转换xml的过程中出错了,我现在的方法是本地转成xml直接上传解析,稍微改动一下代码,就能得到评审结果
@sunchongwei 本地用什么工具转呢
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.
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
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
这个不是自己环境的问题,是软件的问题,软件在转换xml的过程中出错了,我现在的方法是本地转成xml直接上传解析,稍微改动一下代码,就能得到评审结果
实际上是的,没装‘make’命令,安装后重新运行就解决了。
我在Intel芯片的Mac上用虚拟机安装了Ubuntu系统,前面都没问题,最后一步submit PDF文件后,在解析XML文件时报错“Failed to parse XML... Error: syntax error: line 1, column 0”:
下图是sciencebeam_parser.service.server后台运行报错:
费很大力气才把环境配置好,最后一步不知道为什么显示No such file or directory.