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

Help for COOT Archives


COOT Archives

COOT Archives


COOT@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

COOT Home

COOT Home

COOT  September 2007

COOT September 2007

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Error and failure to start upon update to 0.4 pre-release

From:

Bernhard Lohkamp <[log in to unmask]>

Reply-To:

[log in to unmask]

Date:

Sun, 9 Sep 2007 17:28:38 +0200

Content-Type:

multipart/mixed

Parts/Attachments:

Parts/Attachments

text/plain (256 lines) , coot.py-0.3 (256 lines)


Abigail,

there seem to be 2 issues here. One is the errors coming from the python
scripts, the other related to guile.

1.) the python error (i.e. active_residue) is my bad, since the coot.py
file from my scripts has additional functions included which wont work
on 'normal' python built coot yet. This should go away if you delete the
lines including and after active_residue in your coot.py file. Or
replace coot.py it with attached file.

2.) with respect to guile, please try Paul's suggestions.

Bernhard   

***************************************************

Dr. Bernhard Lohkamp
Div. Molecular Structural Biology
Dept. of Medical Biochemistry and Biophysics (MBB)
Karolinska Institutet
S-17177 Stockholm
Sweden

phone: (+46) 08-52487698
fax:   (+46) 08-327626
email: [log in to unmask]

----- Original Message -----
From: Paul Emsley <[log in to unmask]>
Date: Saturday, September 8, 2007 11:00 am
Subject: Re: [COOT] Error and failure to start upon update to 0.4
pre-release
To: [log in to unmask]

