Project

General

Profile

Installation Troubleshooting » History » Version 1

Amber Herold, 04/13/2010 01:21 PM

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