Troubleshooting/Opening Files

From Jmol
Revision as of 09:36, 9 January 2009 by AngelHerraez (talk | contribs) (new page, subsection of troubleshooting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Solving problems related to opening files

Incorrect file format

If you have a problem opening a certain file, first make sure that the file format is correct (you can check descriptions and examples of most common formats supported by Jmol in the File formats page). Since Jmol does not use explicit format designations for the load command, it relies only in the file contents to identify which is the format.

A common source of error is, for example, the lack of a line in the header of a mol or xyz file (even in the line is empty, it must be there).

File not found

Java has problems with folder names that contain spaces or non-English characters; it converts those characters to Unicode but then either Jmol or the OS do not interpret them correctly (at least under Windows).

For a safest test, put the model file (e.g., File icon.gifmyFile.pdb) and the File icon.gifJmol.jar file in the same folder, then open the script console and type

  load myFile.pdb

(do not use the top menu, File > Open, as that may insert the path)

Contributors

AngelHerraez