Project

General

Profile

Leginon 1.6

Added by Jim Pulokas over 15 years ago

Leginon 1.6 is available through our svn repository.
Try it and let us know of any problems
http://emg.nysbc.org/software/leginon


Replies (5)

Re: Leginon 1.6 - Added by Anonymous over 15 years ago

Hi,

I just updated our Tecnai to Leginon version 1.6. I have a couple of problems:

1) Leginon does not appear in the Windows Start Menu (XP or 2000). Before installing, I unistalled Leginon and all related applications, then installed from scratch. In retrospect, I probably should just have deleted the appropriate directories in site-packages. I can start the full version using start-leginon.py, but I am not sure how to run the client version.

2) Leginon does not see our camera (Tietz 415). I edited the instruments.cfg file in the Pyscope directory, and ran updatecom.py. It still sees only the simulated camera. It had worked in the previous version, and is still recognized by SerialEM, which also uses the CAMC4 interface.

Thanks for your help,

Bill

Re: Leginon 1.6 - Added by Jim Pulokas over 15 years ago

I think the start menu shortcut was created when we used an installer .exe to install Leginon. Using the "python setup.py install" method does not create the shortcut. For now, you can create the shortcuts:

Full Leginon: start.py (or start-leginon.py should work, but that is just calling start.py anyway)

To start just the client/launcher or whatever you want to call it: launcher.py

For the Tietz 415, you may have to experiment with different drivers in your instruments.cfg. The tietz.py pyScope module defines a few of them. There is a new class TietzFC415 that may work. Otherwise TietzSCX and TietzPXL are the most common to work. So in instruments.cfg
try each one out in Leginon until you get it to work, for example:

[My Camera]
tietz.TietzFC415

Or you can test them directly in python at the pyScope level and report any errors you get. For example:

from pyScope import tietz
t = tietz.TietzFC415()

Re: Leginon 1.6 - Added by Anonymous about 15 years ago

Related to this problem: when I run the "setup.py install" script in the NRAMM svn depository in my Leginon folder, it does not appear to install pyami, sinedon, pyScope, or ImageViewer in the Windows machine. When I try running start-leginon.py, I get the following error:

C:\Documents and Settings\Leginon-1.6 Install\Leginon-1.6-ALL>start-leginon.py
Traceback (most recent call last):

File "C:\Documents and Settings\Leginon-1.6 Install\Leginon-1.6-ALL\start-leginon.py", line 9, in <module>

import start

File "C:\Documents and Settings\Leginon-1.6 Install\Leginon-1.6-ALL\start.py", line 11, in <module>

import sinedon.data as data
ImportError: No module named sinedon.data

I looked under the C:\Python25\Lib\site-packages folder for the sinedon folder, but it's not there. Neither are the other packages that were supposed to be installed using the python installer. I remember I had to run a script for each package when I was doing the Linux installation, but I didn't find those folders in the Windows installation, rather, I just saw the one setup.py script in my Leginon folder.

Any help in solving this would be much appreciated!

Re: Leginon 1.6 - Added by Anonymous about 15 years ago

I think I figured out what I did wrong: I didn't run the repository svn checkout script for each of the different packages; I only did it for the Leginon package. The Linux installation is a lot more explicit about this, so I guess that's why I didn't make this mistake for that machine.

I'm going to try and do this now and see if this fixes the problems I'm seeing.

<grumble grumble>

Re: Leginon 1.6 - Added by Anonymous about 15 years ago

Great, that seems to have solved the problem I had with the other package (Sinedon); the install was also relatively painless, which is always good news! "start-leginon.py" still doesn't work quite properly, though the error file now points to the leginon.cfg file, which I now need to update.

    (1-5/5)