Hi,

I found another minor Unix/Linux specific bug:

When using the (tab) command-auto-completion in the Jmol Console
(which by the way is really awesome and I'm still wondering why I just
discovered it recently) to load a file e.g.: ~/Desktop/myFile.pdb .

---------------8><---------------snipp---------------><8---------------
$ cd
/home/stuekero/Desktop
$ load "/*press Tab-key here - results in:*/
$ load "/home/stuekero/Desktop/myfile.pdb"  # notice the lower-case "f"
script ERROR: java.io.FileNotFoundException:
/home/stuekero/Desktop/myfile.pdb (No such file or directory)
----
         load >> "/home/stuekero/Desktop/myfile.pdb" <<
$ load "/home/stuekero/Desktop/myFile.pdb"  # notice the upper-case "f"
$ # works just fine
---------------8><---------------snipp---------------><8---------------

One can see, that the auto-completion of the filename works except
that the filename is converted to lower-case and therefore under Linux
(or any other OS with case-sensitive file-system) the load fails.


Thanks,
Oliver

On Tue, Oct 26, 2010 at 16:46, Oliver Stueker
<revilo2...@users.sourceforge.net> wrote:
>
> Hi,
>
> The path is correct except of the \r\n .
>
> (where the backslashes in case of the png is also switched to forward-slashes:
> "file:/home/stuekero/Desktop/myFile.png/r/n" )
>
> Oliver
>
>>
>> On Tue, Oct 26, 2010 at 15:42, Robert Hanson <hans...@stolaf.edu> wrote:
>>> Oh, is it just the CR LF at the end?
>>>
>>> On Tue, Oct 26, 2010 at 4:29 PM, Oliver Stueker
>>> <revilo2...@users.sourceforge.net> wrote:
>>>>
>>>> Hi Bob,
>>>>
>>>> Just a small bug that I noticed the other day (not urgent, just that
>>>> it won't get missed):
>>>>
>>>> Under Linux (Ubuntu 10.04 Lucid Lynx, Gnome 2.30.2) I can't load files
>>>> via drag-and-drop:
>>>>
>>>> for a png I get:
>>>> script ERROR: io error reading
>>>> file:/home/stuekero/Desktop/myFile.png/r/n:
>>>> java.io.FileNotFoundException: /home/stuekero/Desktop/myFile.png\r\n
>>>> (No such file or directory)
>>>>
>>>> and for a PDB:
>>>> script ERROR: java.io.FileNotFoundException:
>>>> /home/stuekero/Desktop/myFile.pdb\r\n (No such file or directory)
>>>> ----
>>>>         load >> "file:///home/stuekero/Desktop/myFile.pdb\r\n" <<
>>>>
>>>>
>>>> Tested with Jmol 12.0.x (incl. x=19) and Jmol 12.1.dev (downloaded today).
>>>> java.vendor: Sun Microsystems Inc.
>>>> java.version: 1.6.0_22
>>>>
>>>>
>>>> Oliver

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to