Test run operation problems » History » Version 33
Anchi Cheng, 11/08/2013 11:00 AM
| 1 | 1 | Amber Herold | h1. Test run operation problems |
|---|---|---|---|
| 2 | |||
| 3 | |||
| 4 | |||
| 5 | |||
| 6 | |||
| 7 | 21 | Alex Kadokura | * [[Test_run_operation_problems#Python-and-Leginon-windows-do-not-stay-opened-on-Windows-PC|When Leginon or Leginon Client is launched,Python window opens and closes instantaneously on Windows]] |
| 8 | 1 | Amber Herold | |
| 9 | 18 | Alex Kadokura | * [[Test_run_operation_problems#Missing-modules|ImportError "No module named xxxx"]] |
| 10 | 1 | Amber Herold | |
| 11 | |||
| 12 | 25 | Alex Kadokura | * [[Test_run_operation_problems#Tecnai-does-not-show-up-in-instrument-list|Microscope or CCDCamera name does not show up in the |
| 13 | 22 | Alex Kadokura | Leginon instrument list in Instrument Node]] |
| 14 | 1 | Amber Herold | |
| 15 | 26 | Alex Kadokura | * [[Test_run_operation_problems#Tecnai-does-not-show-up-in-instrument-list|The Microscope computer where Leginon Client runs does |
| 16 | not show up in the Launcher list of Leginon when opening an application]] |
||
| 17 | 1 | Amber Herold | |
| 18 | 27 | Alex Kadokura | * [[Test_run_operation_problems#Magnification-list-not-in-the-database|No Magnification saved for xxx(your |
| 19 | scope)]] |
||
| 20 | 1 | Amber Herold | |
| 21 | |||
| 22 | 29 | Alex Kadokura | * [[Test_run_operation_problems#Leginon-fails-to-aquire-and-save-larger-images|Leginon fails to collect 4kx4k images]] |
| 23 | 1 | Amber Herold | |
| 24 | |||
| 25 | |||
| 26 | |||
| 27 | |||
| 28 | |||
| 29 | h2. Python and Leginon windows do not stay opened on |
||
| 30 | Windows PC |
||
| 31 | |||
| 32 | |||
| 33 | |||
| 34 | 30 | Alex Kadokura | *_Why:_* |
| 35 | 1 | Amber Herold | * Windows closes the python process window because an error is detected. |
| 36 | |||
| 37 | |||
| 38 | |||
| 39 | |||
| 40 | 30 | Alex Kadokura | *_Testing: Start Leginon from a python command window so that the error message can be |
| 41 | read_* |
||
| 42 | 1 | Amber Herold | * Follow the following menu to open a python command window: |
| 43 | |||
| 44 | |||
| 45 | Windows/Start Menu/All Programs/Python2.5/Python (command line) |
||
| 46 | |||
| 47 | |||
| 48 | * Python> import start |
||
| 49 | |||
| 50 | |||
| 51 | * Read the error message. Copy it to your bug report when asking NRAMM for |
||
| 52 | help. |
||
| 53 | |||
| 54 | |||
| 55 | |||
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | |||
| 60 | h2. Missing modules |
||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | 30 | Alex Kadokura | *_Why:_* |
| 65 | 1 | Amber Herold | * Either the python path is not set up correctly or the module was not installed |
| 66 | properly. |
||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | 30 | Alex Kadokura | *_Testing:_* |
| 71 | 1 | Amber Herold | * script: <link linkend="inst_syscheck">syscheck.py</link> |
| 72 | |||
| 73 | |||
| 74 | If the missing module is not installed under one of the Python module search path |
||
| 75 | found in the syscheck output, it need to be moved. |
||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | h2. "Tecnai" does not show up in instrument list |
||
| 84 | |||
| 85 | |||
| 86 | 30 | Alex Kadokura | *_Why:_* |
| 87 | 1 | Amber Herold | * An error is detected when the instrument is loaded. |
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | |||
| 92 | 30 | Alex Kadokura | *_Testing: Import the module in pyScope package through a python command window so that |
| 93 | the error message can be read*_ |
||
| 94 | 1 | Amber Herold | * Follow the following menu to open a python command window: |
| 95 | |||
| 96 | |||
| 97 | Windows/Start Menu/All Programs/Python2.5/Python (command line) |
||
| 98 | |||
| 99 | |||
| 100 | * * |
||
| 101 | 32 | Amber Herold | Follow instruction in pyScope Bulletin Board Thread "Testing if pyScope is working with your TEM or CCD":http://emg.nysbc.org/boards/7/topics/607. |
| 102 | 1 | Amber Herold | |
| 103 | |||
| 104 | For example, if "Tecnai" is missing from the instrument list, try |
||
| 105 | this:<pre>Python>from pyScope import tecnai |
||
| 106 | Python>myscope = tecnai.Tecnai() |
||
| 107 | Python>myscope.getMagnification()</pre> |
||
| 108 | |||
| 109 | 33 | Anchi Cheng | If you are using myami-2.2 or myami-2.2-redux, try this instead: |
| 110 | <pre> |
||
| 111 | Python>from pyScope import registry |
||
| 112 | Python>registry.getClasses() |
||
| 113 | Python> myscope = registry.getClass('Tecnai')() |
||
| 114 | Python> myscope.getMagnification() |
||
| 115 | </pre> |
||
| 116 | * The "registry.getClasses() command will show you in tuples, the class name, followed by the class object. Use the class name as the input for getClass command. |
||
| 117 | 1 | Amber Herold | |
| 118 | |||
| 119 | |||
| 120 | * Read the error message. Copy it to your bug report when asking for help. |
||
| 121 | |||
| 122 | |||
| 123 | |||
| 124 | |||
| 125 | |||
| 126 | |||
| 127 | |||
| 128 | h2. Magnification list not in the database |
||
| 129 | |||
| 130 | |||
| 131 | |||
| 132 | 30 | Alex Kadokura | *_Why:_* |
| 133 | first time the TEM is used by leginon and the database, the valid magnification |
||
| 134 | 1 | Amber Herold | for the instrument needs to be saved in the database. |
| 135 | |||
| 136 | |||
| 137 | Solution: On the scope: Leginon/Instrument> select the microscope to display |
||
| 138 | parameters and click "Get Magnification" button (The icon is of a calculator) on the |
||
| 139 | tool bar. |
||
| 140 | |||
| 141 | |||
| 142 | |||
| 143 | |||
| 144 | |||
| 145 | |||
| 146 | |||
| 147 | h2. Leginon fails to aquire and save larger images |
||
| 148 | |||
| 149 | |||
| 150 | 30 | Alex Kadokura | *_Why:_* |
| 151 | 1 | Amber Herold | * Your computer does not have sufficient memory to acquire and correct the large 4kx4k |
| 152 | images. |
||
| 153 | |||
| 154 | |||
| 155 | Solution: |
||
| 156 | |||
| 157 | |||
| 158 | Put on your computer more memory and more memory swap space. |
||
| 159 | |||
| 160 | |||
| 161 | * If you file storage system is not on the same computer, there may be problem |
||
| 162 | transfering large data file. This is known to happen from a Windows machine to disk |
||
| 163 | storage operated under Linux through Samba. |
||
| 164 | |||
| 165 | |||
| 166 | Solution: |
||
| 167 | |||
| 168 | |||
| 169 | Let us know if you have one. |
||
| 170 | |||
| 171 | |||
| 172 | |||
| 173 | |||
| 174 | |||
| 175 | |||
| 176 | |||
| 177 | h2. Leginon fails to move the goniometer after a new |
||
| 178 | installation or update of pyScope |
||
| 179 | |||
| 180 | |||
| 181 | |||
| 182 | 30 | Alex Kadokura | *_Why:_* |
| 183 | 1 | Amber Herold | * tecnaicom.py, the python wrapper of Tecnai Scripting library, has not been created |
| 184 | in the running pyScope folder on the microscope controlling computer. |
||
| 185 | |||
| 186 | |||
| 187 | Solution: |
||
| 188 | |||
| 189 | |||
| 190 | Double click updatecom.py to run it in the (installed) pyScope folder. |
||
| 191 | 2 | Amber Herold | |
| 192 | ______ |
||
| 193 | |||
| 194 | [[Administration Tool problems|< Administration Tool problems]] | [[Network problems|Network problems >]] |
||
| 195 | 3 | Amber Herold | |
| 196 | |||
| 197 | ______ |