> Further thoughts:  I wonder(ed) why python would give an error like 
> that:>      ERROR: Undefined variable: class-of
> Python would interpret "class-of" as "class - of" and give a syntax 
> errorand not an undefined variable.  It is scheme that would think 
> that "class-of" 
> is a variable.  I think that the error message is popping up in the 
> wrong place
> to confuse us.
> 
> It may be that your coot is picking up (or has picked up) the wrong 
> guile.
> So, Abigail, I think there is something wrong with the .scm files 
> somewhere.If you have something in your ~/.coot file, move it aside 
> and retry.  I notice 
> that in you screen log, you don't mention the loading of .scm 
> files.  I wonder
> why that is.  Is it because you chopped it or because it didn't 
> happen?  You 
> could rename or tinker with (i.e. comment out the loading of some 
> files in)
> /sw/share/coot/scheme/coot.scm.
> 
> Paul.
> 
> 
> In message <[log in to unmask]>
> [log in to unmask] writes:
> > Sorry I didn't see this earlier.  This package works absolutely 
> fine on my
> G4s, so I don't think any of the python scripts distributed with 
> coot are
> borked.  I force it to build with the system's distributed 
> python2.3 in
> /usr/bin.  Is it possible yours is somehow non-canonical?
> > 
> > 
> > On Fri, 7 Sep 2007 14:37:02 -0700
> > Abigail LAMBERT <[log in to unmask]> wrote:
> > 
> >      When I remove "shelx.py" from the list in the 
> "coot_load_modules.py"file, the error simply moves to the 
> >      .py file previous to it in line:
> >      
> >      Loading: povray.py
> >      Loading: coot-lsq.py
> >      Loading: get-ebi.py
> >      ERROR: Undefined variable: class-of
> >      
> >      vs.
> >      
> >      Loading: povray.py
> >      Loading: coot-lsq.py
> >      Loading: get-ebi.py
> >      Loading: shelx.py
> >      ERROR: Undefined variable: class-of
> >      
> >      When I replaced all of my .py files with Bernhard's python 
> script files
> (not ALL of them, the same ones 
> >      that I had had), then the error moves to the 
> "coot_load_modules.py" file:
> >      
> >      ...
> >      There are 2 data in /sw/share/coot/lib/data/monomers/a/AD.cif
> >      There are 2 data in /sw/share/coot/lib/data/monomers/c/CR.cif
> >      There are 2 data in /sw/share/coot/lib/data/monomers/c/CD.cif
> >      There are 2 data in /sw/share/coot/lib/data/monomers/g/GR.cif
> >      There are 2 data in /sw/share/coot/lib/data/monomers/g/GD.cif
> >      There are 2 data in /sw/share/coot/lib/data/monomers/t/TD.cif
> >      There are 2 data in /sw/share/coot/lib/data/monomers/u/UR.cif
> >      Reading coordinate file: /sw/share/coot/standard-residues.pdb
> >        PDB file /sw/share/coot/standard-residues.pdb has been read.
> >      Spacegroup: P 1
> >      Cell: 40.631 109.18 93.243 90 90 90
> >      
> >      ** (coot:628): WARNING **: Couldn't find pixmap file: reside-
> info.svg>      
> >      ** (coot:628): WARNING **: Couldn't find pixmap file: env-
> distances.png>      initalize graphics molecules...initializing 
> molecules...done>      done.
> >      INFO:: loading coot.py from /sw/share/coot/python/coot.py
> >      Running python script /sw/share/coot/python/coot.py
> >      Traceback (most recent call last):
> >         File "<string>", line 1, in ?
> >         File "/sw/share/coot/python/coot.py", line 1122, in ?
> >           active_residue = _coot.active_residue
> >      AttributeError: 'module' object has no attribute 
> 'active_residue'>      INFO:: coot.py loaded
> >      INFO loading coot python modules
> >      Running python script 
> /sw/share/coot/python/coot_load_modules.py>      ERROR: Undefined 
> variable: class-of
> >      
> >      Some deprecated features have been used.  Set the environment
> >      variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
> >      program to get more information.  Set it to "no" to suppress
> >      this message.
> >      [dhcp025014:~] Abbie%
> >      
> >      It looks like I do have PyGTK installed and current.
> >      
> >      
> >      Any new ideas?
> >      
> >      
> >      
> >      
> >      
> >      
> >      On Fri, 7 Sep 2007, Paul Emsley wrote:
> >      
> >      >
> >      > Dear Abigail,
> >      >
> >      > Do let us know what Coot says when you modify it in the 
> suggestedmanner(s).
> >      >
> >      > Paul.
> >      >
> >      >
> >      >
> >      > In message 
> <[log in to unmask]>Abigail
> >      > LAMBERT <[log in to unmask]> writes:
> >      >> I'm not sure I understand what is the underlying problem 
> here (fairly
> new at
> >      > this type of computing).
> >      >> These suggestions (thanks for them) have not solved the 
> problem.  I
> have never
> >      > had such issues with
> >      >> Coot before, so why might this be coming up now, after a 
> simple upgrade?
> >      >>
> >      >> If I can understand this more thoroughly, perhaps I can 
> try and
> troubleshoot
> >      > more effectively.
> >      >>
> >      >> Thanks!
> >      >>
> >      >> Abbie
> >      >>
> >      >> On Fri, 7 Sep 2007, Bernhard Lohkamp wrote:
> >      >>
> >      >>> Didnt see that this was a python thing.
> >      >>>
> >      >>> To potentially fix this you can download my python 
> script files (
> >      >>> 
> http://www.chem.gla.ac.uk/~bernhard/coot/coot_python_scripts.tar.gz )
> >      >>> which are more up to date and shouldnt be broken. 
> Although I guess not
> >      >>> everything will work unless you have PyGTK installed. 
> And there is
> >      >>> probably a few other Python things not fixed in the 
> 'normal' coot yet.
> >      >>>
> >      >>> Bernhard
> >      >>>
> >      >>> ***************************************************
> >      >>>
> >      >>> Dr. Bernhard Lohkamp
> >      >>> Div. Molecular Structural Biology
> >      >>> Dept. of Medical Biochemistry and Biophysics (MBB)
> >      >>> Karolinska Institutet
> >      >>> S-17177 Stockholm
> >      >>> Sweden
> >      >>>
> >      >>> phone: (+46) 08-52487698
> >      >>> fax:   (+46) 08-327626
> >      >>> email: [log in to unmask]
> >      >>>
> >      >>> ----- Original Message -----
> >      >>> From: Paul Emsley <[log in to unmask]>
> >      >>> Date: Friday, September 7, 2007 10:49 am
> >      >>> Subject: Re: [COOT] Error and failure to start upon 
> update to 0.4
> >      >>> pre-release
> >      >>> To: [log in to unmask]
> >      >>>
> >      >>>> Abigail LAMBERT wrote:
> >      >>>>> Hello -
> >      >>>>>
> >      >>>>> I'm working on a PowerBook G4 Mac (PowerPC, 10.4), and 
> I updated
> >      >>>> my
> >      >>>>> Coot package in Fink.  It shows everything to be 
> successfully>      >>>> updated,
> >      >>>>> but upon startup, I get the following error: (although 
> I DO get a
> >      >>>>> glimpse of the new, nifty splash screen):
> >      >>>>>
> >      >>>>> ...
> >      >>>>> Loading: coot-lsq.py
> >      >>>>> Loading: get-ebi.py
> >      >>>>> Loading: shelx.py
> >      >>>>> ERROR: Undefined variable: class-of
> >      >>>>>
> >      >>>>>
> >      >>>> Hmm.. pythonized coot.
> >      >>>>
> >      >>>> I don't see what is going wrong.
> >      >>>>
> >      >>>> You could try to remove "shelx.py" from
> >      >>>> /sw/share/coot/python/coot_load_modules.py
> >      >>>>
> >      >>>> I'll try pythonized coot here soon.
> >      >>>>
> >      >>>> Paul.
> >      >>>>
> >      >>>
> >      >>
> >      >
> >      
> > 
> 

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
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