Hi there,
Please, did someone check that? It would be very appreciated.
Thanks
Alan
On Mon, Jan 4, 2010 at 16:49, Alan <alanwil...@gmail.com> wrote:
> Hi there,
>
> I use both pymol via Fink (on MBP 10.6.2) all in 64 bits and MacPymol 1.2r3
> (licensed to PDBe).
>
> Both work fine but I tried
> http://pymolwiki.org/index.php/Launching_From_a_Script
>
> with
>
> 1) export PYTHONPATH=/Applications/MacPyMOL.app/pymol/modules
>
> 2) export PYTHONPATH=/sw/lib/pymol-py26/modules
>
> and running 'launch_pymol.sh' script that contains:
>
> #!/usr/bin/env python
> # Tell PyMOL we don't want any GUI features.import
> __main____main__.pymol_argv = [ 'pymol', '-Gi' ]
> # Importing the PyMOL module will create the window.
> import pymol
> # Call the function below before using any PyMOL modules.
>
> pymol.finish_launching()
> from pymol import cmdcmd.stereo('walleye')cmd.set('stereo_shift',
> 0.23)cmd.set('stereo_angle', 1.0)
>
>
> and I got for:
>
> 1) amadeus[2027]:~/TMP% ./pymol.sh
> Traceback (most recent call last):
> File "./pymol.sh", line 9, in <module>
> import pymol
> File "/Applications/MacPyMOL.app/pymol/modules/pymol/__init__.py", line
> 472, in <module>
> import _cmd
> ImportError: No module named _cmd
>
> 2) amadeus[2029]:~/TMP% ./pymol.sh
> Xlib: extension "XFree86-VidModeExtension" missing on display
> "/tmp/launch-35V4Bz/:0".
> freeglut (pymol): XF86VidModeGetViewPort failed
> Xlib: extension "XFree86-VidModeExtension" missing on display
> "/tmp/launch-35V4Bz/:0".
> freeglut (pymol): XF86VidModeGetModeLine failed
> freeglut (pymol): failed to change screen settings
> PyMOL(TM) Molecular Graphics System, Version 1.2r3pre.
> Copyright (C) 2009 by DeLano Scientific 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.
>
> [1] 25649 segmentation fault ./pymol.sh
>
> Would someone know what else I can try to do?
>
> Many thanks in advance,
>
> Alan
> --
> Alan Wilter Sousa da Silva, D.Sc.
> PDBe group, PiMS project http://www.pims-lims.org/
> EMBL - EBI, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK
> +44 (0)1223 492 583 (office)
>
--
Alan Wilter Sousa da Silva, D.Sc.
PDBe group, PiMS project http://www.pims-lims.org/
EMBL - EBI, Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK
+44 (0)1223 492 583 (office)
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net