Hi folks, An odd situation was pointed out to me this weekend that I wanted to mention here on the list. I see the problem I'll describe below on both Windows and linux and I presume it is a problem on all platforms. The "Open many files" dialog in Athena is very handy for importing large numbers of data files. However, there is a strange interaction between this dialog and folders with apostrophes in the folder name. As an example, suppose I put my data file in a folder called "Bruce's Folder". If I try to read that data file using the many-files dialog, I get a strange pop-up error message stating that the data file is a directory and refusing to import the file. Some additional and inscrutable error messages are written to standard output. Interestingly, the single data file dialog has no such problem. Thus, if you put your data in a directory that has an apostrophe (such as "Bruce's Folder") you will not be able to use the many-file import dialog. The two options are to avoid apostrophes in directory names or to read in the data one-by-one. This seems to be a bug in something from the standard perl/Tk library and not in my own code. I'll contact the appropriate person, but I cannot guarantee a fix any time soon. B -- Bruce Ravel ----------------------------------- ravel@phys.washington.edu Code 6134, Building 3, Room 222 Naval Research Laboratory phone: (1) 202 767 5947 Washington DC 20375, USA fax: (1) 202 767 1697 NRL Synchrotron Radiation Consortium (NRL-SRC) Beamlines X11a, X11b, X23b National Synchrotron Light Source Brookhaven National Laboratory, Upton, NY 11973 My homepage: http://feff.phys.washington.edu/~ravel EXAFS software: http://feff.phys.washington.edu/~ravel/software/exafs/
Bruce: Speaking of bugs in the standard perl-tk. Do you know if they have fixed the errors in FBox which requires you to use a patched version in horae? Carlo On Mon, 13 Oct 2003, Bruce Ravel wrote:
Hi folks,
An odd situation was pointed out to me this weekend that I wanted to mention here on the list. I see the problem I'll describe below on both Windows and linux and I presume it is a problem on all platforms.
The "Open many files" dialog in Athena is very handy for importing large numbers of data files. However, there is a strange interaction between this dialog and folders with apostrophes in the folder name.
As an example, suppose I put my data file in a folder called "Bruce's Folder". If I try to read that data file using the many-files dialog, I get a strange pop-up error message stating that the data file is a directory and refusing to import the file. Some additional and inscrutable error messages are written to standard output.
Interestingly, the single data file dialog has no such problem.
Thus, if you put your data in a directory that has an apostrophe (such as "Bruce's Folder") you will not be able to use the many-file import dialog. The two options are to avoid apostrophes in directory names or to read in the data one-by-one.
This seems to be a bug in something from the standard perl/Tk library and not in my own code. I'll contact the appropriate person, but I cannot guarantee a fix any time soon.
B
-- Carlo U. Segre -- Professor of Physics Associate Dean for Special Projects, Graduate College Illinois Institute of Technology Voice: 312.567.3498 Fax: 312.567.3494 Carlo.Segre@iit.edu http://www.iit.edu/~segre
On Monday 13 October 2003 12:12 pm, Carlo U. Segre wrote:
Speaking of bugs in the standard perl-tk. Do you know if they have fixed the errors in FBox which requires you to use a patched version in horae?
Good question. I'll look into for the next release. B -- Bruce Ravel ----------------------------------- ravel@phys.washington.edu Code 6134, Building 3, Room 222 Naval Research Laboratory phone: (1) 202 767 5947 Washington DC 20375, USA fax: (1) 202 767 1697 NRL Synchrotron Radiation Consortium (NRL-SRC) Beamlines X11a, X11b, X23b National Synchrotron Light Source Brookhaven National Laboratory, Upton, NY 11973 My homepage: http://feff.phys.washington.edu/~ravel EXAFS software: http://feff.phys.washington.edu/~ravel/software/exafs/
participants (2)
-
Bruce Ravel
-
Carlo U. Segre