← Back to team overview

yade-dev team mailing list archive

Re: [Bug 1166161] [NEW] utils.box() vs. box()

 

Hello Christian,
I was not able to reproduce your error.. Is it possible, taht you define
"box" function or variable in your script before this call? In case you
will not solve the problem, please attach a script, where the error is
reproducable.
Thanks
Jan


2013/4/8 Christian Jakob <1166161@xxxxxxxxxxxxxxxxxx>

> Public bug reported:
>
> Hi,
>
> I removed all utils stuff from my scripts, now I got this error:
>
> O.bodies.append(box(vec1,vec2,fixed=True,material=WallMat))
> TypeError: box() takes at most 1 argument (4 given)
>
> Is it a bug?
>
> ... it is working using utils.box() instead of box()
>
> ** Affects: yade
>      Importance: Low
>          Status: New
>
> --
> You received this bug notification because you are a member of Yade
> developers, which is subscribed to Yade.
> https://bugs.launchpad.net/bugs/1166161
>
> Title:
>   utils.box() vs. box()
>
> Status in Yet Another Dynamic Engine:
>   New
>
> Bug description:
>   Hi,
>
>   I removed all utils stuff from my scripts, now I got this error:
>
>   O.bodies.append(box(vec1,vec2,fixed=True,material=WallMat))
>   TypeError: box() takes at most 1 argument (4 given)
>
>   Is it a bug?
>
>   ... it is working using utils.box() instead of box()
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/yade/+bug/1166161/+subscriptions
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev
> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev
> More help   : https://help.launchpad.net/ListHelp
>

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1166161

Title:
  utils.box() vs. box()

Status in Yet Another Dynamic Engine:
  New

Bug description:
  Hi,

  I removed all utils stuff from my scripts, now I got this error:

  O.bodies.append(box(vec1,vec2,fixed=True,material=WallMat))
  TypeError: box() takes at most 1 argument (4 given)

  Is it a bug?

  ... it is working using utils.box() instead of box()

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


References