You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -326,9 +326,9 @@ public function convert(Request $request) {
326
326
->where('processId', '=', $Nuuid)
327
327
->update([
328
328
'errReason' => 'Converted file not found on the server !',
329
-
'errApiReason' => $asposeAPI->getOutput(),
329
+
'errApiReason' => $asposeAPI->getErrorOutput(),
330
330
]);
331
-
NotificationHelper::Instance()->sendErrNotify($currentFileName, $newFileSize, $Nuuid, 'FAIL', 'Converted file not found on the server !', $asposeAPI->getOutput());
331
+
NotificationHelper::Instance()->sendErrNotify($currentFileName, $newFileSize, $Nuuid, 'FAIL', 'Converted file not found on the server !', $asposeAPI->getErrorOutput());
332
332
returnresponse()->json([
333
333
'status' => 400,
334
334
'message' => 'PDF Conversion failed !',
@@ -428,9 +428,9 @@ public function convert(Request $request) {
428
428
->where('processId', '=', $Nuuid)
429
429
->update([
430
430
'errReason' => 'Converted file not found on the server !',
431
-
'errApiReason' => $asposeAPI->getOutput(),
431
+
'errApiReason' => $asposeAPI->getErrorOutput(),
432
432
]);
433
-
NotificationHelper::Instance()->sendErrNotify($currentFileName, $newFileSize, $Nuuid, 'FAIL', 'Converted file not found on the server !', $asposeAPI->getOutput());
433
+
NotificationHelper::Instance()->sendErrNotify($currentFileName, $newFileSize, $Nuuid, 'FAIL', 'Converted file not found on the server !', $asposeAPI->getErrorOutput());
434
434
returnresponse()->json([
435
435
'status' => 400,
436
436
'message' => 'PDF Conversion failed !',
@@ -458,7 +458,7 @@ public function convert(Request $request) {
458
458
}
459
459
} elseif ($convertType == 'pptx') {
460
460
$asposeAPI = newProcess([
461
-
'python',
461
+
'python3',
462
462
public_path().'/ext-python/asposeAPI.py',
463
463
env('ASPOSE_CLOUD_CLIENT_ID'),
464
464
env('ASPOSE_CLOUD_TOKEN'),
@@ -655,13 +655,13 @@ public function convert(Request $request) {
655
655
->where('processId', '=', $Nuuid)
656
656
->update([
657
657
'errReason' => 'Converted file not found on the server !',
658
-
'errApiReason' => $asposeAPI->getOutput(),
658
+
'errApiReason' => $asposeAPI->getErrorOutput(),
659
659
]);
660
-
NotificationHelper::Instance()->sendErrNotify($currentFileName, $newFileSize, $Nuuid, 'FAIL', 'Converted file not found on the server !', $asposeAPI->getOutput());
660
+
NotificationHelper::Instance()->sendErrNotify($currentFileName, $newFileSize, $Nuuid, 'FAIL', 'Converted file not found on the server !', $asposeAPI->getErrorOutput());
661
661
returnresponse()->json([
662
662
'status' => 400,
663
663
'message' => 'PDF Conversion failed !',
664
-
'error' => $asposeAPI->getOutput(),
664
+
'error' => $asposeAPI->getErrorOutput(),
665
665
'processId' => $Nuuid
666
666
], 400);
667
667
} catch (QueryException$ex) {
@@ -757,9 +757,9 @@ public function convert(Request $request) {
757
757
->where('processId', '=', $Nuuid)
758
758
->update([
759
759
'errReason' => 'Converted file not found on the server !',
760
-
'errApiReason' => $asposeAPI->getOutput(),
760
+
'errApiReason' => $asposeAPI->getErrorOutput(),
761
761
]);
762
-
NotificationHelper::Instance()->sendErrNotify($currentFileName, $newFileSize, $Nuuid, 'FAIL', 'Converted file not found on the server !', $asposeAPI->getOutput());
762
+
NotificationHelper::Instance()->sendErrNotify($currentFileName, $newFileSize, $Nuuid, 'FAIL', 'Converted file not found on the server !', $asposeAPI->getErrorOutput());
0 commit comments