-
OOF2 crashes on startup with an error like this:
ImportError: Failure linking new module:
/usr/local/lib/python2.4/site-packages/oof2/SWIG/image/oofimagecmodule.so:
Symbol not found: __ZTIN6Magick9ExceptionE
Your ImageMagick installation is incomplete or
inconsistent. Perhaps you have two versions installed,
and oof2 is using header files from one and linking to
another. Perhaps your ImageMagick library was compiled
with a different C++ compiler than the one you're
currently using.
-
OOF2 crashes on startup with an error like this:
Traceback (most recent call last):
File "[prefix]/bin/oof2", line 38, in
oof.run()
File "[prefix]/lib/python2.6/site-packages/oof2/ooflib/common/oof.py", line 641, in run
front_end(no_interp) # all non-parallel menu items are executed here.
File "[prefix]/lib/python2.6/site-packages/oof2/ooflib/common/oof.py", line 368, in front_end
import ooflib.engine.IO.GUI.initialize
File "[prefix]/lib/python2.6/site-packages/oof2/ooflib/engine/IO/GUI/initialize.py", line 20, in
import ooflib.engine.initialize
File "[prefix]/lib/python2.6/site-packages/oof2/ooflib/engine/initialize.py", line 24, in
import ooflib.SWIG.engine.ooferror2
File "[prefix]/lib/python2.6/site-packages/oof2/ooflib/SWIG/engine/ooferror2.py", line 2, in
import ooferror2c
ImportError: [prefix]/lib/liboof2engine.so: undefined symbol: _ZNK8Property17constant_in_spaceEv
The name of the undefined symbol may differ.
You may have defined the environment
variable LD_BIND_NOW. Try undefining it.
-
My stiffness matrix is not square.
You probably haven't accounted for the third
dimension properly. You need either to specify that
a field is in-plane, or to activate a plane-flux
equation.
-
On OS X, OOF2 crashes as soon as I try to load an image.
The ImageMagick libraries have probably not been built
properly. Use the Console app (in Applications/Utilities)
and look for a report called "Python_[something]" in the
"DIAGNOSTIC AND USAGE INFORMATION" section. If the report
contains something like this:
Thread 3 Crashed:
0 libMagickCore.4.dylib 0x0000000102b5d12c gomp_resolve_num_threads + 28
then you need to rebuild ImageMagick, as described in the
Macintosh OS X
Installation Notes. Alternatively, you can avoid
the problem by running OOF2 with
the --unthreaded option, but this will freeze
the user interface during calculations, prevent the
Activity Viewer window from appearing, and make it
impossible to abort calculations cleanly.
-
The graphics window is empty.
In OOF2 2.2.2 the policy for when to automatically add objects
to the graphics window was changed. The default behavior now
is that nothing is added automatically, so you need to use the
New command in the Layer menu to display anything.
This policy can be changed with the "New Layer Policy" command
in the graphics window's Settings menu. The choices are
- Never Never create new layers automatically
(the default).
- Single Create a new layer if no similar object is
already displayed in the window.
- Always Create a new layer for every new
displayable object.
"Single" is closest to the old behavior.
The default policy for new graphics windows can be set using
the "New Layer Policy" item in the "Settings/Graphics
Defaults" menu in the main OOF2 window.