[Chimera-users] Chimera --send on MacOS
f.stricher at ibmc-cnrs.unistra.fr
Thu Oct 4 23:08:47 PDT 2012
Indeed, it's the path. When I first tried, it was from the icon. I then tried launching it from the command line and it worked.
Le 5 oct. 2012 à 03:54, Tom Goddard <goddard at sonic.net> a écrit :
> Hi François,
> I suspect your test.com file is not found when you run "chimera --send test.com" because the Chimera that is already running was started in a different directory then the one test.com is in. The file is opened by the already running chimera and so the path probably has to be relative the directory that Chimera was started in. If you started Chimera by clicking an icon in Mac OS then it starts in directory "/". So you should specify a full path to "test.com" like /Users/stricher/test.com or ~/test.com.
> I think this is weird and unexpected and we should probably fix this so that "chimera --send" converts the relative path to an absolute path before handing it to the running Chimera.
> -------- Original Message --------
> Subject: Re: [Chimera-users] Chimera --send on MacOS
> From: François Stricher
> To: Tom Goddard
> Date: 10/4/12 4:36 PM
>> Hi Tom,
>> you're right the daily build allows again the use of --send. However, here is another problem:
>> when I do "chimera --send test.com", I have this error message "[Errno 2] No such file or directory: u'test.com'"
>> On Oct 4, 2012, at 23:24 , Tom Goddard wrote:
>>> Hi François,
>>> Yes "chimera --send" is broken in Chimera 1.6 but fixed in the daily builds a few days ago. Here is a way to fix your Chimera 1.6 if you prefer to continue using the production release
>>> To fix "chimera --send" in Chimera 1.6 change line 71 of the following file
>>> in your chimera distribution from
>>> web_file = "chim_webinfo-%s" % username
>>> web_file = "chimera_webinfo-%s" % username
>>> (the "chim_" is now "chimera_").
>>> -------- Original Message --------
>>> Subject: [Chimera-users] Chimera --send on MacOS
>>> From: François Stricher
>>> To: chimera-users at cgl.ucsf.edu
>>> Date: 10/4/12 5:57 AM
>>>> Hi all,
>>>> I want to be able to interact with Chimera from another program, sending commands and all. I tried the chimera --send my_file.com to test it under MacOS 10.7. Each time I do this, it opens a new instance (instead of reusing the previous one) and doesn't process my_file.com at all. When I open my_file.com from inside chimera, it operates the commands inside it without any problem.
>>>> Any idea?
>>>> Chimera-users mailing list
>>>> Chimera-users at cgl.ucsf.edu
>> Chimera-users mailing list
>> Chimera-users at cgl.ucsf.edu
More information about the Chimera-users