← Back to team overview

dolfin team mailing list archive

[Bug 28] New: Poor error message for demos without viper installed

 

http://www.fenics.org/cgi-bin/bugzilla/show_bug.cgi?id=28

           Summary: Poor error message for demos without viper installed
           Product: DOLFIN
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS
            Status: NEW
          Severity: minor
          Priority: P2
         Component: general
        AssignedTo: dolfin-dev@xxxxxxxxxx
        ReportedBy: ilmarw@xxxxxxxxx


When compiling the demos without viper installed, the error in demo/plot/python
is as follows:
Traceback (most recent call last):
  File "demo.py", line 11, in <module>
    plot(mesh, interactive=False)
TypeError: plot() got an unexpected keyword argument 'interactive'

I find this error message unclear. Running the demo in demo/plot/cpp gives a
much clearer error:
Plotting Mesh, press q to continue...
Unable to plot (PyDOLFIN or Viper plotter not available).


-- 
Configure bugmail: http://www.fenics.org/cgi-bin/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.