讨论 使用交流 文库系统的本地转换失败。

文库系统的本地转换失败。

cjwbbs 发表于    阅读:428    回复:2

问题描述:

文库系统的本地转换失败。已经安装了 Libreoffice 和 pdf2svg。

环境信息:

MSCoreV3.7.0 ( With LARAVEL9 )
操作系统Linux
PHP版本V8.1.19
HTTP服务litespeed

[root@elated-sanderson ~]# soffice --version

LibreOffice 7.1.8.1 10(Build:1)


[root@elated-sanderson ~]# pdf2svg -h

Usage: pdf2svg <in file.pdf> <out file.svg> [<page no>]

复现步骤:

上传文件后转换失败

日志:

2023-05-17 13:15:36#13 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Core/Config/Driver/DatabaseMConfig.php(51): ModStart\\Core\\Dao\\ModelUtil::insert()
#14 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Admin/Layout/AdminConfigBuilder.php(104): ModStart\\Core\\Config\\Driver\\DatabaseMConfig->set()
#15 [internal function]: ModStart\\Admin\\Layout\\AdminConfigBuilder->ModStart\\Admin\\Layout\\{closure}()
#16 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Form/Form.php(488): call_user_func()
#17 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Admin/Layout/AdminConfigBuilder.php(108): ModStart\\Form\\Form->formRequest()
#18 /var/www/vhosts/duucloud.com/httpdocs/module/Wenku/Admin/Controller/ConfigController.php(154): ModStart\\Admin\\Layout\\AdminConfigBuilder->perform()
#19 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): Module\\Wenku\\Admin\\Controller\\ConfigController->setting()
#20 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\\Routing\\Controller->callAction()
#21 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\\Routing\\ControllerDispatcher->dispatch()
#22 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\\Routing\\Route->runController()

更多>>

2023-05-17 13:15:36#6 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/Processor.php(32): Illuminate\\Database\\Connection->insert()
#7 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3322): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId()
#8 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1869): Illuminate\\Database\\Query\\Builder->insertGetId()
#9 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1330): Illuminate\\Database\\Eloquent\\Builder->__call()
#10 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1295): Illuminate\\Database\\Eloquent\\Model->insertAndSetId()
#11 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1138): Illuminate\\Database\\Eloquent\\Model->performInsert()
#12 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Core/Dao/ModelUtil.php(72): Illuminate\\Database\\Eloquent\\Model->save()
#13 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Core/Config/Driver/DatabaseMConfig.php(51): ModStart\\Core\\Dao\\ModelUtil::insert()
#14 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Admin/Layout/AdminConfigBuilder.php(104): ModStart\\Core\\Config\\Driver\\DatabaseMConfig->set()
#15 [internal function]: ModStart\\Admin\\Layout\\AdminConfigBuilder->ModStart\\Admin\\Layout\\{closure}()

更多>>

2023-05-17 13:15:36product.INFO: Wenku.WenkuDocProcessJob.error -> No Support Converters


评论

后台设置配置一下,看是否配置了该后缀

 

@ModStart:

那可能要帮忙看看如何解决这个问题了 https://modstart.com/thread/1071

 
1
我来评论
QQ
微信
客服