You are here

PyRosetta - PyMOL_Mover problem

2 posts / 0 new
Last post
PyRosetta - PyMOL_Mover problem
#1

I have Debian BUllseye installed on my Linux platform

I have installed pyrosetta 2022.09+release.433f0fc py39_0 and pymol-open-source 2.5.0  py39h20a8f2e_4 in a conda environment (Python-3.9.10).

I ma following the PyRosetta - PyMOL_Mover Tutorial and am having a strange problem.

Whew I paste 'cd /home/comp/Miniconda3/envs/PyRosetta/lib/python3.9/site-packages/pyrosetta' followed by 'run PyMOLPyRosettaServer.py' separately I get PyMOL <---> PyRosetta link started! (belwo)

comp@e,:~$ source ~/Miniconda3/bin/activate PyRosetta
(PyRosetta) comp@AbNormal:~$ pymol
 PyMOL(TM) Molecular Graphics System, Version 2.5.0.
 Copyright (c) Schrodinger, LLC.
 All Rights Reserved.
 
    Created by Warren L. DeLano, Ph.D.
 
    PyMOL is user-supported open-source software.  Although some versions
    are freely available, PyMOL is not in the public domain.
 
    If PyMOL is helpful in your work or study, then please volunteer
    support for our ongoing efforts to create open and affordable scientific
    software by purchasing a PyMOL Maintenance and/or Support subscription.

    More information can be found at "http://www.pymol.org".
 
    Enter "help" for a list of commands.
    Enter "help <command-name>" for information on a specific command.

 Hit ESC anytime to toggle between text and graphics.

 Detected OpenGL version 4.3. Shaders available.
 Geometry shaders not available
 Detected GLSL version 4.30.
 OpenGL graphics engine:
  GL_VENDOR:   nouveau
  GL_RENDERER: NV106
  GL_VERSION:  4.3 (Compatibility Profile) Mesa 20.3.5
 Detected 8 CPU cores.  Enabled multithreaded rendering.

PyMOL>cd /home/comp/Miniconda3/envs/PyRosetta/lib/python3.9/site-packages/pyrosetta
 cd: now in /home/comp/Miniconda3/envs/PyRosetta/lib/python3.9/site-packages/pyrosetta
PyMOL>run PyMOLRosettaServer.py
PyMOL <---> PyRosetta link started!
at 127.0.0.1 port 65000

so the server started, but if I put the commands into .pymolrc


.pymolrc

cd /home/comp/Miniconda3/envs/PyRosetta/lib/python3.9/site-packages/pyrosetta
run PyMOLPyRosettaServer.py

and start PyMOL:

(PyRosetta) comp@AbNormal:~$ pymol
 PyMOL(TM) Molecular Graphics System, Version 2.5.0.
 Copyright (c) Schrodinger, LLC.
 All Rights Reserved.
 
    Created by Warren L. DeLano, Ph.D.
 
    PyMOL is user-supported open-source software.  Although some versions
    are freely available, PyMOL is not in the public domain.
 
    If PyMOL is helpful in your work or study, then please volunteer
    support for our ongoing efforts to create open and affordable scientific
    software by purchasing a PyMOL Maintenance and/or Support subscription.

    More information can be found at "http://www.pymol.org".
 
    Enter "help" for a list of commands.
    Enter "help <command-name>" for information on a specific command.

 Hit ESC anytime to toggle between text and graphics.

 Detected OpenGL version 4.3. Shaders available.
 Geometry shaders not available
 Detected GLSL version 4.30.
 OpenGL graphics engine:
  GL_VENDOR:   nouveau
  GL_RENDERER: NV106
  GL_VERSION:  4.3 (Compatibility Profile) Mesa 20.3.5
 Detected 8 CPU cores.  Enabled multithreaded rendering.
PyMOL>cd /home/comp/Miniconda3/envs/PyRosetta/lib/python3.9/site-packages/pyrosetta
 cd: now in /home/comp/Miniconda3/envs/PyRosetta/lib/python3.9/site-packages/pyrosetta
PyMOL>run PyMOLPyRosettaServer.py
Traceback (most recent call last):
  File "/home/comp/Miniconda3/envs/PyRosetta/lib/python3.9/site-packages/pymol/internal.py", line 293, in file_read
    handle = open(finfo, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'PyMOLPyRosettaServer.py'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/comp/Miniconda3/envs/PyRosetta/lib/python3.9/site-packages/pymol/internal.py", line 297, in file_read
    raise pymol.CmdException('failed to open file "%s"' % finfo)
pymol.CmdException:  Error: failed to open file "PyMOLPyRosettaServer.py"

It bombs! Why?


Thanks in advance

Category: 
Post Situation: 
Fri, 2022-03-11 06:50
Stephen P. Molnar

File not found --> there's a typo in the name run. Copypasting the filename in Chrome's search bar shows that the name differs in your long chunk of text. PyMOLPyRosettaServer.py vs. PyMOLRosettaServer.py

Fri, 2022-03-18 04:31
matteoferla