Great! Feel free to ask if there is anything else. :)
Logan
On Sun, Mar 13, 2011 at 10:12 PM, Peter M. Clausen <petermich...@googlemail.com> wrote:
Hi Logan
You've got it right on - was missing tetgen and gmsh.
Now runTest.py and test_install.py pass on Ubuntu 10.10 32-bit. :-)
Thanks.
/Peter
2011/3/14 Logan Sorenson <logan.s...@gmail.com>:
Hi Peter,
Glad you got it figured out. I think the schroedinger code relies on the gmsh package to generate the mesh. Could you check if you have gmsh installed?
Best, Logan
On Sun, Mar 13, 2011 at 8:49 PM, Peter M. Clausen <petermich...@googlemail.com> wrote:
Hi again
OK, my missing package was mayavi2. Now tests run and pass on my Ubuntu 10.04 64-bit machine. But, I'm just preparing my laptop (Ubuntu 10.10, 32-bit) and also installed latest sfepy. Here I get:
clausen@laptop1010:/opt/sfepy/sfepy-release-2011.1_beta/sfepy$ ./schroedinger.py --2d --hydrogen Traceback (most recent call last): File "./schroedinger.py", line 777, in <module> main() File "./schroedinger.py", line 763, in main conf = ProblemConf.from_file( filename_in, required, other ) File "/opt/sfepy/sfepy-release-2011.1_beta/sfepy/sfepy/base/conf.py", line 260, in from_file define_dict = funmod.__dict__"define" File "/opt/sfepy/sfepy-release-2011.1_beta/sfepy/examples/quantum/hydrogen.py", line 21, in define l = common(fun_v, n_eigs=5, tau=-1.0) File "/opt/sfepy/sfepy-release-2011.1_beta/sfepy/examples/quantum/quantum_common.py", line 9, in common prefix_dir=conf_dir).read_dimension() File "/opt/sfepy/sfepy-release-2011.1_beta/sfepy/sfepy/fem/meshio.py", line 520, in read_dimension coors, fd = self.read_coors(ret_fd=True) File "/opt/sfepy/sfepy-release-2011.1_beta/sfepy/sfepy/fem/meshio.py", line 497, in read_coors fd = open( self.filename, 'r' ) IOError: [Errno 2] No such file or directory: '/opt/sfepy/sfepy-release-2011.1_beta/sfepy/tmp/mesh.vtk'
Any hints?
/Peter
2011/3/13 Peter M. Clausen <petermich...@googlemail.com>:
Hi Logan
Yeah, I believe so.
clausen@pmc-server1:/data/opt/sfepy/sfepy-release-2011.1_beta/sfepy$ python examples/standalone/interactive/linear_elasticity.py Traceback (most recent call last): File "examples/standalone/interactive/linear_elasticity.py", line 15, in <module> from sfepy.postprocess import Viewer File "./sfepy/postprocess/__init__.py", line 1, in <module> from viewer import Viewer, ViewerGUI File "./sfepy/postprocess/viewer.py", line 11, in <module> from enthought.tvtk.pyface.scene_editor import SceneEditor ImportError: No module named tvtk.pyface.scene_editor clausen@pmc-server1:/data/opt/sfepy/sfepy-release-2011.1_beta/sfepy$ aptitude search python-traits i A python-traits - Manifest typing and reactive programming f i python-traitsbackendqt - PyQt backend for Traits and TraitsGUI (Pyf i A python-traitsbackendwx - WxPython backend for Traits and TraitsGUI i A python-traitsgui - Traits-capable windowing framework
I'm not using the GUI or interactive mode myself, but I guess other Ubuntu users would get this bug/problem as well.
Best regards
Peter
2011/3/12 Logan Sorenson <logan.s...@gmail.com>:
Hi Peter,
Do you have python-traitsgui and python-traits packages installed? Those are what I need on my debian sid box, so I guess it should be similar for ubuntu.
Greetings, Logan
On Sat, Mar 12, 2011 at 4:07 PM, Robert Cimrman <cimr...@ntc.zcu.cz> wrote:
Well, you should probably install the whole enthought tool suite to run that example. That is what I install.
Its called ets on gentoo...
r.
----- Reply message ----- From: "Peter M. Clausen" <petermich...@googlemail.com> To: <sfepy...@googlegroups.com> Subject: time for 2011.1... Date: Sat, Mar 12, 2011 21:30
Hi
OK, I was missing enthought.traits but now I get:
clausen@pmc-server1:/data/opt/sfepy/sfepy-release-2011.1_beta/sfepy$ python examples/standalone/interactive/linear_elasticity.py Traceback (most recent call last): File "examples/standalone/interactive/linear_elasticity.py", line 12, in <module> from sfepy.postprocess import Viewer File "/data/opt/sfepy/sfepy-release-2010.4/lib/python2.6/site-packages/sfepy/postprocess/__init__.py", line 1, in <module> from viewer import Viewer, ViewerGUI File "/data/opt/sfepy/sfepy-release-2010.4/lib/python2.6/site-packages/sfepy/postprocess/viewer.py", line 8, in <module> from enthought.tvtk.pyface.scene_editor import SceneEditor ImportError: No module named tvtk.pyface.scene_editor
What am I missing?
Cheers
Peter
2011/3/12 osman <os...@fuse.net>: > On Sat, 2011-03-12 at 01:50 -0500, Logan Sorenson wrote: >> Hi All, >> >> I see the same thing over here. Running the linear_elasticity example >> produces: >> >> logan@quantumdot:~/projects/sfepy/sfepy_rc$ python >> examples/standalone/interactive/linear_elasticity.py >> Traceback (most recent call last): >> File "examples/standalone/interactive/linear_elasticity.py", line 5, >> in <module> >> from sfepy.base.base import IndexedStruct >> ImportError: No module named sfepy.base.base >> >> Based on some the other code in examples/standalone, I think the >> linear_elasticity.py needs the following lines: >> >> import sys >> sys.path.append('.') >> >> After that, the test_install.py script finishes. >> >> However, I get a mismatch for the schroedinger hydrogen example: >> >> ./schroedinger.py --2d --hydrogen >> comparing: (8.73e-04% -0.01984415 >> ! ...: False >> >> I'll look more into it and report back. >> >> HTH! >> Logan > > Thanks Logan. That solved the problem on my machine too. > > Osman > > -- > You received this message because you are subscribed to the Google Groups > "sfepy-devel" group. > To post to this group, send email to sfepy...@googlegroups.com. > To unsubscribe from this group, send email to > sfepy-devel...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/sfepy-devel?hl=en. > >
--
-- You received this message because you are subscribed to the Google Groups "sfepy-devel" group. To post to this group, send email to sfepy...@googlegroups.com. To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.
-- You received this message because you are subscribed to the Google Groups "sfepy-devel" group. To post to this group, send email to sfepy...@googlegroups.com. To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.
-- You received this message because you are subscribed to the Google Groups "sfepy-devel" group. To post to this group, send email to sfepy...@googlegroups.com. To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.
-- You received this message because you are subscribed to the Google Groups "sfepy-devel" group. To post to this group, send email to sfepy...@googlegroups.com. To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.
-- You received this message because you are subscribed to the Google Groups "sfepy-devel" group. To post to this group, send email to sfepy...@googlegroups.com. To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.