Re: [Ifeffit] Ifeffit on Windows Vista
On Monday 05 March 2007 12:28, Francesc Sepulcre wrote:
Dear Bruce,
Is just to know if is possible to install ifeffit (Artemis, Athena,...) on Windows Vista. If yes, please, let me know how to do this, because Im trying to install version 1.2.9 but doesnt works.
Please, excuse me if this is not the correct way to ask about this problem.
Hi Francesc, I am forwarding my response to the Ifeffit mailing list (which is the best forum for questions of this sort.) To join, go to: http://cars9.uchicago.edu/mailman/listinfo/ifeffit/ I am not in a position to comment. I don't have a Vista machine of my own. Nor does Matt, as far as I know. So we certainly have not yet tested the software on Vista. Is anyone on the list using Vista yet? Any hints for Francesc about getting the installer to work? Francesc, perhaps if you could give us some more information about how it fails -- screenshots, transcriptions of error messages, something that gives a clue as to what the problem is -- someone may be able to make a useful suggestion. B -- Bruce Ravel ---------------------------------------------- bravel@anl.gov Molecular Environmental Science Group, Building 203, Room E-165 MRCAT, Sector 10, Advanced Photon Source, Building 433, Room B007 Argonne National Laboratory phone and voice mail: (1) 630 252 5033 Argonne IL 60439, USA fax: (1) 630 252 9793 My homepage: http://cars9.uchicago.edu/~ravel EXAFS software: http://cars9.uchicago.edu/~ravel/software/exafs/
Hi, I've heard two other reports that Ifeffit "does not work" with Windows Vista, but haven't had a detailed enough report to know where the problem lies. I don't have a Vista machine readily available. Any volunteers to look into this? --Matt
Ifeffiters: Ifeffit-1.2.9 DOES work on Vista, with a little fix. What does not seem to work is the hand off between the program runner.exe and the applications (at least the applications I checked, which were Athena, Artemis, and Hephaestus). First I'll give the fix, then I'll give details that might help Matt and Bruce understand what's going on. 1. Install Ifeffit-1.2.9 to its default location (C:\Program Files\Ifeffit). Doing this as an administrator or using the XP Compatitibility mode is NOT necessary and does not help the situation. 2. Copy the folder "Share" from the Ifeffit directory to the Ifeffit/bin directory. You will now have 2 copies of the Share folder, one in its original location and one in the bin subdirectory. (I'm not sure if the original directory is still needed, but better safer than sorry - what's an extra 5 MB). 3. Open a command prompt window and change to the Ifeffit\bin directory. (Again, doing this as an administrator or in XP compatibility mode does not seem to help.) 4. Execute the use_ifeffit.bat file to set things up. 5. Start the program you want by typing its name. Athena appeared to load an old set of data, manipulate it, and save a revised project just fine. The PG-Plot window also opened and appeared to work normally. Hephaestus appeared to work fine (even for neptunium). Athena started normally. ------------------- To help figure out what the problem is.... If one tries to start one of the applications by clicking on its icon in the normal way, runner.exe starts up and goes off to check for new versions. In the task bar, both the runner icon and the icon for the chosen program are visible, and the runner.exe text window opens up. But, before one can read anything the runner text window closes, and both programs terminate. Next I open a command line window and tried this again step-by-step. A copy of what happened is attached as the text file Ifeffit_Errors.txt In summary, runner.exe started fine and did its update check, but then it generated "OSError: [Errno 22] Invalid argument" and quit. At that point, if I simply typed in the command for a Ravelware executable, I get another error indicating that the application can't find the file C:\Program Files\Ifeffit\bin\share\perl\Xray\space_groups.db. If I now copy the whole share directory into the bin directory, the program can find what it needs and starts normally. I found the same behavior using the command line in Windows XP. If I try to start a program by typing in the name, I get exactly the same error, and copying the share directory into the bin directory solves the problem. Of course, the normal method of clicking on the icon works under Windows XP, though. I hope this gives direction to those of you who understand what runner.exe is supposed to be doing and why the Ravelware programs can find the share directory when the runner to application hand-off works but not when one tries to start the application manually (in either XP or Vista). I'll be happy to help test any changes the the Windows pacakges that you might want/have time to make. Mark ------------------------------ Mark P. Jensen Chemistry Division Argonne National Laboratory 9700 South Cass Avenue Argonne, Illinois 60439-4831 USA 630-252-3670 630-252-7501 FAX mjensen@anl.gov -----Original Message----- From: ifeffit-bounces@millenia.cars.aps.anl.gov [mailto:ifeffit-bounces@millenia.cars.aps.anl.gov] On Behalf Of Newville, Matthew G. Sent: Tuesday, March 06, 2007 10:56 PM To: Ravel, Bruce D.; XAFS Analysis using Ifeffit Subject: Re: [Ifeffit] Ifeffit on Windows Vista Hi, I've heard two other reports that Ifeffit "does not work" with Windows Vista, but haven't had a detailed enough report to know where the problem lies. I don't have a Vista machine readily available. Any volunteers to look into this? --Matt _______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Mark, Thanks a ton -- that is (and will be) very helpful!! It suggests that the main executables work and what is failing is the runner (which does set up the environment, and so might explain why the share directory is acting weirdly with use_ifeffit.bat), but it's unfortunately failing exactly where runner executes the selected program (eg, artemis.exe). I can't tell from here how serious that is. It does seem promising, though, that we'll eventually be able to make a version of Ifeffit that works on both XP and Vista. --Matt
On Thursday 08 March 2007 09:40, Jensen, Mark P. wrote:
At that point, if I simply typed in the command for a Ravelware executable, I get another error indicating that the application can't find the file
C:\Program Files\Ifeffit\bin\share\perl\Xray\space_groups.db.
If I now copy the whole share directory into the bin directory, the program can find what it needs and starts normally.
Mark, Wow! Great work. I'm going to make a FAQ entry that points to your post. Does my answer yesterday to Øystein's question affect whether you need to move the shar folder? http://cars9.uchicago.edu/pipermail/ifeffit/2007-March/002919.html B -- Bruce Ravel ---------------------------------------------- bravel@anl.gov Molecular Environmental Science Group, Building 203, Room E-165 MRCAT, Sector 10, Advanced Photon Source, Building 433, Room B007 Argonne National Laboratory phone and voice mail: (1) 630 252 5033 Argonne IL 60439, USA fax: (1) 630 252 9793 My homepage: http://cars9.uchicago.edu/~ravel EXAFS software: http://cars9.uchicago.edu/~ravel/software/exafs/
Bruce asked, "Does my answer yesterday to Øystein's question affect whether you need to move the shar folder? " The short answer is No. In fact, I don't understand how your answer would fix Øystein's problem (see the long answer below). Though I freely admit that I have no idea at all about the intracacies of Bruce and Matt's excellent code. The long answer: Knowing that there were environment variables that needed to be set, I always ran use_ifeffit.bat as the first step. That Bat file contains all of the commands you said to use in yesterday's post. Regardless, your advice in that post doesn't work for me. I can tell that the BAT file sets the environmental variables correctly. For example, on my work computer Iffeffit does not dwell in C:\Program Files, it dwells in Applications. After using the correct Batch file, The error message that I get trying to start athena from the command line is now C:\APPLIC~1\Ifeffit\bin>athena can't open C:\Applications\Ifeffit\bin\share\perl\Xray\space_groups.db: No such file or directory at /PerlApp/Xray/Xtal.pm line 116 BEGIN failed--compilation aborted at /PerlApp/Ifeffit/Files.pm line 50. BEGIN failed--compilation aborted at athena line 96. Note that the Directory C:\Program Files\... is now correctly C:\Applicaitons\... Therefore, it seems to me that there is an extra directory in the path for that file, and that setting the environment variables can't make it go away. If it read, "C:\Applications\Ifeffit\share\...." instead of "C:\Applications\Ifeffit\bin\share..." everything would be OK. The impact of the environment variables occurs earlier in the file path. Mark ------------------------------ Mark P. Jensen Chemistry Division Argonne National Laboratory 9700 South Cass Avenue Argonne, Illinois 60439-4831 USA 630-252-3670 630-252-7501 FAX mjensen@anl.gov -----Original Message----- From: ifeffit-bounces@millenia.cars.aps.anl.gov [mailto:ifeffit-bounces@millenia.cars.aps.anl.gov] On Behalf Of Ravel, Bruce D. Sent: Thursday, March 08, 2007 10:23 AM To: XAFS Analysis using Ifeffit Subject: Re: [Ifeffit] Ifeffit on Windows Vista On Thursday 08 March 2007 09:40, Jensen, Mark P. wrote:
At that point, if I simply typed in the command for a Ravelware executable, I get another error indicating that the application can't find the file
C:\Program Files\Ifeffit\bin\share\perl\Xray\space_groups.db.
If I now copy the whole share directory into the bin directory, the program can find what it needs and starts normally.
Mark, Wow! Great work. I'm going to make a FAQ entry that points to your post. Does my answer yesterday to Øystein's question affect whether you need to move the shar folder? http://cars9.uchicago.edu/pipermail/ifeffit/2007-March/002919.html B -- Bruce Ravel ---------------------------------------------- bravel@anl.gov Molecular Environmental Science Group, Building 203, Room E-165 MRCAT, Sector 10, Advanced Photon Source, Building 433, Room B007 Argonne National Laboratory phone and voice mail: (1) 630 252 5033 Argonne IL 60439, USA fax: (1) 630 252 9793 My homepage: http://cars9.uchicago.edu/~ravel EXAFS software: http://cars9.uchicago.edu/~ravel/software/exafs/ _______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Dear Bruce,
Is just to know if is possible to install ifeffit (Artemis, Athena,...) on Windows Vista. If yes, please, let me know how to do this, because I'm trying to install version 1.2.9 but doesn't works.
Please, excuse me if this is not the correct way to ask about this
Ifeffiters: Hopefully Francesc has joined the mailing list so he can read this. A motherboard & hard disk failure on my home computer forced me to purchase a new PC last week. The faster computer has really saved time with all the rebooting and OS reinstalls that I've had to do over the last few days. :( Enough said about Vista. Unfortunately, the hardware is new enough that I can't get a Linux a kernal to load to even start installing Linux. I HAVE NOT tried to install IFEFFIT 1.2.9 under Vista yet. I am volunterring to try tonight and report my findings if the issue is not resolved before then. The 2 things I am going to try (and that Francesc should try) are: 1) Run the ifeffit installer as an administrator (right click on the ifeffit-1.2.9.exe icon to get this option) 2) Do the installation in the Windows XP compatibility mode. If you don't know how to do this, check out http://www.howtogeek.com/howto/windows-vista/using-windows-vista-compati bility-mode/ While I am not a Vista fan, I am optomistic that the combination of these 2 things could work. They have worked pretty well for me installing legacy software (e.g., my favorite spreadsheet program that dates from 1997) and even the Windows XP drivers(!) for my scanner and camera. It has NOT worked for everything, though (like Argonne's VPN client). Since I can dual boot into Vista or XP. My personal solution will be to use ifeffit under Windows XP should the install fail. ------------------------------ Mark P. Jensen Chemistry Division Argonne National Laboratory 9700 South Cass Avenue Argonne, Illinois 60439-4831 USA 630-252-3670 630-252-7501 FAX mjensen@anl.gov -----Original Message----- From: ifeffit-bounces@millenia.cars.aps.anl.gov [mailto:ifeffit-bounces@millenia.cars.aps.anl.gov] On Behalf Of Ravel, Bruce D. Sent: Tuesday, March 06, 2007 8:57 AM To: Francesc Sepulcre; XAFS Ifeffit Subject: Re: [Ifeffit] Ifeffit on Windows Vista On Monday 05 March 2007 12:28, Francesc Sepulcre wrote: problem. Hi Francesc, I am forwarding my response to the Ifeffit mailing list (which is the best forum for questions of this sort.) To join, go to: http://cars9.uchicago.edu/mailman/listinfo/ifeffit/ I am not in a position to comment. I don't have a Vista machine of my own. Nor does Matt, as far as I know. So we certainly have not yet tested the software on Vista. Is anyone on the list using Vista yet? Any hints for Francesc about getting the installer to work? Francesc, perhaps if you could give us some more information about how it fails -- screenshots, transcriptions of error messages, something that gives a clue as to what the problem is -- someone may be able to make a useful suggestion. B -- Bruce Ravel ---------------------------------------------- bravel@anl.gov Molecular Environmental Science Group, Building 203, Room E-165 MRCAT, Sector 10, Advanced Photon Source, Building 433, Room B007 Argonne National Laboratory phone and voice mail: (1) 630 252 5033 Argonne IL 60439, USA fax: (1) 630 252 9793 My homepage: http://cars9.uchicago.edu/~ravel EXAFS software: http://cars9.uchicago.edu/~ravel/software/exafs/ _______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
participants (3)
-
Bruce Ravel
-
Jensen, Mark P.
-
Matt Newville