Processing Error: Device not Ready

Forgive me if this is a simple solution. I am not really a computer guy and am learning as I go. I get a strange error in the logs when I try to process the image. The last line seems the most relevant, but I will post the whole, short log just incase

Traceback (most recent call last):
File “C:\WebODM\resources\app\apps\ODM\run.py”, line 18, in
from stages.odm_app import ODMApp
File “C:\WebODM\resources\app\apps\ODM\stages\odm_app.py”, line 14, in
from stages.odm_georeferencing import ODMGeoreferencingStage
File “C:\WebODM\resources\app\apps\ODM\stages\odm_georeferencing.py”, line 22, in
from opendm.align import compute_alignment_matrix, transform_point_cloud, transform_obj
File “C:\WebODM\resources\app\apps\ODM\opendm\align.py”, line 4, in
import codem
File “C:\WebODM\resources\app\apps\ODM\venv\lib\site-packages\codem_init_.py”, line 5, in
from codem.main import apply_registration
File “C:\WebODM\resources\app\apps\ODM\venv\lib\site-packages\codem\main.py”, line 28, in
from codem.preprocessing.preprocess import GeoData
File “C:\WebODM\resources\app\apps\ODM\venv\lib\site-packages\codem\preprocessing\preprocess.py”, line 36, in
import pdal
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install/lib/python3.8/dist-packages\pdal_init_.py”, line 8, in
inject_pdal_drivers()
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install/lib/python3.8/dist-packages\pdal\drivers.py”, line 66, in inject_pdal_drivers
drivers = libpdalpython.getDrivers()
RuntimeError: weakly_canonical: The device is not ready.: “D:/a/ODM/ODM/SuperBuild/install/bin”

How do I fix this? Thanks in advance!

Edit: Just testing my knowledge. Is the program trying to use my disk drive to process my images?

1 Like

Mm, strange. It might be a bug. Do you have a D: drive on your computer?

1 Like

Yes i do. When i try to find that location in the files by entering “D:”, it pulls up my disk drive.

1 Like

Could you try to download this file (win32env.bat) win32env.bat · GitHub which has been modified and replace the existing one C:\WebODM\resources\app\apps\ODM\win32env.bat? Make a copy of the original before replacing it just in case. Then try to process again. Does the error persist?

1 Like

I would love to try and do that. Is there a link you have that could teach me how to replace that? If not, a quick run down would be much appreciated.

1 Like
  1. Download the file (click the link, press “Download Zip” from the top right).
  2. Double-click the downloaded zip file to access the archive (navigate into the folders until you find win32env.bat)
  3. Right-click the file, press Copy.
  4. From Explorer, navigate to C:\WebODM\resources\app\apps\ODM
  5. Right-click an empty space in the explorer window, click “Paste”. Confirm that you want to replace the file.
  6. Try re-processing the dataset.
1 Like

Seems to be working. Thank you so much. You computer geniuses never disappoint.

2 Likes

This should be now fixed in WebODM build 84 for everyone. Update if you encounter the same issue!

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.