The Molecular Graphics Laboratory Forum

AutoDock, AutoLigand, MGLTools, Vina, PyRx and more.
It is currently Sun Dec 17, 2017 7:32 pm

All times are UTC




Post new topic Reply to topic  [ 29 posts ]  Go to page Previous  1, 2, 3
Author Message
PostPosted: Sat Dec 04, 2010 8:33 pm 
Offline
Micromolar User
Micromolar User
User avatar

Joined: Wed Nov 24, 2010 9:55 pm
Posts: 14
Hope I did it the right way, but this is what I get

Code:
C:\Program Files\MAXON\MGLToolsPckgs
noTK
C:\Users\a v abn\AppData\Roaming\MAXON\CINEMA 4D R12 Demo_0E6F67AE
Code [OK]
Traceback (most recent call last):
  File "<console>", line 1, in <module>
IndexError: list index out of range
Code [Failed]
Traceback (most recent call last):
  File "<console>", line 1, in <module>
NameError: name 'epmv' is not defined
Code [Failed]
Traceback (most recent call last):
  File "<console>", line 1, in <module>
NameError: name 'epmv' is not defined
Code [Failed]
Traceback (most recent call last):
  File "<console>", line 1, in <module>
NameError: name 'epmv' is not defined
Code [Failed]
Traceback (most recent call last):
  File "<console>", line 1, in <module>
NameError: name 'epmv' is not defined
Code [Failed]
Traceback (most recent call last):
  File "<console>", line 1, in <module>
NameError: name 'epmv' is not defined
Code [Failed]


Top
 Profile  
 
PostPosted: Sat Dec 04, 2010 9:54 pm 
Offline
Picomolar User
Picomolar User
User avatar

Joined: Wed Apr 22, 2009 2:08 am
Posts: 235
hi ed,

can you show me the ouput of theses command:

import c4d
c4d.mv

before and after calling the epmv plugin.

thanks


Top
 Profile  
 
PostPosted: Sun Dec 05, 2010 10:26 am 
Offline
Micromolar User
Micromolar User
User avatar

Joined: Wed Nov 24, 2010 9:55 pm
Posts: 14
Start C4D 32 bit
open pyhton console:
Code:
C:\Program Files\MAXON\MGLToolsPckgs
noTK
C:\Users\a v abn\AppData\Roaming\MAXON\CINEMA 4D R12 Demo_0E6F67AE


type import c4d:
Code:
C:\Program Files\MAXON\MGLToolsPckgs
noTK
C:\Users\a v abn\AppData\Roaming\MAXON\CINEMA 4D R12 Demo_0E6F67AE
Code [OK]


type c4d.mv:
Code:
C:\Program Files\MAXON\MGLToolsPckgs
noTK
C:\Users\a v abn\AppData\Roaming\MAXON\CINEMA 4D R12 Demo_0E6F67AE
Code [OK]
{}
Code [OK]


run plugin:
Code:
C:\Program Files\MAXON\MGLToolsPckgs
noTK
C:\Users\a v abn\AppData\Roaming\MAXON\CINEMA 4D R12 Demo_0E6F67AE
Code [OK]
{}
Code [OK]
execute
noModeller
noModeller
noModeller
Resource file used to customize PMV: C:\Users\a v abn\.mgltools\1.5.6rc1\Pmv\_pmvrc
Sorry you need the GLE extension module
Exception AttributeError: "BooleanVar instance has no attribute '_tk'" in <bound method BooleanVar.__del__ of <Tkinter.BooleanVar instance at 0x13052E68>> ignored
Exception AttributeError: "BooleanVar instance has no attribute '_tk'" in <bound method BooleanVar.__del__ of <Tkinter.BooleanVar instance at 0x13052EE0>> ignored

WARNING: dependency check failed for command APBSVolumeRender
Exception AttributeError: "BooleanVar instance has no attribute '_tk'" in <bound method BooleanVar.__del__ of <Tkinter.BooleanVar instance at 0x1359F378>> ignored
Exception AttributeError: "BooleanVar instance has no attribute '_tk'" in <bound method BooleanVar.__del__ of <Tkinter.BooleanVar instance at 0x1359E508>> ignored
__init__
init


