paiardin/DockingPie

TypeError: expected str, bytes or os.PathLike object, not NoneType

Tangbbmc opened this issue · 4 comments

I like this plugin (DockingPie) very much. However, recently, I run vina program via this plugin, PyMOL always reported the following issue. Could you help me to deal with it? Thank you!

File "d:\anaconda\lib\site-packages\pmg_tk\startup\DockingPie1\lib\docking_program_main\Functions\dockings_thread.py", line 396, in on_update_results_tab
self.tab.results_frame = ResultsFrame(parent=self.tab,
File "d:\anaconda\lib\site-packages\pmg_tk\startup\DockingPie1\lib\docking_program_main\docking_program_gui\frames.py", line 1019, in init
if Path(self.log_file).is_file():
File "d:\anaconda\lib\pathlib.py", line 1038, in new
self = cls._from_parts(args, init=False)
File "d:\anaconda\lib\pathlib.py", line 679, in _from_parts
drv, root, parts = self._parse_args(args)
File "d:\anaconda\lib\pathlib.py", line 663, in _parse_args
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType

Dear Tangbbmc,
thank you for your interest in DockingPie.

Please notice commit 59c9a02 (6th February 2023) that should have solved this issue.
If you think your DockingPie version is up to date and you are still facing this issue, please contact us again with more information about the DockingPie source-code in use and/or about the system analyzed with Vina.

Best,
Serena

The are more modifications than the one I pointed the focus on. I would suggest to download the plugin from its main branch and re-install it. However, here there is something going wrong with your docking simulation, it may be related to the ligand/receptor/parameters setup.