#Accident scene
Use libreoffice under Ubuntu to convert txt to PDF. The command is as follows:
libreoffice --invisible --convert-to pdf /home/parasaga/resource/testtxt.txt --outdir /home/parasaga/resource/
report errors:
Error: source file could not be loaded
#Causes and Solutions
1. Reason:
To install libreoffice, use the following command:
sudo apt-get install libreoffice-common
In this way, the libreoffice writer module will not be installed, resulting in the above error;
2. Solution:
Install the libreoffice writer module.
sudo apt-get install libreoffice-writer
Read More:
- CentOS: How to Solve Python File Run Error
- [Ubuntu] How to Solve dpkg Error: dpkg: error: failed to open package info file ‘/usr/local/var/lib/dpkg/status’ for reading: No such file or directory
- How to Solve Error: Driver “kvm2“ not found
- How to Solve Linux Error: -bash: unzip: command not found
- How to Solve Docker delete container image error: Error response from daemon: conflict: unable to delete 7cc1942f1ed5 (must be forced)
- How to Solve Ubuntu “Failed to fetch” Error
- How to Solve Unzip Error: tar: Error is not recoverable: exiting now
- [Solved] source /etc/profile Error: not a valid identifier
- How to Solve Roscore Run error [Install ROS]
- How to Solve Xmind Install Error in Ubuntu System
- How to Solve Error: “Hdaudio hdaudioc0d2: unable to bind codec”
- Linux: How to Solve vim ~/.bashrc Execute Error
- How to Solve labelme Install Error in Ubuntu
- How to Solve Error vim :call CompileRunGcc()
- AFTER THE GIT SOURCE CODE IS INSTALLED, AN ERROR IS REPORTED /USR/BIN/GIT: NO SUCH FILE OR DIRECTORY
- Linux: How to Solve sudo operate Error
- How to Solve dyn_small_obs_avoidance Compile Error (eigen version Issue)
- Ffmpeg: How to Solve error initializing filter ‘gltransition’
- Linux: How to Solve pyperclip Module Error
- [Solved] Ubuntu Update source error: Certificate verification failed: The certificate is NOT trusted.