Can't find Leginon client
Added by Anonymous about 15 years ago
Don't know if anyone else has had this issue, but what exactly am I supposed to run when the (complete) manual (p. 88) instructs to run the Leginon client. I've been opening the Leginon program using start-leginon.py, but I don't think that's the client...
I think I fixed the problem, but I just wanted to make sure:
1) On Microscope computer (Windows)
-->go to Leginon folder and run "launcher.py" -------------------> Is this the client?
2) On Linux computer, run "start-leginon.py" from terminal --> get wizard with new session --> don't choose client from wizard --> Finish
3) Go to Launcher on menu bar and add host for Windows; tcpport should be 55555 (default)
4) Application-->Run-->Manual-->set microscope host and main host accordingly (should now show up)
I just wanted to make sure this is what I'm supposed to do. My impression is that there used to be a client icon in earlier versions (I'm using 1.6) but it got removed so now it has to be done using launcher.py. I'm fine with that, but I was a bit confused. Using the procedure I mentioned above, we were able to get images and save them to the database properly, so at least it's functional.
Replies (3)
Re: Can't find Leginon client - Added by Anchi Cheng about 15 years ago
Carlos,
Sorry about the confusion. Indeed the shortcut "Leginon Client" is pointed to launcher.py. I will need to update the documentation where I added the instruction on creating the shortcut.
Your solution certainly solved the problem. Just one comment: Instead of adding the host manually in the Leginon main panel through Launcher/Add as you did, you could add a client in Leginon wizard:
When you reach the last step in starting a new session,
1. click on Edit.... to edit client list.
2. the choice box on top of the list box you get is empty if this is the first time you access this, meaning there is no known client host by the leginon database. Therefore, you should type your microscope hostname there, and then add that client to the list box below by clicking "+" button and then accept your client list by clicking "ok".
3. Now the setup wizard should show Connects to clients: your_client_host.
4. Now you can click "Finish" in the setup wizard and see that the client been connected.
Anchi
Re: Can't find Leginon client - Added by Anonymous about 15 years ago
Thanks Anchi; I did previously try to add them using the client option in the wizard, but I tried pressing the "+" button first instead of typing it in and then pressing it (doh!). Just tried it and your method seems a lot easier.
I also just noticed that this question appears to have been asked before in thread: viewtopic.php?f=2&t=279 . I apologize for the redundancy. For some reason, I thought I wouldn't need to add the client this way if I was running most of the process off the Linux machine; I think I confused it with mapping the drive (a completely different thing). Anyway, this makes sense and it seems to be properly working now.
Just one more thing: whenever I try to obtain images manually from the microscope computer, it appears to be saving them onto the database, but when I try to see them in the webviewer, all I get is a blank image (even though they seem to be real images when I view them from the leginon client on the microscope). I don't think it's the microscope itself since the images obtained using the SimCCD and SimTEM from the microscope have the same problem. I don't seem to have this issue when I obtain the images remotely from the Linux machine (that also houses the server + database), as those seem to be opening correctly.
I'm not sure if the problem is related to this one: viewtopic.php?f=6&t=264 , but I think I'll try it in any case. Any suggestions?
Thanks for the help!
~Carlos
Re: Can't find Leginon client - Added by Anchi Cheng about 15 years ago
Hi, Carlos,
Yes, the problem is related to viewtopic.php?f=6&t=264 , We should move our discussion there.
Anchi