Git Product home page Git Product logo

Comments (8)

 avatar commented on August 18, 2024

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.

 avatar commented on August 18, 2024

Updating progress bar should now be handled in thread safe way. Please test it before I close the issue.

from dynamics.

jsnowacki avatar jsnowacki commented on August 18, 2024

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.

 avatar commented on August 18, 2024

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.

jsnowacki avatar jsnowacki commented on August 18, 2024

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.

 avatar commented on August 18, 2024

Hi,
Please check if everything works fine now.

from dynamics.

jsnowacki avatar jsnowacki commented on August 18, 2024

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.

 avatar commented on August 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.