[Chimera-users] Problem opening .py files

Eric Pettersen pett at cgl.ucsf.edu
Thu Jun 30 11:05:16 PDT 2016


Hi Luca,
	Three things:

1) You should probably open sessions with File->Restore Session rather than File->Open
2) You shouldn’t be being asked to identify the file type, since the file name has a known suffix type (.py:  Python).  Make sure that the “File type” selector near the bottom left of the File->Open dialog is set to “all (guess type)” rather than “all (ask type)”
3) Even if you are asked the type, you should pick “Python” for .py files.  It looks like you picked “Chimera commands”, which interprets the file as Chimera commands rather than as Python code.

—Eric

	Eric Pettersen
	UCSF Computer Graphics Lab


> On Jun 30, 2016, at 1:26 AM, Luca Pellegrini <lp212 at cam.ac.uk> wrote:
> 
> Hi,
> 
> When I try to open a chimera session file, Chimera asks me to identify the file type, and then stops with the error message below. Can you please advice? I am using MacOSX 10.11.3.
> 
> Best regards,
> Luca
> 
> ***
> You are now running Chimera version 1.11 (build 41141).
> Your previous version was 1.10.1 (build 40415).
> Check the release notes for new features and other info.
> (To access the release notes, use the Help menu to bring up the User's Guide.
> Then click the 'Documentation index' link and you will then see a link
> for the release notes.)
> Registration file "/Users/lp212/.chimera/registration" has expired.
> 
> Error while sourcing SsoCdc45.py, line 0:
> 
> 	"import cPickle, base64"
> 
> Unrecognized command: "import"
> Error while sourcing SsoCdc45.py, line 0:
> 
> 	"import cPickle, base64"
> 
> Unrecognized command: "import"
> Error while sourcing SsoCdc45.py, line 0:
> 
> 	"import cPickle, base64"
> 
> Unrecognized command: "import"
> Model 0 (Cdc45_depo.pdb) appears to be a protein without secondary structure assignments.
> Automatically computing assignments using 'ksdssp' and parameter values:
>  energy cutoff -0.5
>  minimum helix length 4
>  minimum strand length 3
> Use command 'help ksdssp' for more information.
> 
> 
> 
> Luca Pellegrini, PhD
> Department of Biochemistry
> University of Cambridge
> 80 Tennis Court Road
> Cambridge CB2 1GA
> UK
> 
> Email: lp212 at cam.ac.uk
> Phone: 0044-1223-760469
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Chimera-users mailing list: Chimera-users at cgl.ucsf.edu
> Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20160630/de534e79/attachment-0001.html>


More information about the Chimera-users mailing list