type import c4d:
Code:
C:\Program Files\MAXON\MGLToolsPckgs
noTK
C:\Users\a v abn\AppData\Roaming\MAXON\CINEMA 4D R12 Demo_0E6F67AE
Code [OK]
{}
Code [OK]
execute
noModeller
noModeller
noModeller
Resource file used to customize PMV: C:\Users\a v abn\.mgltools\1.5.6rc1\Pmv\_pmvrc
Sorry you need the GLE extension module
Exception AttributeError: "BooleanVar instance has no attribute '_tk'" in <bound method BooleanVar.__del__ of <Tkinter.BooleanVar instance at 0x1388CE68>> ignored
Exception AttributeError: "BooleanVar instance has no attribute '_tk'" in <bound method BooleanVar.__del__ of <Tkinter.BooleanVar instance at 0x1388CEE0>> ignored

WARNING: dependency check failed for command APBSVolumeRender
Exception AttributeError: "BooleanVar instance has no attribute '_tk'" in <bound method BooleanVar.__del__ of <Tkinter.BooleanVar instance at 0x118B0378>> ignored
Exception AttributeError: "BooleanVar instance has no attribute '_tk'" in <bound method BooleanVar.__del__ of <Tkinter.BooleanVar instance at 0x118BC508>> ignored
__init__
init
Code [OK]


type c4d.mv
Code:
C:\Program Files\MAXON\MGLToolsPckgs
noTK
C:\Users\a v abn\AppData\Roaming\MAXON\CINEMA 4D R12 Demo_0E6F67AE
Code [OK]
{}
Code [OK]
execute
noModeller
noModeller
noModeller
Resource file used to customize PMV: C:\Users\a v abn\.mgltools\1.5.6rc1\Pmv\_pmvrc
Sorry you need the GLE extension module
Exception AttributeError: "BooleanVar instance has no attribute '_tk'" in <bound method BooleanVar.__del__ of <Tkinter.BooleanVar instance at 0x1388CE68>> ignored
Exception AttributeError: "BooleanVar instance has no attribute '_tk'" in <bound method BooleanVar.__del__ of <Tkinter.BooleanVar instance at 0x1388CEE0>> ignored

WARNING: dependency check failed for command APBSVolumeRender
Exception AttributeError: "BooleanVar instance has no attribute '_tk'" in <bound method BooleanVar.__del__ of <Tkinter.BooleanVar instance at 0x118B0378>> ignored
Exception AttributeError: "BooleanVar instance has no attribute '_tk'" in <bound method BooleanVar.__del__ of <Tkinter.BooleanVar instance at 0x118BC508>> ignored
__init__
init
Code [OK]
{'Untitled': <Pmv.hostappInterface.cinema4d_dev.c4dAdaptor.c4dAdaptor instance at 0x1296C850>}
Code [OK]


click checkbox Ribbons plugin window:
Code:
C:\Program Files\MAXON\MGLToolsPckgs
noTK
C:\Users\a v abn\AppData\Roaming\MAXON\CINEMA 4D R12 Demo_0E6F67AE
Code [OK]
{}
Code [OK]
execute
noModeller
noModeller
noModeller
Resource file used to customize PMV: C:\Users\a v abn\.mgltools\1.5.6rc1\Pmv\_pmvrc
Sorry you need the GLE extension module
Exception AttributeError: "BooleanVar instance has no attribute '_tk'" in <bound method BooleanVar.__del__ of <Tkinter.BooleanVar instance at 0x1388CE68>> ignored
Exception AttributeError: "BooleanVar instance has no attribute '_tk'" in <bound method BooleanVar.__del__ of <Tkinter.BooleanVar instance at 0x1388CEE0>> ignored

WARNING: dependency check failed for command APBSVolumeRender
Exception AttributeError: "BooleanVar instance has no attribute '_tk'" in <bound method BooleanVar.__del__ of <Tkinter.BooleanVar instance at 0x118B0378>> ignored
Exception AttributeError: "BooleanVar instance has no attribute '_tk'" in <bound method BooleanVar.__del__ of <Tkinter.BooleanVar instance at 0x118BC508>> ignored
__init__
init
Code [OK]
{'Untitled': <Pmv.hostappInterface.cinema4d_dev.c4dAdaptor.c4dAdaptor instance at 0x1296C850>}
Code [OK]
Traceback (most recent call last):
  File "epmv_c4d_plugin.pyp", line 2758, in Command
