From: Bruce S. <Bru...@nc...> - 2010-03-06 20:23:27
|
Since opacity seems to be involved, perhaps that machine running Ubuntu 9.04 is running an old version 3.x of Visual, whereas the current version of povexport assumes Visual 5.x. You might try writing a small test program to see whether indeed opacity isn't supported. Bruce Sherwood Danny Caballero wrote: > I've been using povexport (contributed program on vpython.org) on both > Windows and Linux (Ubuntu 9.10) with no problems for quite some time. > Today I tried it on an machine running Ubuntu 9.04 and got this error: > > Gtk-WARNING **: Failed to load module "libcanberra-gtk-module.so": > libcanberra-gtk-module.so: cannot open shared object file: No such > file or directory > Traceback (most recent call last): > File "3D_Spring_export.py", line 100, in <module> > pvex.export(display=scene, filename=prefix+str(num)+ext) > File "/home/danny/pymodules/povexport.py", line 608, in export > object_code = function(obj) > File "/home/danny/pymodules/povexport.py", line 437, in export_arrow > no_reflection=arrow_no_reflection, opacity=a.opacity, visible=0) > AttributeError: 'arrow' object has no attribute 'opacity > > Any ideas what to do to fix this? > > BTW, I am loading povexport from a local directory > (/home/danny/pymodules) as a module which I have done on other Linux > machines. > > Thanks, > Danny > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |