JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for CCP4BB Archives


CCP4BB Archives

CCP4BB Archives


CCP4BB@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

CCP4BB Home

CCP4BB Home

CCP4BB  March 2017

CCP4BB March 2017

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Coot render tool missing

From:

"B.Lohkamp" <[log in to unmask]>

Reply-To:

B.Lohkamp

Date:

Thu, 30 Mar 2017 06:19:23 +0200

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (333 lines)

Just to clarify, 1 and 2 is obsolete when using 3.

B

> Hi All,
>
> With Bernhard's help, I fixed this issue of render tool in Coot in Win7.
> I summarize what I did here:
>
> 1.* - add C:\yourccp4installationdirectory\bin to PATH in the coot
> startup script (runwincoot.bat in C:\yourwincootinstallationdirectory) *
>
>  I use Notepad to open the .bat file and do edit:
> set
> PATH=%COOT_PREFIX%\bin;%COOT_PREFIX%\libexec;%COOT_PREFIX%\python27;%PATH%;*C:\CCP4-7\7.**0\bin*).* *My
> CCP4 installation folder is C:\CCP4-7\7.0\bin. To locate files, I just
> simply use Win7 search file from the start menu.
>
> *2. - edit the raster3d.py file
> (C:\yourwincootinstallationdrirectory\python27\lib\site-packages\coot\)
> from (line 44 or so):
>
> r3d_exe = find_exe("render", "PATH")
>
> to
>
> r3d_exe = find_exe("render", "CCP4_BIN", "PATH")*
> *
> *
> After I did this, Coot can find Raster3D PATH, but I still have an error
> of "Some errors in Raster3D"  in terminal windows and fail to render.
>
> *3. Download:*
>
> *https://raw.githubusercontent.com/bernhardcl/coot/master/python/raster3d.py
> <https://raw.githubusercontent.com/bernhardcl/coot/master/python/raster3d.py>
>
> and replace the same file (maybe make a backup first) in
> C:\yourwincootinstallationdrirectory\python27\lib\site-packages\coot\*
>
> *4. Done. Works!*
> *
> *
>
> Thanks Bernhard!
>
>
>
> On Wed, Mar 29, 2017 at 11:58 AM, Xiao Lei <[log in to unmask]
> <mailto:[log in to unmask]>> wrote:
>
>     Hello B.,
>
>     Works.Thank you very much!
>
>     On Wed, Mar 29, 2017 at 8:14 AM, B.Lohkamp <[log in to unmask]
>     <mailto:[log in to unmask]>> wrote:
>
>
>         Hello,
>
>         I see. Sorry. Now I remember this and I fixed this elsewhere
>         too. Please try the following. Download:
>
>         https://raw.githubusercontent.com/bernhardcl/coot/master/python/raster3d.py
>         <https://raw.githubusercontent.com/bernhardcl/coot/master/python/raster3d.py>
>
>         and replace the same file (maybe make a backup first) in
>         C:\yourwincootinstallationdrirectory\python27\lib\site-packages\coot\
>
>         This should work.
>
>         Bernhard
>
>             Hi B. ,
>
>             I followed your suggestions and now Wincoot can find
>             render.exe, but it
>             has a warning message of "this copy of render was not built
>             with tiff
>             support BL Warning: some error in rester3D" .
>
>             I attach the picture here. I'd appreciate if you have any
>             idea of how to
>             fix it.
>
>             Thanks a lot.
>
>             Inline image 1
>
>             On Tue, Mar 28, 2017 at 12:54 AM, B.Lohkamp
>             <[log in to unmask] <mailto:[log in to unmask]>
>             <mailto:[log in to unmask] <mailto:[log in to unmask]>>>
>             wrote:
>
>
>                 remove the % around the ccp4 path and you are set.
>
>                 B
>
>                     Hi Bernhard,
>
>                     Thank you for your help. I attach my runwincoot.bat
>             below. My
>                     render.exe
>                     path is "C:\CCP4-7\7.0\bin". What should I do to add
>             to the PATH? I
>                     could not understand the grammar well, should I add as :
>                     set
>
>             PATH=%COOT_PREFIX%\bin;%COOT_PREFIX%\libexec;%COOT_PREFIX%\python27;%PATH%;%C:\CCP4-7\7.0\bin%
>                       ?
>
>             ------------------------------------------------------------------------------------------------------------------------------------------
>                     @set LANG=en
>                     title WinCoot
>
>
>                     set COOT_PREFIX=C:\WinCoot
>                     set COOT_GUILE_PREFIX=C:/WinCoot
>
>                     set COOT_HOME=%COOT_PREFIX%
>                     set COOT_BACKUP_DIR=%COOT_PREFIX%\coot-backup
>
>                     set COOT_SHARE=%COOT_PREFIX%\share
>                     if not exist "%CLIBD_MON%" (
>                       echo no $CLIBD_MON found setting COOT_REFMAC_LIB_DIR
>                       set COOT_REFMAC_LIB_DIR=%COOT_SHARE%\coot\lib
>                     )
>                     set COOT_SCHEME_DIR=%COOT_SHARE%/coot/scheme
>                     set
>             COOT_STANDARD_RESIDUES=%COOT_SHARE%\coot\standard-residues.pdb
>                     set COOT_PIXMAPS_DIR=%COOT_SHARE%\coot\pixmaps
>                     set COOT_RESOURCES_FILE=%COOT_SHARE%\coot\cootrc
>                     set COOT_DATA_DIR=%COOT_SHARE%\coot
>                     set
>             COOT_REF_STRUCTS=%COOT_SHARE%\coot\reference-structures
>                     set
>             COOT_PYTHON_DIR=%COOT_PREFIX%\python27\lib\site-packages\coot
>                     set
>             COOT_REF_SEC_STRUCTS=%COOT_SHARE%\coot\ss-reference-structures
>
>                     set PYTHONHOME=%COOT_PREFIX%\python27
>
>                     set
>
>             GUILE_LOAD_PATH=%COOT_GUILE_PREFIX%/share/guile/1.8;%COOT_GUILE_PREFIX%/share/guile;%COOT_GUILE_PREFIX%/share/guile/gtk-2.0;%COOT_GUILE_PREFIX%/share/guile/gui;%COOT_GUILE_PREFIX%/share/guile/www;%COOT_GUILE_PREFIX%/share/guile/site
>
>                     set SYMINFO=%COOT_SHARE%\coot\syminfo.lib
>
>                     set
>
>             PATH=%COOT_PREFIX%\bin;%COOT_PREFIX%\libexec;%COOT_PREFIX%\python27;%PATH%
>
>                     start /affinity 1 coot-bin.exe %*
>
>             -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                     On Mon, Mar 27, 2017 at 10:24 PM, B.Lohkamp
>             <[log in to unmask] <mailto:[log in to unmask]>
>                     <mailto:[log in to unmask]
>             <mailto:[log in to unmask]>>
>                     <mailto:[log in to unmask]
>             <mailto:[log in to unmask]> <mailto:[log in to unmask]
>             <mailto:[log in to unmask]>>>> wrote:
>
>
>                         Hi ...,
>
>                             Hi Ethan,
>
>                             Thank you for the information. I have ccp4i
>             installed on the
>                             same PC,
>                             the error from Coot is "Couldn't find render
>             in default
>                     path and
>                             PATH
>                             Shall we search the whole disk?" If I click
>             "Yes", then
>                     Coot freezes
>                             forever and I need to force close it.
>
>
>                         This can take a long time (depending on your
>             disk size) but
>                     should
>                         result in something. Anyway...
>
>                             On Mon, Mar 27, 2017 at 2:18 PM, Ethan A Merritt
>                             <[log in to unmask]
>             <mailto:[log in to unmask]>
>                     <mailto:[log in to unmask]
>             <mailto:[log in to unmask]>>
>                     <mailto:[log in to unmask]
>             <mailto:[log in to unmask]>
>             <mailto:[log in to unmask]
>             <mailto:[log in to unmask]>>>
>                             <mailto:[log in to unmask]
>             <mailto:[log in to unmask]>
>                     <mailto:[log in to unmask]
>             <mailto:[log in to unmask]>>
>
>                             <mailto:[log in to unmask]
>             <mailto:[log in to unmask]>
>                     <mailto:[log in to unmask]
>             <mailto:[log in to unmask]>>>>> wrote:
>
>                                 On Monday, 27 March, 2017 22:12:22 Paul
>             Emsley wrote:
>                                 > On 27/03/17 21:55, Xiao Lei wrote:
>                                 > >
>                                 > >
>                                 > > Because the picture quality from
>                             Coot>>Draw>>Screenshot>>Simple is
>                                 > > very low, I tried
>             Coot>>Draw>>Screenshot>>Povray or
>                             Raster3D to export
>                                 > > high quality picture, but I had an
>             error of
>                     "render tool
>                             missing" and
>                                 > > Coot tried automatically find the
>             render tool but
>                             failed. I use
>                                 > > Wincoot 0.8 version in Win7. I do
>             know if any of you
>                             have similar
>                                 > > experience.
>
>
>                         This is for windows...
>
>                                 > The render program is part of Ethan
>             Merritt's Raster3D
>                             package/suite.
>                                 > The build system in coot that attempts
>             to compile
>                     it is a
>                             bit fragile.
>                                 >
>                                 >
>             http://skuld.bmsc.washington.edu/raster3d/
>             <http://skuld.bmsc.washington.edu/raster3d/>
>                     <http://skuld.bmsc.washington.edu/raster3d/
>             <http://skuld.bmsc.washington.edu/raster3d/>>
>                             <http://skuld.bmsc.washington.edu/raster3d/
>             <http://skuld.bmsc.washington.edu/raster3d/>
>                     <http://skuld.bmsc.washington.edu/raster3d/
>             <http://skuld.bmsc.washington.edu/raster3d/>>>
>
>             <http://skuld.bmsc.washington.edu/raster3d/
>             <http://skuld.bmsc.washington.edu/raster3d/>
>                     <http://skuld.bmsc.washington.edu/raster3d/
>             <http://skuld.bmsc.washington.edu/raster3d/>>
>                             <http://skuld.bmsc.washington.edu/raster3d/
>             <http://skuld.bmsc.washington.edu/raster3d/>
>                     <http://skuld.bmsc.washington.edu/raster3d/
>             <http://skuld.bmsc.washington.edu/raster3d/>>>>
>
>                                 That is the source package, yes.
>
>                                 The Raster3D programs are now in the
>             CCP4 bundle also.
>                                 If render is not being found, you may
>             have a PATH error.
>                                 Is your Coot finding other CCP4 programs?
>
>
>                         Indeed CCP4 has raster3d now, even on Windows. I
>             will adapt
>                     for this
>                         in Coot ASAP.
>
>                         For now I suggest either of the following two
>             option:
>
>                         - add C:\yourccp4installationdirectory\bin to
>             PATH in the coot
>                         startup script (runwincoot.bat in
>                     C:\yourwincootinstallationdirectory)
>
>                         - edit the raster3d.py file
>
>
>             (C:\yourwincootinstallationdrirectory\python27\lib\site-packages\coot\)
>                         from (line 44 or so):
>
>                         r3d_exe = find_exe("render", "PATH")
>
>                         to
>
>                         r3d_exe = find_exe("render", "CCP4_BIN", "PATH")
>
>
>                         If you need more help, please get in touch with
>             me directly.
>
>                         Bernhard
>
>
>                                 >
>                                 > Paul.
>                                 >
>                                 > p.s. Draw -> Additional Representation
>             -> Ball & Stick
>                             makes things a
>                                 > bit nicer, as does Extensions ->
>             Representation ->
>                     Highlight
>                                 Interesting
>                                 > Site (still not as nice as a proper
>             molecular
>                     graphics program
>                                 though).
>
>                                 --
>                                 Ethan A Merritt
>                                 Biomolecular Structure Center,  K-428 Health
>                     Sciences Bldg
>                                 MS 357742,   University of Washington,
>             Seattle
>                     98195-7742
>
>
>
>
>
>
>
>
>

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager