PyPlasm worked in the Online Lab with WebGL

50 views
Skip to first unread message

Pavel Solin

unread,
Jun 7, 2011, 3:53:07 AM6/7/11
to fem...@googlegroups.com, Mateusz Paprocki, Aayush
I was able to visualize a cuboid in the browser locally,
see the attached screenshots. But the PyPlasm visualization
window disappears when I click outside of it in the Online Lab
window, and then the worksheet freezes.

Mateusz, can you add the pyplasm package to the 
production version of the Online Lab.

Pavel

On Tue, Jun 7, 2011 at 3:36 AM, Pavel Solin <so...@unr.edu> wrote:
Aayush,
  now pyplasm imports for me, but it is located in python2.6/site-packages
Is this the version for Python 2.7? Why is it in python2.6/site-packages ?

pavel@verca:~/repos/femhub(master)$ femhub
----------------------------------------------------------------------
| FEMhub Version 0.9.10.beta1, Release Date: November 21, 2010       |
| Type lab() for the GUI.                                            |
----------------------------------------------------------------------
In [1]: from pyplasm import *
Evaluating fenvs.py..
/home/pavel/repos/femhub/local/lib/python2.6/site-packages/pyplasm/fenvs.py
Initializing FreeImage library
...fenvs.py imported in 0.79 seconds


On Tue, Jun 7, 2011 at 2:45 AM, Aayush Poudel <aayush...@gmail.com> wrote:
On Mon, Jun 6, 2011 at 1:42 PM, Pavel Solin <so...@unr.edu> wrote:


On Mon, Jun 6, 2011 at 12:57 PM, Aayush Poudel <aayush...@gmail.com> wrote:
Hi Pavel,

I have created spkg of pyplasm
it builts without error inside femhub my laptop, but gives some error while importing it in python in femhub.
Could you please test it and post the errors you get if it failed to build. I wand to make sure spkg is created correctly

you need to install the following package in femhub

http://femhub.org/others/pyplasm.spkg

I installed these packages. With the last one, look at the message at the end:

pavel@verca:~/repos/femhub(master)$ femhub -i http://femhub.org/others/pyplasm.spkg
--2011-06-06 16:36:04--  http://femhub.org/others/pyplasm.spkg
Resolving femhub.org... 134.197.117.197
Connecting to femhub.org|134.197.117.197|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 89069381 (85M) [text/plain]
Saving to: `/tmp/tmpRsX6Aj/pyplasm.spkg'

100%[============================================================================================>] 89,069,381   531K/s   in 2m 55s  

2011-06-06 16:39:00 (497 KB/s) - `/tmp/tmpRsX6Aj/pyplasm.spkg' saved [89069381/89069381]

Package '' is already installed

Could you please try it like 

$ femhub -f -i package_name
 

When I try to import pyplasm, I get the following error:

 pavel@verca:~/repos/femhub(master)$ femhub
----------------------------------------------------------------------
| FEMhub Version 0.9.10.beta1, Release Date: November 21, 2010       |
| Type lab() for the GUI.                                            |
----------------------------------------------------------------------
In [1]: from pyplasm import *
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)

/home/pavel/repos/femhub/<ipython console> in <module>()

ImportError: No module named pyplasm



Thanks,
Aayush Poudel
http://www.aayushpoudel.info


--
You received this message because you are subscribed to the Google Groups "femhub" group.
To post to this group, send email to fem...@googlegroups.com.
To unsubscribe from this group, send email to femhub+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/femhub?hl=en.



--
Pavel Solin
University of Nevada, Reno
Home page: http://hpfem.org/~pavel
FEMTEC 2011: http://hpfem.org/events/femtec-2011/
Hermes: http://hpfem.org/
FEMhub: http://femhub.org/

--
You received this message because you are subscribed to the Google Groups "femhub" group.
To post to this group, send email to fem...@googlegroups.com.
To unsubscribe from this group, send email to femhub+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/femhub?hl=en.

--
You received this message because you are subscribed to the Google Groups "femhub" group.
To post to this group, send email to fem...@googlegroups.com.
To unsubscribe from this group, send email to femhub+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/femhub?hl=en.



--
Pavel Solin
University of Nevada, Reno
Home page: http://hpfem.org/~pavel
FEMTEC 2011: http://hpfem.org/events/femtec-2011/
Hermes: http://hpfem.org/
FEMhub: http://femhub.org/



--
Pavel Solin
University of Nevada, Reno
Home page: http://hpfem.org/~pavel
FEMTEC 2011: http://hpfem.org/events/femtec-2011/
Hermes: http://hpfem.org/
FEMhub: http://femhub.org/
Screenshot-223.png
Screenshot-224.png
Reply all
Reply to author
Forward
0 new messages