1

Closed

System.IO.IOException: The device is not ready.

description

I'm getting this error message - any suggestions? Thanks!
 
 
Ouch! an error : System.IO.IOException: The device is not ready.
 
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,FileShare share)
at System.Xml.XmlTextWriter..ctor(String filename, Encoding encoding)
at Dmoz.Importer.DBHelper.Process(Uri pathToRDF)
at Dmoz.Importer.Program.Main()PRESS A KEY TO QUIT.
Closed Jun 16, 2008 at 7:56 AM by bodzebod
Closed.

comments

bodzebod wrote May 14, 2008 at 11:46 AM

Hi,
it seems like either you've set wrong path in the settings file, or one file is locked (for example, you've opened one of the RDF files with an XML editor?) or you miss the permissions to open one file.

You may check each of the settings : DMOZ_structure_path, DMOZ_content_path, OutputPath.
Then check both structure and content RDF files to see if you have the read permissions, if you have the permissions to access their location/folder, if they are locked by another program.
Check also the output path to see if you have permissions to write there, or if there are already some files that could not be overwritten.

/Stephane Baudet

bodzebod wrote May 14, 2008 at 11:52 AM

Hi again,
after having looked more closely, I think that it's failing to write the file "import.txt" in the path specified by the settings OutputPath.

You should open the OutputPath location and either delete the existing file "import.txt" or adjust the permissions to be able to overwrite it.
It might also be locked, maybe you're already executing DMOZ Importer ?
/Stephane Baudet

davidrepas wrote May 14, 2008 at 2:52 PM

Hi,

It doesn't appear that "import.txt" is being created. I'm running Microsoft Vista with Administrator privledges and all of the paths seem to be correct within the config file.

Thanks,
David

wrote Jun 16, 2008 at 7:56 AM

wrote Feb 12, 2013 at 10:34 PM

wrote May 16, 2013 at 3:11 AM