Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Somehow mesh.fnMesh becomes overwritten by mesh.mesh #17

Open
alexblaessle opened this issue Apr 19, 2017 · 0 comments
Open

Somehow mesh.fnMesh becomes overwritten by mesh.mesh #17

alexblaessle opened this issue Apr 19, 2017 · 0 comments

Comments

@alexblaessle
Copy link
Owner

After readjusting the mesh volSize via Simulation->Mesh->Mesh Settings, we get the following error:

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/pyfrp/gui/pyfrp_app.py", line 1756, in generateMesh
    self.editMesh()
  File "/usr/local/lib/python2.7/dist-packages/pyfrp/gui/pyfrp_app.py", line 1742, in editMesh
    ret=pyfrp_gui_mesh_dialogs.meshSettingsDialog(currEmbryo.simulation.mesh,self).exec_()
  File "/usr/local/lib/python2.7/dist-packages/pyfrp/gui/pyfrp_gui_mesh_dialogs.py", line 72, in __init__
    self.updateFnMeshLbl()
  File "/usr/local/lib/python2.7/dist-packages/pyfrp/gui/pyfrp_gui_mesh_dialogs.py", line 127, in updateFnMeshLbl
    self.lblFnMeshVal.setText("..."+self.mesh.fnMesh[-self.nCharDisplayed:])	
TypeError: 'GmshImporter3D' object has no attribute '__getitem__'

which clearly points that mesh.fnMesh now contains what should be in mesh.mesh. This either happens in pyfrp_mesh class itself or in settings dialog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant