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

Test viewers #149

Closed
wd15 opened this issue Sep 19, 2014 · 6 comments
Closed

Test viewers #149

wd15 opened this issue Sep 19, 2014 · 6 comments

Comments

@wd15
Copy link
Contributor

wd15 commented Sep 19, 2014

Need to run (and address) python setup.py test --viewers before release

Imported from trac ticket #164, created by wd15 on 11-20-2008 at 10:50, last modified: 02-06-2009 at 14:34

@wd15
Copy link
Contributor Author

wd15 commented Sep 19, 2014

h2. benson

Viewer tests were cool.

Few problems:

examples/phase/impingement/mesh20x20.py

broken for gnuplot viewer, get funny tex warnings for matplotlib, broken with mayavi, but works with gist.

All the examples/levelSet/electroChem are broken.

Trac comment by wd15 on 12-03-2008 at 18:37

@wd15
Copy link
Contributor Author

wd15 commented Sep 19, 2014

h2. benson

examples/phase/impingement/mesh20x20.py seems fine with matplotlib.

Trac comment by wd15 on 12-15-2008 at 11:29

@wd15
Copy link
Contributor Author

wd15 commented Sep 19, 2014

h2. benson

The examples/levelSet/electroChem now work r2872

Trac comment by wd15 on 12-15-2008 at 11:51

@wd15
Copy link
Contributor Author

wd15 commented Sep 19, 2014

h2. windows

examples/diffusion/mesh1D.py is currently broken due to an issue with importing scipy.special before pylab.

   >>> import scipy.special
   >>> import pylab
C:\pythonxy\python\lib\site-packages\matplotlib\backends\backend_qt4agg.py in <module>()
10
11 from backend_agg import FigureCanvasAgg
---> 12 from backend_qt4 import QtCore, QtGui, FigureManagerQT, FigureCanvasQT,\
13      show, draw_if_interactive, backend_version, \
14      NavigationToolbar2QT

C:\pythonxy\python\lib\site-packages\matplotlib\backends\backend_qt4.py in <module>()
14 from matplotlib.widgets import SubplotTool
15
---> 16 from PyQt4 import QtCore, QtGui, Qt
17
18 backend_version = "0.9.1"

ImportError: DLL load failed: Invalid access to memory location.

If the import is done before scipy special is imported it works fine.

All the other examples from the manual work fine with matplotlib.

However, mayavi 1 is broken. On import, it throws the following error.

In [1]: import mayavi
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)

C:\Documents and Settings\wd15\<ipython console> in <module>()

C:\pythonxy\python\scripts\mayavi.pyc in <module>()
297     MayaViTkGUI = Main.MayaViTkGUI
298 else:
--> 299     MayaViTkGUI = mayavi.Main.MayaViTkGUI
300
301

AttributeError: 'module' object has no attribute 'Main'

I also had to install mayavi 1 separately from pythonxy. Pythonxy acrtually comes with mayavi2. We need to update to mayavi2 at this point. Mayavi remains unresolved on Windows for now.

I think the viewers on apple need to be checked and then we're done with this ticket.

Trac comment by wd15 on 12-15-2008 at 17:17

@wd15
Copy link
Contributor Author

wd15 commented Sep 19, 2014

diff:@2876:2878 fixes the issue with examples/diffusion/mesh1D.py

Trac comment by wd15 on 12-23-2008 at 15:09

@guyer
Copy link
Member

guyer commented Sep 19, 2014

Viewers work

Trac comment by guyer on 02-06-2009 at 14:34

@wd15 wd15 closed this as completed Sep 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants