← Back to team overview

yade-dev team mailing list archive

Re: [Bug 922744] [NEW] undefined matrix3 in the export module

 

Should be fixed in r3011.. can anyone test it and prove it?
Jan


Chareyre píše v Pá 27. 01. 2012 v 18:12 +0000:
> Public bug reported:
> 
> Yade [11]: vtk=export.VTKExporter()
> Yade [12]: vtk.exportSpheres(ids="all",what=[('posit','b.state.pos')])
> ---------------------------------------------------------------------------
> NameError                                 Traceback (most recent call last)
> 
> /home/3S-LAB/bchareyre/yade/lib/yade-fresh-mono/py/yade/__init__.pyc in <module>()
> ----> 1 
>       2 
>       3 
>       4 
>       5 
> 
> /home/3S-LAB/bchareyre/yade/lib/yade-fresh-mono/py/yade/export.pyc in exportSpheres(self, ids, what, comment, numLabel)
>     236                 for name,command in what:
>     237                         test = eval(command)
> --> 238                         if isinstance(test,Matrix3):
>     239                                 outFile.write("\nTENSORS %s double\n"%(name))
>     240                                 for b in bodies:
> NameError: global name 'Matrix3' is not defined
> 
> ** Affects: yade
>      Importance: Undecided
>          Status: New
>

-- 
You received this bug notification because you are a member of Yade
developers, which is the registrant for Yade.
https://bugs.launchpad.net/bugs/922744

Title:
  undefined matrix3 in the export module

Status in Yet Another Dynamic Engine:
  New

Bug description:
  Yade [11]: vtk=export.VTKExporter()
  Yade [12]: vtk.exportSpheres(ids="all",what=[('posit','b.state.pos')])
  ---------------------------------------------------------------------------
  NameError                                 Traceback (most recent call last)

  /home/3S-LAB/bchareyre/yade/lib/yade-fresh-mono/py/yade/__init__.pyc in <module>()
  ----> 1 
        2 
        3 
        4 
        5 

  /home/3S-LAB/bchareyre/yade/lib/yade-fresh-mono/py/yade/export.pyc in exportSpheres(self, ids, what, comment, numLabel)
      236                 for name,command in what:
      237                         test = eval(command)
  --> 238                         if isinstance(test,Matrix3):
      239                                 outFile.write("\nTENSORS %s double\n"%(name))
      240                                 for b in bodies:
  NameError: global name 'Matrix3' is not defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/922744/+subscriptions


References