Hi all,
on a customer's machine acpcIndexPointCloud(...) is continuously returning ePCFileNotWritten.
Indexing scans via POINTCLOUDINDEX command also fails.
We've already checked privileges and available disk space, everything seems fine.
Any ideas? Any information under which circumstances acpcIndexPointCloud(...) is returning that specific error code?
Thanks,
Tilo.
Solved! Go to Solution.
Solved by Balaji_Ram. Go to Solution.
Hi Tilo,
I have enquired about this with our engineering team.
I will let you know after I get a reply from the engineering team.
Regards,
Balaji
Hi Tilo,
Here are two suggestions that I received from my colleagues in the engineering team.
<<<
Which is kind of point cloud file that the customer try to index? ISD or PCG? And what system he is using? Win7 or Win 8? X86 or X64?
If he was trying the PCG indexing. There is one possibility to return ePCFileNotWritten when Windows API WriteFile function fails.
If he was trying the ISG indexing. The failure may be caused when failing to save an ISD file.
This type of exception is thrown when the Ambercore Point Cloud API fails to save an ISD file.
Generally, the failure may be caused by system issues, like not enough memory, too many I/O requests, or some read/write lock, etc.
It might help to reboot the system? Or specify another destination folder to put the indexed file?
>>>
<<<
Also, at least for PCG, make sure there’s enough space in the %TEMP% folder.
I’m not sure what error it would return if you ran out, but enough space for two, or even three, uncompressed point clouds is recommended for indexing. So something like 3 * 20 * pointcount in bytes.
>>>
Regards,
Balaji