[Debichem-devel] Bug#703782: Bug#703782: pymol: Unable to launch the Menu

Li Na Zhao lina.oahz at gmail.com
Sun Mar 24 12:29:01 UTC 2013


On Sun, Mar 24, 2013 at 8:06 PM, Michael Banck <mbanck at debian.org> wrote:
> Hi,

Hi Michael,
>
> On Sun, Mar 24, 2013 at 12:06:06AM +0800, lina wrote:
>> Package: pymol
>> Version: 1.5.0.1-2
>> Severity: normal
>>
>> Dear Maintainer,
>>
>>     Traceback (most recent call last):
>>       File "/usr/lib/python2.7/dist-packages/pymol/__init__.py", line 452, in launch_gui
>>           sys.modules[self.invocation.options.gui].__init__(self,poll,skin)
>>           TypeError: module.__init__() takes at most 2 arguments (3 given)
>>
>>
>>      I can only launch the PyMOL Viewer.
>
> Can you explain a bit more what the problem is?  How do you start pymol,
> via the command-line?

Exactly, via the command line but also try from the Application Menu
--> Education.

>
> Is the problem, that the viewer window ("PyMOL Viewer") appears, but the
> (detached) window with the menus ("File", "Edit" etc.) called "The PyMOL
> Molecular Graphics System" does not?  I can not immediately reproduce
> this here.

You are right here, "The PyMOL Molecular Graphics System" failed to launch.
>From the error message:

File "/usr/lib/python2.7/dist-packages/pymol/__init__.py", line 452,
in launch_gui
    sys.modules[self.invocation.options.gui].__init__(self,poll,skin)
TypeError: module.__init__() takes at most 2 arguments (3 given)

I checked the __init__.py, it has not been updated or changed recently.

The problem seems related to the sys.modules, I tried to modify the
code of the __init__.py, but not work,

The problem stuck me is that I am not clearly which updated package
related to it.

BTW, for your information, due to the urgency of using pymol, I built
one from svn separately, it works fine.
but it's isolated from this issue.

I don't know how can you produce this problem, but I can provide a
list of the packages I installed recently,
Here it is:

apt-get install git-core
apt-get install python-numpy
apt-get install python-scipy
apt-get install python-matplotlib
apt-get install python-dev
apt-get install python-setuptools
easy_install -U scikits.statsmodels
easy_install -U scikit-learn
easy_install --upgrade pytz
apt-get install python-dateutil
easy_install pandas==0.7.3
apt-get install python-qt4
apt-get install python-cvxopt

Which is related to a package, called QSTK-0.2.5
(http://wiki.quantsoftware.org/index.php?title=QSToolKit_Installation_Guide_Ubuntu)

Any further information you need or any idea come into your mind
please let me know, I will try those suggestions,

Best regards,

lina

>
>
> Michael



More information about the Debichem-devel mailing list