How to Update from v16 (Microscope Windows Computer) » History » Version 1
Anchi Cheng, 05/18/2010 09:43 PM
| 1 | 1 | Anchi Cheng | h1. How to Update from v16 (Window) |
|---|---|---|---|
| 2 | |||
| 3 | By switching to svn package check out, you now need to install svn on Windows to get the |
||
| 4 | updated packages. Because numextension and libCV requires extra compiler, we have created |
||
| 5 | window installer for them for python 2.5 and made them available through "http://www.leginon.org/":http://www.leginon.org/ |
||
| 6 | |||
| 7 | See <link linkend="InstT_install">Installation Troubleshooting</link> and "Leginon Bulletin Board":http://emg.nysbc.org/bb/viewforum.php?f=2 searching |
||
| 8 | for "install" if you run into problems. |
||
| 9 | |||
| 10 | h2. Packages required from NRAMM |
||
| 11 | |||
| 12 | Here are the packages you need to install with python installer |
||
| 13 | |||
| 14 | |_.SVN Package Name|_.Installed Python Package Name|_.Reason for update:| |
||
| 15 | |leginon|Leginon|new features| |
||
| 16 | |pyami|pyami|clean up| |
||
| 17 | |sinedon|sinedon|new stuff| |
||
| 18 | |pyScope|pyScope|new instrument configuration| |
||
| 19 | |ImageViewer|ImageViewer|updated and required for tomography| |
||
| 20 | |||
| 21 | Because numextension and libCV requires extra compiler, we have created window installer |
||
| 22 | for them for python 2.5 and made them available through "http://www.leginon.org/":http://www.leginon.org/ |
||
| 23 | |||
| 24 | |_.Downloadfile Name|_.Installed Python Package File|_.Reason for update:| |
||
| 25 | |NumExtension-1.2.0.win32-py2.5.exe|numextension.pyd|clean up| |
||
| 26 | |libCV-0.2.win32-py2.5.exe|libCV.pyd|bug fixes| |
||
| 27 | |||
| 28 | h2. Uninstall your existing packages: |
||
| 29 | |||
| 30 | Although new installation overwrite the old in most cases, problem has been observed in |
||
| 31 | the past. Therefore, it is best to remove the old files before new installation. |
||
| 32 | |||
| 33 | Use "Add or Remove Programs" application in "Control Panel" to do this. Leginon related |
||
| 34 | packages are shown with prefix "Python 2.5" |
||
| 35 | |||
| 36 | If you didn't use Installer to install previously, the packages may not show up in the |
||
| 37 | Programs list. Simply remove the folder containing the old packages in this case. |
||
| 38 | |||
| 39 | h2. Download and install SVN client program: |
||
| 40 | |||
| 41 | By switching to svn package check out, you now need to install svn client on Windows to |
||
| 42 | get the updated packages. We recommand TortoiseSVN "http://tortoisesvn.tigris.org/":http://www.leginon.org/ . |
||
| 43 | |||
| 44 | h2. Check out SVN Source Files from the depository |
||
| 45 | |||
| 46 | Use your mouse to do the following |
||
| 47 | *Create Leginon-1.6-ALL directory somewhere at your convenience |
||
| 48 | *Change directory into Leginon-1.6-ALL |
||
| 49 | *Right-click the mouse botton in this directory window and select Tortoise svn |
||
| 50 | Checkout in the menu:!http://emg.nysbc.org/software/leginon/images/images/svnmenu.png! |
||
| 51 | *Set up svn checkout window like this for each of the leginon package!http://emg.nysbc.org/software/leginon/images/images/svnco.png! |
||
| 52 | |||
| 53 | h2. Install the packages you downloaded from NRAMM svn depository |
||
| 54 | |||
| 55 | * Start a command line Window from Start Menu |
||
| 56 | |||
| 57 | * Reinstall the package in each folder with commands such as |
||
| 58 | <pre>cd Your_Download_Place\Leginon-1.6-ALL\leginon |
||
| 59 | c:\\python25\python.exe setup.py install</pre> |
||
| 60 | |||
| 61 | h2. Download the two Window Installer Files from Leginon website |
||
| 62 | |||
| 63 | "http://www.leginon.org/":http://www.leginon.org/ |
||
| 64 | |||
| 65 | h2. Install individual packages |
||
| 66 | |||
| 67 | Excute the installer files and follow the instruction. |
||
| 68 | |||
| 69 | h2. Transfer Drift adjustment preference to use Transform Manager |
||
| 70 | |||
| 71 | * This procedure copies all most recent user settings to that required by the new |
||
| 72 | transform |
||
| 73 | manager.<pre>cd leginon |
||
| 74 | python update16.py</pre> |
||
| 75 | |||
| 76 | h2. Import the new (1.6) applications included with Leginon |
||
| 77 | |||
| 78 | Follow the instructions in Administrator Chapter on <link linkend="admin_app_import" |
||
| 79 | >Import applications</link> |