Hi Luca,
Chimera doesn’t save .pyc files, it saves .py files.  When Chimera opens a .py file, a “compiled” version — the .pyc file — is created.  .pyc files can be opened in Chimera, but are only guaranteed to open on the same machine that they were originally compiled on.  The error message you got indicates that the .pyc file is not compatible with the machine you are trying to open it on.

—Eric

Eric Pettersen
UCSF Computer Graphics Lab

On Dec 12, 2016, at 6:31 AM, Luca Pellegrini <lp212@cam.ac.uk> wrote:

Hi,

How can I open in Chimera a saved .pyc session file? When I try, Chimera reports the following error message:

Error while processing /Users/lp212/Dropbox/<filename.pyc>:
.pyc files are not portable; please use .py file instead

Unfortunately I don’t have the .py file, Chimera doesn’t seem to have saved it (not sure why).

Thanks,
Luca



Luca Pellegrini, PhD
Department of Biochemistry
University of Cambridge
80 Tennis Court Road
Cambridge CB2 1GA
UK

Email: lp212@cam.ac.uk
Phone: 0044-1223-760469












_______________________________________________
Chimera-users mailing list: Chimera-users@cgl.ucsf.edu
Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users