makson96 / Dynamics

Dynamics PyMOL Plugin
GNU General Public License v3.0
39 stars 17 forks source link

in save_options global name 'vectors_prody' is not defined #68

Closed ghost closed 9 years ago

ghost commented 9 years ago

Bug report I got on email. It probably affects both 2.1 and 2.0. My gues is, that this global is used but not defined if import of ProDy fails.

PyMOL(TM) 1.7.6.0 - Incentive Product

Copyright (C) Schrodinger, LLC

This PyMOL Executable Build is available only to PyMOL Power, Casual, and 

Developer Users who have a valid license to use this software product. Any

other usage is specifically prohibited and may constitute a violation of 

United States and international copyright laws.

This Executable Build integrates and extends Open-Source PyMOL.

Detected OpenGL version 2.0 or greater. Shaders available.

Detected GLSL version 4.40.

OpenGL graphics engine:

GL_VENDOR: NVIDIA Corporation

GL_RENDERER: Quadro 4000/PCIe/SSE2

GL_VERSION: 4.4.0 NVIDIA 340.29

Adapting to Quadro hardware.

Detected 4 CPU cores. Enabled multithreaded rendering.

OpenGL quad-buffer stereo 3D detected and enabled.

Testing GROMACS installation and version

Found GROMACS 5.0.5

Reading available force fields

Reading available water models

Reading available groups

Set Variables

Create config files

updating project files

<type 'exceptions.NameError'> Exception in Tk callback

Function: <function init_function at 0x2aaab051c140> (type: <type 

'function'>)

Args: ()

Traceback (innermost last):

File "/Programs/pymol_1.7/ext/lib/python2.7/site-

packages/Pmw/Pmw_1_3/lib/PmwBase.py", line 1747, in __call__

return apply(self.func, args)

File "/Programs/pymol_1.7/modules/pmg_tk/startup/pymol_plugin_dynamics.py", 

line 1121, in init_function

rootWindow()

File "/Programs/pymol_1.7/modules/pmg_tk/startup/pymol_plugin_dynamics.py", 

line 1367, in rootWindow

set_variables(v1_name.get(), v2_group, v3_force, v4_water, water_v, 

check1_button)

File "/Programs/pymol_1.7/modules/pmg_tk/startup/pymol_plugin_dynamics.py", 

line 2160, in set_variables

create_config_files()

File "/Programs/pymol_1.7/modules/pmg_tk/startup/pymol_plugin_dynamics.py", 

line 2202, in create_config_files

save_options()

File "/Programs/pymol_1.7/modules/pmg_tk/startup/pymol_plugin_dynamics.py", 

line 2647, in save_options

pickle_list = [plugin_ver, gromacs.version, gromacs2, em_file, pr_file, 

md_file, progress, explicit, vectors_prody]

<type 'exceptions.NameError'>: global name 'vectors_prody' is not defined