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 <[EMAIL PROTECTED]>

To: Tim Grune <[EMAIL PROTECTED]>

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

>

Reply via email to