Hally, That sounds like a situation where working directory for the script isn't matching where the data is stored. My suggestions are:
(1) use explicit paths in the script or, if the data and the script are in the same dirctory. (2) launch PyMOL with the script from that directory pymol ./script.pml or, if using a relatively recent PyMOL build, (3) force PyMOL to "cd" into the same directory as the script by using the following command sequence: cwd = sys.path.split(__script__)[0] if cwd: cmd.cd(cwd) Cheers, Warren -- DeLano Scientific LLC Subscriber Support Services mailto:del...@delsci.info > -----Original Message----- > From: pymol-users-boun...@lists.sourceforge.net > [mailto:pymol-users-boun...@lists.sourceforge.net] On Behalf > Of Hally Shaffer > Sent: Thursday, May 01, 2008 12:25 PM > To: pymol-users@lists.sourceforge.net > Subject: [PyMOL] load script Mac > > I have written a script for a friend that works on my PC, but > when he tries to open it on his Mac, the pdb isn't loading. > The pdb file is in the same folder as the script and I can > load it by using the File pulldown menu and selecting Open. > The error message shows that the problem is in loading the > pdb, but I can't remember exactly what the message was. Any > suggestions? > > Hally > -- > Hally Shaffer > <>< Graduate Student > Georgia Institute of Technology > School of Chemistry and Biochemistry > gth8...@mail.gatech.edu > > > > > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by the 2008 JavaOne(SM) > Conference Don't miss this year's exciting event. There's > still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java > .sun.com/javaone > _______________________________________________ > PyMOL-users mailing list > PyMOL-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pymol-users