KeyError: 'Documents'


Hope this helps

Ed


Top
 Profile  
 
PostPosted: Sun Dec 05, 2010 4:37 pm 
Offline
Picomolar User
Picomolar User
User avatar

Joined: Wed Apr 22, 2009 2:08 am
Posts: 235
hi ed,

did you look at the get started page :
http://epmv.scripps.edu/documentation/to-get-started

if you click on a checkbox (Ribbon), but there is no molecule loaded then nothing will happen.
Then, can you try this:
-launch c4d
-launc ePMV
-click the fecth button right after 1crn (pdb id of the crambin).
-click the ribbon check box.
If everything sent well you should see the ribbon in the viewport if not open the console and send me the ouptu.
Also type :
import c4d
epmv = c4d.mv.values()[0]
print epmv
print epmv.mv
print epmv.mv.recentFiles
print epmv.mv.recentFiles.categories
print epmv.mv.recentFiles.resourceFilePath

thanks
Ludovic


Top
 Profile  
 
PostPosted: Sun Dec 05, 2010 8:01 pm 
Offline
Micromolar User
Micromolar User
User avatar

Joined: Wed Nov 24, 2010 9:55 pm
Posts: 14
Hi Ludovic

Hope you've had a nice weekend. I didn't know about the fetch command (i feel stupid) but to bad the fetch command also gives the
"File "epmv_c4d_plugin.pyp", line 2758, in Command
KeyError: 'Documents'"
error. So I did the following (like you told)

-launched c4d
-launced ePMV
-clicked the fecth button
-clicked the ribbon check box.

no model in viewport.

typed import c4d
epmv = c4d.mv.values()[0]
print epmv
print epmv.mv
print epmv.mv.recentFiles
print epmv.mv.recentFiles.categories
print epmv.mv.recentFiles.resourceFilePath

clicked fetch again (you never know :-) )

no model

closed ePMV
opened it again
clicked fetch

results python console:
Code:
C:\Program Files\MAXON\MGLToolsPckgs
noTK
C:\Users\a v abn\AppData\Roaming\MAXON\CINEMA 4D R12 Demo_0E6F67AE
execute
noModeller
noModeller
noModeller
Resource file used to customize PMV: C:\Users\a v abn\.mgltools\1.5.6rc1\Pmv\_pmvrc
Sorry you need the GLE extension module
Exception AttributeError: "BooleanVar instance has no attribute '_tk'" in <bound method BooleanVar.__del__ of <Tkinter.BooleanVar instance at 0x1E307E18>> ignored
Exception AttributeError: "BooleanVar instance has no attribute '_tk'" in <bound method BooleanVar.__del__ of <Tkinter.BooleanVar instance at 0x1E307E90>> ignored

WARNING: dependency check failed for command APBSVolumeRender
Exception AttributeError: "BooleanVar instance has no attribute '_tk'" in <bound method BooleanVar.__del__ of <Tkinter.BooleanVar instance at 0x1272A328>> ignored
Exception AttributeError: "BooleanVar instance has no attribute '_tk'" in <bound method BooleanVar.__del__ of <Tkinter.BooleanVar instance at 0x1272E4B8>> ignored
__init__
init
Traceback (most recent call last):
  File "epmv_c4d_plugin.pyp", line 2758, in Command
KeyError: 'Documents'
Traceback (most recent call last):
  File "epmv_c4d_plugin.pyp", line 2758, in Command
KeyError: 'Documents'
Code [OK]
Code [OK]
<Pmv.hostappInterface.cinema4d_dev.c4dAdaptor.c4dAdaptor instance at 0x11ECC800>
Code [OK]
<Pmv.moleculeViewer.MoleculeViewer instance at 0x12A13530>
Code [OK]
<mglutil.util.recentFiles.RecentFiles instance at 0x12AE9B48>
Code [OK]
{}
Code [OK]
C:\Users\a v abn\.mgltools\1.5.6rc1\Pmv\recent.pkl
Code [OK]
Traceback (most recent call last):
  File "epmv_c4d_plugin.pyp", line 2758, in Command
