cesium-point-cloud-generator icon indicating copy to clipboard operation
cesium-point-cloud-generator copied to clipboard

Database import fails during conversion

Open jailln opened this issue 3 years ago • 5 comments

Hi,

Thanks you for making this software and for making it available.

When running a conversion (either with a custom XYZ file or with the ones provided in the repository), I found myself with the following error and the conversion never ends: image

  • OS: Ubuntu 20.04
  • java -version :
openjdk version "1.8.0_282"
OpenJDK Runtime Environment (build 1.8.0_282-8u282-b08-0ubuntu1~20.04-b08)
OpenJDK 64-Bit Server VM (build 25.282-b08, mixed mode)

Did I miss something at the installation / running phase ?

Thanks.

jailln avatar Apr 19 '21 15:04 jailln

Hi, please try one of the following and see if it works:

  1. Convert your file to UTF8
  2. Check the end of your file if the file has been exported correctly, you should insert an empty line at the end of the file
  3. Check your Java version if it is compatible to Geotools
  4. Check your access (read/write) rights to the export folder

Hope it helps!

Son-HNguyen avatar Apr 26 '21 18:04 Son-HNguyen

Hi, Thanks for your answer. I have the same problem with the test files provided in this repository so I guess it does not come from the first two possibilities. My java version is compatible with geotools and I have read/write access to the export folder.

jailln avatar Apr 27 '21 10:04 jailln

Can you import the project in a Java IDE (Netbeans, Eclipse, IntelliJ) in debug mode and post the run logs here?

Son-HNguyen avatar May 12 '21 17:05 Son-HNguyen

Also, I suggest running this command first and see if it solves your problem:

sudo apt install sqlite

(see https://github.com/AlexCovizzi/vscode-sqlite/issues/71#issuecomment-638581959)

Son-HNguyen avatar May 12 '21 17:05 Son-HNguyen

Thanks for your suggestion, I still get the error after installing sqlite locally.

jailln avatar May 31 '21 08:05 jailln