Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269119 - sci-chemistry/pymol-1.1-r2 is incompatible with python 2.6
Summary: sci-chemistry/pymol-1.1-r2 is incompatible with python 2.6
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: Highest normal (vote)
Assignee: Gentoo Chemistry-Related Packages
Depends on: 283639
Blocks: python-2.6
  Show dependency tree
Reported: 2009-05-09 12:22 UTC by Luyang Han
Modified: 2010-01-31 22:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Luyang Han 2009-05-09 12:22:32 UTC
When try to start pymol-1.1-r2 with python 2.6.2, following message is given:

Error: unable to initalize the pymol.cmd module
Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/pymol/", line 265, in <module>
    from api import *
  File "/usr/lib64/python2.6/site-packages/pymol/", line 381
     as = show_as
 SyntaxError: invalid syntax

This is because in python 2.6 the 'as' is a reserved keyword

Reproducible: Always
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2009-05-09 21:01:47 UTC
Is fixed in 1.2* which is in sci overlay.
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2009-07-31 09:14:28 UTC
(In reply to comment #1)
> Is fixed in 1.2* which is in sci overlay.

 Can we get that in-tree and stabilised please?  Python 2.6 just went stable on amd64 and is planned for other arches, too. 

Comment 3 Justin Lecher (RETIRED) gentoo-dev 2010-01-31 22:31:46 UTC
Removed from tree.