KeyError: 'Documents'
execute
restore <PyCObject object at 0x12753278>
noModeller
noModeller
noModeller
Traceback (most recent call last):
  File "epmv_c4d_plugin.pyp", line 2758, in Command
KeyError: 'Documents'


Ed


Top
 Profile  
 
PostPosted: Mon Dec 06, 2010 12:51 am 
Offline
Picomolar User
Picomolar User
User avatar

Joined: Wed Apr 22, 2009 2:08 am
Posts: 235
look like you don't used the file I send you.
So get the attached file, and unzip it, and move it to C:\Users\a v abn\AppData\Roaming\MAXON\CINEMA 4D R12 Demo_0E6F67AE\plugin\epmv\

hopefully this should fix this Documents problem

Ludovic


Attachments:
epmv_c4d_plugin.pyp.zip [26.55 KiB]
Downloaded 238 times
Top
 Profile  
 
PostPosted: Mon Dec 06, 2010 10:43 am 
Offline
Micromolar User
Micromolar User
User avatar

Joined: Wed Nov 24, 2010 9:55 pm
Posts: 14
Used the previous file you attached, but this file is a newer file (made 1 hour after the previous) and this file WORKS!!!


GREAT THANKS!!

but I stil get some errors in the python console.
Code:
C:\Program Files\MAXON\MGLToolsPckgs
noTK
C:\Users\a v abn\AppData\Roaming\MAXON\CINEMA 4D R12 Demo_0E6F67AE
execute
noModeller
noModeller
noModeller
Resource file used to customize PMV: C:\Users\a v abn\.mgltools\1.5.6rc1\Pmv\_pmvrc
Sorry you need the GLE extension module
Exception AttributeError: "BooleanVar instance has no attribute '_tk'" in <bound method BooleanVar.__del__ of <Tkinter.BooleanVar instance at 0x12B48E40>> ignored
Exception AttributeError: "BooleanVar instance has no attribute '_tk'" in <bound method BooleanVar.__del__ of <Tkinter.BooleanVar instance at 0x12B48EB8>> ignored

WARNING: dependency check failed for command APBSVolumeRender
Exception AttributeError: "BooleanVar instance has no attribute '_tk'" in <bound method BooleanVar.__del__ of <Tkinter.BooleanVar instance at 0x12AE7350>> ignored
Exception AttributeError: "BooleanVar instance has no attribute '_tk'" in <bound method BooleanVar.__del__ of <Tkinter.BooleanVar instance at 0x12AEB4E0>> ignored
__init__
init
buttonLoad None
['1crn']
<Protein instance> 1crn with 1 MolKit.protein.Chain
Load  1crn 0
Helix1A
Strand2A
Coil3A
Coil1A
Helix2A
Strand1A
Coil2A
Coil4A
Helix1A
Strand2A
Coil3A
Coil1A
Helix2A
Strand1A
Coil2A
Coil4A
  Lines
  Liccorice
  SpaceFilling


Going to watch the tutorials again so I can test further.

Ed


Top
 Profile  
 
PostPosted: Mon Dec 06, 2010 6:06 pm 
Offline
Picomolar User
Picomolar User
User avatar

Joined: Wed Apr 22, 2009 2:08 am
Posts: 235
Hi ed,

glad its working.
ok so I consider this topics close, You finally got it.
I dont see any error in your console log, just regular warning due to TK.

Now you can watch the nice tutorial made by graham johnson.
And if you found any bugs, have any comments, or have some rendering to share
don't hesitate to make a new post.

Ludovic


Top
 Profile  
 
PostPosted: Mon Dec 06, 2010 9:14 pm 
Offline
Micromolar User
Micromolar User
User avatar

Joined: Wed Nov 24, 2010 9:55 pm
Posts: 14
Ok


Thanks Ludovic for all the help.

Ed


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 29 posts ]  Go to page Previous  1, 2, 3

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
POWERED_BY
Translated by Maël Soucaze © 2009 phpBB.fr