Comments (8)
The master branch of the plugin feature brand new progress bar rewritten from Tix to ttk. It probably require few more touches to eliminate last bugs. Your error seems to be the result of Tkinter not being thread safe, but updating status bar is done with separate thread. I should use Queue object instead.
from dynamics.
Updating progress bar should now be handled in thread safe way. Please test it before I close the issue.
from dynamics.
Sorry for the delay, I was busy and missed the notification about the issue. I still seem to have the same problem on PyMOL 1.6.0 with the latest Dynamics from GitHub. Namely, the exception is thrown and the GUI does not seem to get updated correctly when simulations stop.
from dynamics.
Could you please paste here current error message, as I need to know, which line of code is still not thread safe. Thanks for testing!
from dynamics.
Here you go:
Unhandled exception in thread started by
Traceback (most recent call last):
File "/apps/pymol/1.6.0.0-x86_64/modules/pmg_tk/startup/dynamics_pymol_plugin.py", line 1063, in bar_update
root = Tk()
File "/apps/pymol/1.6.0.0-x86_64/ext/lib/python2.7/lib-tk/Tkinter.py", line 1685, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: out of stack space (infinite loop?)
Please let me know if you want me to repeat the test. Cheers!
from dynamics.
Hi,
Please check if everything works fine now.
from dynamics.
Error is gone now. Seems to work fine now. Thanks.
I noticed a smell glitch though: if I start calculations and have a fatal error of the calculation setup, which effectively stops the calculations, the start button is still pressed as if they were still running. Also, hitting stop and start again in the same calculation window does not produce the error again as if it does not do anything. I just wanted to highlight that as I do not know if this is an expected behaviour or not.
Cheers,
Jakub
from dynamics.
I am glad, that we got rid of this pesky bug. I have moved your new observation to #49 .
Please continue testing software and provide your feedback. I am closing this Issue now.
from dynamics.
Related Issues (20)
- Gromacs : /bin/sh: gmx: command not found HOT 1
- unable to start GROMACS plugin HOT 1
- Plugin coded using Python2, PyMol2.5 runs with Python3 HOT 1
- Missing parentheses in call to 'print' HOT 1
- 'nstxout' error in GROMACS when changing simulation time HOT 1
- Make tk window with information about missing GROMACS
- Add genion support HOT 1
- GROMACS 5.0 will not work with "ns_type = simple"
- Automated testing HOT 1
- Plugin fails simulation on protein-ligand complex system
- Fix importing saves from plugin 2.0 to 2.1
- Plugin compatibility between Pymol on Windows and Gromacs on Windows 10 WSL HOT 1
- concatenate error
- Transfer software to private account
- Better GROMACS error handling
- Compatibility for PyMOL 2.0 HOT 2
- Port to PyQt5 HOT 2
- Default implicit solvent fails with GROMACS 2018 HOT 1
- Plugin crashes with GROMACS with MPI
- PyMOL-2.5.0a0/Gromacs / TK Error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dynamics.