-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hello:
Pycontact is a really nice program... you guys deserve the best.
I'm facing a problem when trying to use the VMD Control Panel. PyContact connect without problems with VMD but, whey trying to load topology and trajectory files, the console shows this error:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/pycontact-1.0.4-py3.8-linux-x86_64.egg/PyContact/gui/VMDControlPanel.py", line 184, in loadTopoTraj
self.prepareVMDWithTopoTraj(cfg[0], cfg[1])
File "/usr/local/lib/python3.8/dist-packages/pycontact-1.0.4-py3.8-linux-x86_64.egg/PyContact/gui/VMDControlPanel.py", line 172, in prepareVMDWithTopoTraj
self.vmd.send_command("mol new %s" % top)
File "/usr/local/lib/python3.8/dist-packages/pycontact-1.0.4-py3.8-linux-x86_64.egg/PyContact/gui/VMDControlPanel.py", line 102, in send_command
self.tcpClientSocket.send(str(cmd + "\n"))
TypeError: a bytes-like object is required, not 'str'
So, I desided to load those files manually into connected VMD. Now, when actigating the "Vismode" and selecting some molecule interaction in PyContact to be shown into VMD, a simmilar error rise... always the "TypeError: a bytes-like object is required, not 'str'."
My Python version is 3.8.10 and PyContact version is 1.0.4.
Thanks