npocccties / chilospeech

CHiLO-Speechは,学習支援システムCHiBi-CHiLOに対応した,音声合成ビデオ作成ツールです.パワーポイントにナレーション原稿を記載し,GitHubレポジトリにアップロードすると,CHiBi-CHiLOに対応した合成音声付きビデオ教材が作成できます.
https://docs.cccties.org/chilospeech/
MIT License
3 stars 2 forks source link

PowerPointのファイル名に半角スペースが使えない #17

Open ties-mitsuhashi opened 3 years ago

ties-mitsuhashi commented 3 years ago

そのバグについて

PowerPointのファイル名に半角スペースが含まれていると(例:VUCA_full 1.pptx),GitHub ActionでZipが出力されず,Summaryに以下のようなメッセージが表示される.

generate
No files were found with the provided path: output. No artifacts will be uploaded.

期待していた動作

Zipが出力される.

追記、備考

Actionの Jobs > generate > ppt2video files に以下のようなログが表示されている.

Error: 021-11-11T05:20:16.104] [ERROR] ppt2video - Error: Command failed with exit code 1: java -jar /home/runner/work/chilo-speech-cccties/chilo-speech-cccties/ppt2video/src/../lib/tika-app-1.26.jar -x work/mitsuhashi/VUCA_full 1.pptx
Nov 11, 2021 5:20:15 AM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem
WARNING: J2KImageReader not loaded. JPEG2000 files will not be processed.
See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io
for optional dependencies.

Nov 11, 2021 5:20:15 AM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem
WARNING: org.xerial's sqlite-jdbc is not loaded.
Please provide the jar on your classpath to parse sqlite files.
See tika-parsers/pom.xml for the correct version.
Exception in thread "main" java.net.MalformedURLException: no protocol: work/mitsuhashi/VUCA_full
    at java.base/java.net.URL.<init>(URL.java:645)
    at java.base/java.net.URL.<init>(URL.java:541)
    at java.base/java.net.URL.<init>(URL.java:488)
    at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:499)
    at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:150)
    at makeError (/home/runner/work/chilo-speech-cccties/chilo-speech-cccties/ppt2video/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/home/runner/work/chilo-speech-cccties/chilo-speech-cccties/ppt2video/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async getTika (/home/runner/work/chilo-speech-cccties/chilo-speech-cccties/ppt2video/src/video.js:25:20)
    at async Object.ppt2video (/home/runner/work/chilo-speech-cccties/chilo-speech-cccties/ppt2video/src/video.js:301:11) {
  shortMessage: 'Command failed with exit code 1: java -jar /home/runner/work/chilo-speech-cccties/chilo-speech-cccties/ppt2video/src/../lib/tika-app-1.26.jar -x work/mitsuhashi/VUCA_full 1.pptx',
  command: 'java -jar /home/runner/work/chilo-speech-cccties/chilo-speech-cccties/ppt2video/src/../lib/tika-app-1.26.jar -x work/mitsuhashi/VUCA_full 1.pptx',
  escapedCommand: 'java -jar "/home/runner/work/chilo-speech-cccties/chilo-speech-cccties/ppt2video/src/../lib/tika-app-1.26.jar" -x "work/mitsuhashi/VUCA_full" 1.pptx',
  exitCode: 1,
  signal: undefined,
  signalDescription: undefined,
  stdout: '',
  stderr: 'Nov 11, 2021 5:20:15 AM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem\n' +
    'WARNING: J2KImageReader not loaded. JPEG2000 files will not be processed.\n' +
    'See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io\n' +
    'for optional dependencies.\n' +
    '\n' +
    'Nov 11, 2021 5:20:15 AM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem\n' +
    "WARNING: org.xerial's sqlite-jdbc is not loaded.\n" +
    'Please provide the jar on your classpath to parse sqlite files.\n' +
    'See tika-parsers/pom.xml for the correct version.\n' +
    'Exception in thread "main" java.net.MalformedURLException: no protocol: work/mitsuhashi/VUCA_full\n' +
    '\tat java.base/java.net.URL.<init>(URL.java:645)\n' +
    '\tat java.base/java.net.URL.<init>(URL.java:541)\n' +
    '\tat java.base/java.net.URL.<init>(URL.java:488)\n' +
    '\tat org.apache.tika.cli.TikaCLI.process(TikaCLI.java:499)\n' +
    '\tat org.apache.tika.cli.TikaCLI.main(TikaCLI.java:150)',
  failed: true,
  timedOut: false,
  isCanceled: false,
  killed: false
}
[2021-11-11T05:20:16.109] [FATAL] ppt2video - can't get tika xml output.

スクリーンショット

image

image