CompuCell3D / cc3d-player5

CC3D Player 5
GNU Lesser General Public License v3.0
4 stars 4 forks source link

Feature/demo panel enhanced #49

Closed fyffep closed 7 months ago

fyffep commented 9 months ago

This branch has my version of the merge conflict resolution

tjsego commented 8 months ago

@fyffep can you change the target to the develop branch?

fyffep commented 8 months ago

@fyffep can you change the target to the develop branch?

@tjsego Rookie mistake. Thanks.

maciekswat commented 7 months ago

After clicking Help->Open Demo on OSX I am getting this error:

qt.qpa.fonts: Populating font family aliases took 165 ms. Replace uses of missing font family "Courier" with one that exists to avoid this cost. 
Traceback (most recent call last):
  File "/Users/m/src/conda-build-repos/cc3d-player5/cc3d/player5/ViewManager/SimpleViewManager.py", line 687, in __open_demo_menu
    self.demo_browser = DemoBrowser(parent=self)
  File "/Users/m/src/conda-build-repos/cc3d-player5/cc3d/player5/Plugins/ViewManagerPlugins/DemoBrowser.py", line 269, in __init__
    self.searchIndex = createOrLoadSearchIndex()
  File "/Users/m/src/conda-build-repos/cc3d-player5/cc3d/player5/Plugins/ViewManagerPlugins/DemoBrowser.py", line 209, in createOrLoadSearchIndex
    idx = loadSearchIndex()
  File "/Users/m/src/conda-build-repos/cc3d-player5/cc3d/player5/Plugins/ViewManagerPlugins/DemoBrowser.py", line 183, in loadSearchIndex
    with open(indexFilePath, "r") as fp:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/m/CompuCell3D/Demos/.demoindex'

It was the second error I got. The first one happened first time I used this branch and it had to do with encodings - I would not worry about it now because it might have been one-off error

fyffep commented 7 months ago

It was the second error I got. The first one happened first time I used this branch and it had to do with encodings - I would not worry about it now because it might have been one-off error

@maciekswat Good thing you test my code! I still make simple mistakes sometimes. Please test again on the latest commit. I tried to fix both errors.

maciekswat commented 7 months ago

no worries. Will do that!

maciekswat commented 7 months ago

Added a few commits that fixed Player crashes when the user changed configuration while no simulation was running (not related to this PR at all) and also Added turning on and off Open Demo... option depending if the simulation is running or not