Constructing Mayavi2 sfs

Booting, installing, newbie
Post Reply
Message
Author
edmont
Posts: 51
Joined: Mon 19 Nov 2012, 07:30

Constructing Mayavi2 sfs

#1 Post by edmont »

I've installed the PaDS 1.0.4 deb , pet , xyz to sfs converter
and have successfully used this to make a boa-constructor sfs .
To do so I selected all of the required files manually .

I'm now attempting to do this with the mayavi2 files , the steps I've taken so far :

1. Use puppy package manager to select mayavi , there's only
one file by this name.
2. Check for all dependencies.
3. Download only.
4. Create a folder , in the root directory , to hold all of the files.
5. Move all of the relevant mayavi files from the root directory
to the newly created folder.
6. Right click on the new folder and select , create sfs.
7. The sfs with the new folder name is created .
8. Move the new sfs to /mnt/home
9. From menu , system , BootManager Configure bootup ,
add the newly made sfs .
10. Reboot .
11. Look for Mayavi in the menu , possibly under utility.

That's what I did , however the new sfs doesn't install correctly and I'm left with files , from the sfs , in the base directory '/' .

What might be at fault.

1. I haven't allocated enough personal space on the USB stick ; 1GB at present.
2. The automatic addition of files to the sfs may be flawed.
3. There are hidden dependencies for Mayavi.

The boa-constructor sfs file loads and installs without flaw; I
unloaded this prior to attempting to make the mayavi sfs , the
devx file is still loaded.

User avatar
LazY Puppy
Posts: 1934
Joined: Fri 21 Nov 2014, 18:14
Location: Germany

#2 Post by LazY Puppy »

Hi.

I'm the creator of PaDS.

PaDS can NOT create .sfs from files placed in a directory at /root !!!

You need to place the directory containing the downloaded mayavi .deb files somewhere else, but NOT in /root.

Also you'll need to do a right-click and choose: Combine (or merge?) to SFS.
RSH

"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:

No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:

edmont
Posts: 51
Joined: Mon 19 Nov 2012, 07:30

root location

#3 Post by edmont »

By root I mean the home directory , where the MyDocuments folder resides ; this is where I made the Boa Constructor sfs.

I shall be extra careful though and attempt the whole procedure again and let you know how I do.

Perhaps I need to test mayavi2 , by installing it and running from the menu entry. Then remove this and all dependencies prior to
even considering a construction of a sfs file.

User avatar
LazY Puppy
Posts: 1934
Joined: Fri 21 Nov 2014, 18:14
Location: Germany

#4 Post by LazY Puppy »

I found mayavi2 being a python application and it seems to be the usual problem with python modules not being found. It complains a missing module VTK (import error) in tahr puppy.

Python sucks - especially in Puppy Linux.
RSH

"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:

No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:

edmont
Posts: 51
Joined: Mon 19 Nov 2012, 07:30

PP571 woes

#5 Post by edmont »

In puppy 5.7.1 there are difficulties with libblas and liblapack and
sip-abi9.

Makes me wonder if anyone ever got mayavi2 to function in PP5.7.1.

edmont
Posts: 51
Joined: Mon 19 Nov 2012, 07:30

mayavi2 sfs , tahrpup

#6 Post by edmont »

I have found that mayavi2 does install and run in tahrpup .

I was able to construct a sfs file after downloading and combining all of the
dependencies into one file , using PaDS.

I was then able to load the resultant sfs file at startup and have mayavi2
available and functioning.
However the start up installation left all of the associated deb files in the
base directory '/' , where usr,bin .. are.

Maybe when I was combining the files via PaDS I didn't have enough space available to decompress the files ; I'm using a 4GB USB stick.

User avatar
LazY Puppy
Posts: 1934
Joined: Fri 21 Nov 2014, 18:14
Location: Germany

#7 Post by LazY Puppy »

What version of Tahr Puppy did you use?

How did you solve the problem of the missing VTk module?

I'd tested this in Tahr Puppy 6.0.2 and it has had complained about this VTk module for Python.
RSH

"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:

No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:

edmont
Posts: 51
Joined: Mon 19 Nov 2012, 07:30

Constructing Mayavi2 sfs

#8 Post by edmont »

This is the version of tahrpup that I presently have
installed and that I used with PaDS 1.0.4

Welcome to tahrpup version 6.0.2, released Feb 2015

(original 6.0 iso with service packs)

The Mayavi2 panels appear upon clicking upon the py script at
/usr/bin ; you may need to wait awhile.
I have yet to run a python script that imports the maya module
and produces a 3D scene ; to do so I may require the python-vtk
module that you've mentioned.

.

edmont
Posts: 51
Joined: Mon 19 Nov 2012, 07:30

constructing mayavi2 sfs

#9 Post by edmont »

Using PaDS 1.04 in manual mode and selecting a
working directory other than /root ; I was able to
generate a functioning mayavi2 sfs file.
This file successfully loads at start up and doesn't
leave any *.deb files in the ./ directory nor anywhere
else ; as far as I can tell.

I wrote a python script , based upon an example at
the mayavi documentation's website, this ran without
any faults arising.

So , is there anywhere that I might upload these files ,
for other tahrpup 6.0.2 users .

edmont
Posts: 51
Joined: Mon 19 Nov 2012, 07:30

mayavi sfs

#10 Post by edmont »

After creating a new directory , in ~ , called DxSfs ; and
placing another directory in DxSfs that contained all of
the files downloaded for mayavi via ppm.
I used the automatic feature of PaDS 1.0.4 , via mouse right
click , to construct a sfs file.

This file appeared in ~ directory, I then moved this to
/mnt/home ; set it to load at start up and rebooted.
The mayavi sfs loaded successfully , didn't leave any *.deb
files in / , or anywhere else , and I was able to run , to completion , the mesh3d.py
script that I'd written.

This is a quicker way of constructing a sfs file .

edmont
Posts: 51
Joined: Mon 19 Nov 2012, 07:30

mayavi2

#11 Post by edmont »

I thought that this wasn't going to be an
issue.
I've found it to be necessary to install python-vtk5.8.x , via ppm ,
prior to loading the mayavi2 sfs file ; even after I
included all of the python-vtk 5.8 .x files into the
mayavi2 sfs file.

Maybe a separate sfs , constructed from the
python-vtk 5.8 .x files will resolve this.

In the meantime I now have mayavi2 and boa-constructor
sfs files loading correctly and providing all of the features
for basic use. This is more than what I was able to accomplish
by just using the ppm .

A note on boa-constructor generated scripts , there's a necessity
of using the wxversion module to ensure that a select range of
wx 's are used.

Post Reply