Installation Troubleshooting » History » Version 2
Amber Herold, 04/15/2010 10:02 AM
1 | 1 | Amber Herold | h1. Installation Trouble shooting |
---|---|---|---|
2 | 2 | Amber Herold | |
3 | # [[Getting Help]] |
||
4 | # [[Installation/Update problems]] |
||
5 | # [[Administration Tool problems]] |
||
6 | # [[Test run operation problems]] |
||
7 | # [[Network problems]] |
||
8 | # [[Troubles with Imaging]] |
||
9 | # [[Troubles with Calibrations]] |
||
10 | 1 | Amber Herold | |
11 | |||
12 | |||
13 | |||
14 | h2. Getting Help |
||
15 | |||
16 | |||
17 | |||
18 | * Once registed for leginon download, the users have access to the " bulletin board":http://emg.nysbc.org/bb.viewforum.php?f=2 where users |
||
19 | and developers post their questions and answers. |
||
20 | |||
21 | |||
22 | * Official bug report and feature request should be entered through "bugzilla":http://emg.nysbc.org/bugzilla/enter_bug.cgi?product=Leginon . |
||
23 | |||
24 | |||
25 | |||
26 | |||
27 | |||
28 | |||
29 | |||
30 | h2. Installation/Update problems |
||
31 | |||
32 | |||
33 | |||
34 | |||
35 | |||
36 | * <link linkend="InstT_win_install">Python installer fails on pyScope and numExtension for |
||
37 | Windows</link> |
||
38 | |||
39 | |||
40 | * <link linkend="InstT_bad_update">Not all files are updated</link> |
||
41 | |||
42 | |||
43 | * <link linkend="InstT_1st_Grp">New Group/User added does not show up in the selection |
||
44 | list in Web Leginon Administration Tool</link>. |
||
45 | |||
46 | |||
47 | * <link linkend="Inst_no_tomo">I can't install SciPy/NumPy on SUSE</link> |
||
48 | |||
49 | |||
50 | * <link linkend="InstT_php_display_error">Something is not showing in Web viewer or the |
||
51 | administration tool components</link> |
||
52 | |||
53 | |||
54 | * <link linkend="instlT_updatecom">Stage does not move after a pyScope update on the |
||
55 | computer controlling the microscope</link> |
||
56 | |||
57 | |||
58 | |||
59 | |||
60 | |||
61 | |||
62 | |||
63 | h2. Failed pyScope numExtension Window installation through |
||
64 | python |
||
65 | |||
66 | |||
67 | |||
68 | |||
69 | |||
70 | <title>Why:</title> |
||
71 | * Specially compiled pyScope and numExtension are needed to comunicate with Gatan |
||
72 | CCD camera. Currently we only have them compiled for python2.5 |
||
73 | |||
74 | |||
75 | Solution: Download and use python2.5 and use the window-installer in win-install |
||
76 | folder (start by double-clicking them) not "python setup.py install". |
||
77 | |||
78 | |||
79 | |||
80 | |||
81 | |||
82 | |||
83 | |||
84 | |||
85 | |||
86 | h2. Incomplete Leginon update |
||
87 | |||
88 | |||
89 | |||
90 | This normally happens to files that you have modified in the previous version. |
||
91 | |||
92 | |||
93 | |||
94 | |||
95 | <title>Why:</title> |
||
96 | * unknown |
||
97 | |||
98 | |||
99 | Solution: Remove the old installation first. |
||
100 | |||
101 | |||
102 | |||
103 | |||
104 | * Find the location of your Leginon installation. Once you have tried,even |
||
105 | unsuccessfully, to install Leginon. You can use the following command to find |
||
106 | the directory: |
||
107 | |||
108 | |||
109 | |||
110 | <pre>Linux> cd |
||
111 | Linux> start-leginon.py -v</pre> |
||
112 | <pre>Window> Go to \All Programs\Leginon\Leginon Folder from your Start Menu</pre> |
||
113 | |||
114 | |||
115 | |||
116 | * Go to the directory above it. This is normally the site-package directory |
||
117 | under your python installation |
||
118 | |||
119 | |||
120 | |||
121 | <pre>Linux> rm -r Leginon |
||
122 | Window> drag the Leginon folder to Recycle Bin</pre> |
||
123 | |||
124 | |||
125 | |||
126 | * Redo Leginon installation. |
||
127 | |||
128 | |||
129 | |||
130 | |||
131 | |||
132 | |||
133 | |||
134 | |||
135 | |||
136 | |||
137 | |||
138 | |||
139 | |||
140 | h2. Installation without a class of nodes |
||
141 | |||
142 | |||
143 | If you encounter a problem with node classes that you don't actually use, you may avoid |
||
144 | loading the codes with the following modification: |
||
145 | |||
146 | |||
147 | |||
148 | |||
149 | * Fnd the location of your Leginon installation |
||
150 | |||
151 | |||
152 | |||
153 | <pre>Linux> cd |
||
154 | Linux> start-leginon.py -v</pre> |
||
155 | |||
156 | |||
157 | |||
158 | * go to the subdirectory of noderegistry |
||
159 | |||
160 | |||
161 | |||
162 | <pre>Linux/home> cd leginon_directory/noderegistry</pre> |
||
163 | |||
164 | |||
165 | |||
166 | * edit the file "default.ncr" to coment out the registry of the class of nodes that |
||
167 | you do not need (Tomography node class in this example): |
||
168 | |||
169 | |||
170 | |||
171 | <pre>#[Tomography] |
||
172 | #module: tomography |
||
173 | #type: Pipeline |
||
174 | #package: tomography</pre> |
||
175 | |||
176 | |||
177 | |||
178 | |||
179 | |||
180 | |||
181 | |||
182 | |||
183 | |||
184 | |||
185 | h2. SciPy Installation failed in SuSE |
||
186 | |||
187 | |||
188 | |||
189 | SciPy may not build properly on some versions of SuSE due to an incompatible LAPACK |
||
190 | package that comes with SuSE. You can get scipy as well as a compatible LAPACK etc. from |
||
191 | http://repos.opensuse.org/science (need to specify your SuSE version and machine etc. |
||
192 | |||
193 | |||
194 | |||
195 | |||
196 | |||
197 | h2. Display errors on webviewer and web |
||
198 | administration tools |
||
199 | |||
200 | |||
201 | |||
202 | To display error and report them to get help for the php, including mysql-php and mrc |
||
203 | extension, do the following: |
||
204 | |||
205 | |||
206 | * Find your php.ini the following parameters and change them accordingly: |
||
207 | |||
208 | |||
209 | |||
210 | <pre>display_errors = On |
||
211 | error_reporting = E_ALL & ~E_NOTICE</pre> |
||
212 | |||
213 | |||
214 | |||
215 | * Restart your apache server |
||
216 | |||
217 | |||
218 | |||
219 | <pre>> /etc/init.d/apache2 restart</pre> |
||
220 | |||
221 | |||
222 | |||
223 | * From your webbrowser, refresh the problematic page. If you don't know what to do |
||
224 | with it, report it when you ask for help. |
||
225 | |||
226 | |||
227 | |||
228 | |||
229 | |||
230 | |||
231 | |||
232 | |||
233 | |||
234 | h2. Administration Tool problems |
||
235 | |||
236 | |||
237 | |||
238 | |||
239 | |||
240 | * <link linkend="InstT_Appl_xml">Application xml files can not be imported</link>. |
||
241 | |||
242 | |||
243 | * <link linkend="InstT_php_display_error">Something is not showing in the administration |
||
244 | tool components</link> |
||
245 | |||
246 | |||
247 | |||
248 | |||
249 | |||
250 | |||
251 | |||
252 | h2. Incomplete xml-imported application |
||
253 | |||
254 | |||
255 | |||
256 | |||
257 | |||
258 | <title>Why:</title> |
||
259 | * This is a random error that happens ocassionally. |
||
260 | |||
261 | |||
262 | How do you know it is imcomplete? <link linkend="Admin_app_view">view the |
||
263 | application</link> saved in the database in the web admin tool |
||
264 | |||
265 | |||
266 | |||
267 | |||
268 | Solution: Try it again with a new version number in the xml file. |
||
269 | |||
270 | |||
271 | |||
272 | |||
273 | * check your xml file. It should end with something like this: |
||
274 | |||
275 | |||
276 | |||
277 | <pre> </sqltable> |
||
278 | <!-- bindingspecdata --> |
||
279 | <!-- launchedapplicationdata --> |
||
280 | <!-- nodespecdata --></pre> |
||
281 | |||
282 | |||
283 | |||
284 | If not, you need to download the correct xml file again. |
||
285 | |||
286 | |||
287 | * edit the correct xml file. For example, you have MSI-T.xml, then you need |
||
288 | to change |
||
289 | |||
290 | |||
291 | |||
292 | <pre> - Application :MSI-T (1.6) |
||
293 | - Version :1</pre> |
||
294 | |||
295 | |||
296 | |||
297 | To<pre> - Application :MSI-T (1.6) |
||
298 | - Version :2</pre> |
||
299 | |||
300 | |||
301 | AND, more importantly, |
||
302 | |||
303 | |||
304 | |||
305 | <pre> <!-- ApplicationData --> |
||
306 | <sqltable name="ApplicationData" > |
||
307 | <field name="DEF_id" >331</field> |
||
308 | <field name="DEF_timestamp" >2005-05-26 14:16:36</field> |
||
309 | <field name="name" >MSI-T (1.6)</field> |
||
310 | <field name="version" >1</field> |
||
311 | </sqltable></pre> |
||
312 | |||
313 | |||
314 | |||
315 | To<pre> <!-- ApplicationData --> |
||
316 | <sqltable name="ApplicationData" > |
||
317 | <field name="DEF_id" >331</field> |
||
318 | <field name="DEF_timestamp" >2005-05-26 14:16:36</field> |
||
319 | <field name="name" >MSI-T (1.6)</field> |
||
320 | <field name="version" >2</field> |
||
321 | </sqltable></pre> |
||
322 | |||
323 | |||
324 | * import this xml file to your dbem again. |
||
325 | |||
326 | |||
327 | * check the result by refreshing the web browser and then <link |
||
328 | linkend="Admin_app_view">select the new version of the application to view on |
||
329 | screen</link>. |
||
330 | |||
331 | |||
332 | |||
333 | |||
334 | |||
335 | |||
336 | |||
337 | |||
338 | |||
339 | |||
340 | |||
341 | |||
342 | |||
343 | |||
344 | |||
345 | h2. Test run operation problems |
||
346 | |||
347 | |||
348 | |||
349 | |||
350 | |||
351 | * <link linkend="InstT_test_window_close">When Leginon or Leginon Client is launched, |
||
352 | Python window opens and closes instantaneously on Windows</link> |
||
353 | |||
354 | |||
355 | * <link linkend="InstT_test_no_module">ImportError "No module named xxxx"</link> |
||
356 | |||
357 | |||
358 | * <link linkend="InstT_test_no_tem">Microscope or CCDCamera name does not show up in the |
||
359 | Leginon instrument list in Instrument Node</link> |
||
360 | |||
361 | |||
362 | * <link linkend="InstT_test_no_tem">The Microscope computer where Leginon Client runs does |
||
363 | not show up in the Launcher list of Leginon when opening an application</link> |
||
364 | |||
365 | |||
366 | * <link linkend="no_mag_list">Error message "No Magnification saved for xxx(your |
||
367 | scope)</link> |
||
368 | |||
369 | |||
370 | * <link linkend="instlT_4kfrz">Leginon fails to collect 4kx4k images</link> |
||
371 | |||
372 | |||
373 | |||
374 | |||
375 | |||
376 | |||
377 | |||
378 | h2. Python and Leginon windows do not stay opened on |
||
379 | Windows PC |
||
380 | |||
381 | |||
382 | |||
383 | <title>Why:</title> |
||
384 | * Windows closes the python process window because an error is detected. |
||
385 | |||
386 | |||
387 | |||
388 | |||
389 | <title>Testing: Start Leginon from a python command window so that the error message can be |
||
390 | read</title> |
||
391 | * Follow the following menu to open a python command window: |
||
392 | |||
393 | |||
394 | Windows/Start Menu/All Programs/Python2.5/Python (command line) |
||
395 | |||
396 | |||
397 | * Python> import start |
||
398 | |||
399 | |||
400 | * Read the error message. Copy it to your bug report when asking NRAMM for |
||
401 | help. |
||
402 | |||
403 | |||
404 | |||
405 | |||
406 | |||
407 | |||
408 | |||
409 | h2. Missing modules |
||
410 | |||
411 | |||
412 | |||
413 | <title>Why:</title> |
||
414 | * Either the python path is not set up correctly or the module was not installed |
||
415 | properly. |
||
416 | |||
417 | |||
418 | |||
419 | |||
420 | <title>Testing:</title> |
||
421 | * script: <link linkend="inst_syscheck">syscheck.py</link> |
||
422 | |||
423 | |||
424 | If the missing module is not installed under one of the Python module search path |
||
425 | found in the syscheck output, it need to be moved. |
||
426 | |||
427 | |||
428 | |||
429 | |||
430 | |||
431 | |||
432 | |||
433 | h2. "Tecnai" does not show up in instrument list |
||
434 | |||
435 | |||
436 | |||
437 | <title>Why:</title> |
||
438 | * An error is detected when the instrument is loaded. |
||
439 | |||
440 | |||
441 | |||
442 | |||
443 | <title>Testing: Import the module in pyScope package through a python command window so that |
||
444 | the error message can be read</title> |
||
445 | * Follow the following menu to open a python command window: |
||
446 | |||
447 | |||
448 | Windows/Start Menu/All Programs/Python2.5/Python (command line) |
||
449 | |||
450 | |||
451 | * * |
||
452 | Follow instruction in pyScope Bulletin Board Thread ""Testing if pyScope is working |
||
453 | with your TEM or CCD"":http://emg.nysbc.org/bb/viewtopic.php?t=246 . |
||
454 | |||
455 | |||
456 | For example, if "Tecnai" is missing from the instrument list, try |
||
457 | this:<pre>Python>from pyScope import tecnai |
||
458 | Python>myscope = tecnai.Tecnai() |
||
459 | Python>myscope.getMagnification()</pre> |
||
460 | |||
461 | |||
462 | |||
463 | |||
464 | * Read the error message. Copy it to your bug report when asking for help. |
||
465 | |||
466 | |||
467 | |||
468 | |||
469 | |||
470 | |||
471 | |||
472 | h2. Magnification list not in the database |
||
473 | |||
474 | |||
475 | |||
476 | <title>Why:</title> |
||
477 | * The first time the TEM is used by leginon and the database, the valid magnification |
||
478 | for the instrument needs to be saved in the database. |
||
479 | |||
480 | |||
481 | Solution: On the scope: Leginon/Instrument> select the microscope to display |
||
482 | parameters and click "Get Magnification" button (The icon is of a calculator) on the |
||
483 | tool bar. |
||
484 | |||
485 | |||
486 | |||
487 | |||
488 | |||
489 | |||
490 | |||
491 | h2. Leginon fails to aquire and save larger images |
||
492 | |||
493 | |||
494 | |||
495 | <title>Why:</title> |
||
496 | * Your computer does not have sufficient memory to acquire and correct the large 4kx4k |
||
497 | images. |
||
498 | |||
499 | |||
500 | Solution: |
||
501 | |||
502 | |||
503 | Put on your computer more memory and more memory swap space. |
||
504 | |||
505 | |||
506 | * If you file storage system is not on the same computer, there may be problem |
||
507 | transfering large data file. This is known to happen from a Windows machine to disk |
||
508 | storage operated under Linux through Samba. |
||
509 | |||
510 | |||
511 | Solution: |
||
512 | |||
513 | |||
514 | Let us know if you have one. |
||
515 | |||
516 | |||
517 | |||
518 | |||
519 | |||
520 | |||
521 | |||
522 | h2. Leginon fails to move the goniometer after a new |
||
523 | installation or update of pyScope |
||
524 | |||
525 | |||
526 | |||
527 | <title>Why:</title> |
||
528 | * tecnaicom.py, the python wrapper of Tecnai Scripting library, has not been created |
||
529 | in the running pyScope folder on the microscope controlling computer. |
||
530 | |||
531 | |||
532 | Solution: |
||
533 | |||
534 | |||
535 | Double click updatecom.py to run it in the (installed) pyScope folder. |
||
536 | |||
537 | |||
538 | |||
539 | |||
540 | |||
541 | |||
542 | |||
543 | |||
544 | |||
545 | h2. Network problems |
||
546 | |||
547 | |||
548 | |||
549 | |||
550 | |||
551 | * <link linkend="instlT_network">Leginon not seeing the microscope host</link> |
||
552 | |||
553 | |||
554 | |||
555 | |||
556 | |||
557 | |||
558 | |||
559 | h2. Microscope host that |
||
560 | runs Leginon client does not appear in the Launcher list on the Leginon processing |
||
561 | computer |
||
562 | |||
563 | |||
564 | |||
565 | |||
566 | |||
567 | <title>Possible reasons:</title> |
||
568 | * Host files are not configured properly so that the computers can not commnuicate |
||
569 | by specifying the hostname. |
||
570 | |||
571 | |||
572 | * Connection is refused by one of the computers involved. This might be caused by a |
||
573 | firewall or a inactive server. |
||
574 | |||
575 | |||
576 | |||
577 | |||
578 | |||
579 | |||
580 | |||
581 | |||
582 | <title>Testing and Solutions:</title> |
||
583 | * <link linkend="network_tests">Test network connection</link> with test scripts |
||
584 | test1.py and test2.py as described in the "Start Leginon" chapter. Various solutions |
||
585 | are listed in the same section. |
||
586 | |||
587 | |||
588 | |||
589 | |||
590 | |||
591 | |||
592 | For more discussion, see leginon bulletin board "thread on network |
||
593 | problems":http://emg.nysbc.org/bb/viewtopic.php?t=7 . |
||
594 | |||
595 | |||
596 | |||
597 | |||
598 | |||
599 | |||
600 | |||
601 | h2. Troubles with Imaging |
||
602 | |||
603 | |||
604 | |||
605 | |||
606 | |||
607 | * <link linkend="cor_not_read">Reference image from other users not readable( See |
||
608 | Operation Trouble Shooting)</link> |
||
609 | |||
610 | |||
611 | * <link linkend="instlT_updatecom">Navigator does not move the stage after a pyScope |
||
612 | update on the computer controlling the microscope</link> |
||
613 | |||
614 | |||
615 | |||
616 | |||
617 | |||
618 | |||
619 | |||
620 | |||
621 | |||
622 | h2. Troubles with Calibrations |
||
623 | |||
624 | |||
625 | |||
626 | |||
627 | |||
628 | * <link linkend="pixeloff">Available magnification from pixal size calibration is |
||
629 | different from that said on the scope</link> |
||
630 | |||
631 | |||
632 | * <link linkend="instlT_updatecom">Stage does not move after a pyScope update on the |
||
633 | computer controlling the microscope</link> |
||
634 | |||
635 | |||
636 | |||
637 | |||
638 | |||
639 | |||
640 | |||
641 | h2. Magnification list not consistent with that at the |
||
642 | microscope |
||
643 | |||
644 | |||
645 | |||
646 | Commonly Why: Instrument was not selected correctly when Leginon is installed |
||
647 | |||
648 | |||
649 | Solution: Check the parameters of the named instrument in Administration Tool |