Quick navigation:        Home   |    Site Map   ||    References   |    Biography   ||    Copyright   |    Other copyright   |    Contact us   |   
Protein structure
 

Re: [ccp4bb] ccp4mg can't start

 

Basic tutorials:
 
 

CCP4bb navigation

CCP4bb <-- 2007 <-- May 2007 <-- 16 May 2007
Previous message:
Subject: Re: .sfrm image files
From: Jim Pflugrath Jim {- dot -} Pflugrath {- at -} RIGAKU {- dot -} COM
Date: 2007-05-16
Next message:
Subject: Re: ccp4mg can't start
From: Liz Potterton lizp {- at -} YSBL {- dot -} YORK {- dot -} AC {- dot -} UK
Date: 2007-05-16


Subject: Re: ccp4mg can't start
From: Tim Grune tim {- dot -} grune {- at -} SYNCHROTRON {- dot -} VIC {- dot -} GOV {- dot -} AU
Date: 2007-05-16

Hi Yanming,

it looks like ccp4mg looks for python in a specific path within the ccp4mg.
Edit the script ccp4mg (you find out where it is with 'which ccp4mg'). Look
at the very end of that file
for where python is called (probably with some arguments). Make sure it says
only 'python', not anything like
'/usr/local/ccp4/ccp4mg-0.12.1/bin/..//pythondist/bin/python'. Then ccp4mg
will use the python of your system. This works for me and ccp4mg does not
need its own python installation.

Maybe the ccp4mg-developers may want to comment on whether this is a bad
idea and may have a negative influence on ccp4mg's performance?
Tim

-----Original Message-----

From: Yanming Zhang

To: Tim Grune

Date: Wed, 16 May 2007 01:47:08 -0400 (EDT)

Subject: Re: [ccp4bb] ccp4mg can't start




Dear Tim,

Thanks for your help. python 2.4.2 is the version. Following is the output

of ccp4mg -dbx:

GNU gdb Red Hat Linux (6.3.0.0-1.132.EL4rh)

Copyright 2004 Free Software Foundation, Inc.

GDB is free software, covered by the GNU General Public License, and you

are

welcome to change it and/or distribute copies of it under certain

conditions.

Type "show copying" to see the conditions.

There is absolutely no warranty for GDB. Type "show warranty" for

details.

This GDB was configured as

"i386-redhat-linux-gnu".../usr/local/ccp4/ccp4mg-0.12.1/bin/..//pythondist/bin/python:


No such file or directory.



(gdb) Starting program:

/usr/local/ccp4/ccp4mg-0.12.1/bin/..//python/ui/ui.py -debug opengl

command

No executable file specified.

Use the "file" or "exec-file" command.

(gdb) No stack.

(gdb) No symbol table is loaded. Use the "file" command



Any suggestion?

Thanks





On Wed, 16 May 2007, Tim Grune wrote:



> Hi Yanming,

>

> which version of python is running on your system(python -V)? Maybe it is
too

> old?

> Otherwise, does 'ccp4mg -dbx' produce any more output?

>

> On Wednesday 16 May 2007 11:20, you wrote:

>> Dear Tim,

>> I checked the two files, Both are empty.

>> Linux distribution: 2.6.9-42.ELsm

>>

>> Thanks

>> Yanming

>>

>> On Wed, 16 May 2007, Tim Grune wrote:

>>> Could you send the contents of the files

>>> /home/yzhang/.CCP4MG/ccp4mg_stdout.txt

>>> and

>>> /home/yzhang/.CCP4MG/ccp4mg_stderr.txt

>>> What Linux distribution are you using?

>>>

>>> Tim

>>>

>>> On Wednesday 16 May 2007 10:31, Yanming Zhang wrote:

>>>> Dear All,

>>>> lately I have a fantacy toward ccp4mg. But either from

>>>> ccp4i or typing 'ccp4mg' directly from the prompt(Linux),

>>>> I got the following error message:

>>>>

>>>> Loading fonts..

>>>> ...DONE

>>>> Starting graphics thread..

>>>> ...DONE

>>>> Parsing command line..

>>>> ...DONE

>>>> Redirecting output to /home/yzhang/.CCP4MG/ccp4mg_stdout.txt

>>>> Redirecting errors to /home/yzhang/.CCP4MG/ccp4mg_stderr.txt

>>>> Started at Fri May 16 09:16:59 2003

>>>> /usr/local/ccp4/ccp4mg-0.12.1/bin/ccp4mg: line 281: 10773 Killed

>>>> python $CCP4_MG/python/ui/ui.py $*

>>>>

>>>> Any quick remedy?

>>>> Thanks

>>>> Yanming

>>>

>>> --

>>> Tim Grune

>>> Australian Synchrotron

>>> 800 Blackburn Road

>>> Clayton, VIC 3168

>>> Australia

>

> --

> Tim Grune

> Australian Synchrotron

> 800 Blackburn Road

> Clayton, VIC 3168

> Australia

>




ProteinCrystallography.org: Copyright 2006-2007 by Quid United Ltd