[Yade-dev] [Bug 1031703] Re: "extra" value for bodies

2012-08-01 Thread Christian Jakob
For further explanation (my first ideas): We could first make an easy-to-implement feature, later it could be extended. Lets say we just want to let extra variable be int or float. Also for the start, there is only one extra value allowed for one body (as said, later we can extend if needed)...

[Yade-dev] [Bug 1019349] Re: RuntimeWarning: to-Python converter for boost::shared_ptr already registered; second conversion method ignored.

2012-08-01 Thread Christian Jakob
I have the same message on my Debian Wheezy (on Squeeze message does not occur). -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1019349 Title: RuntimeWarning: to-Python converter for boost::share

Re: [Yade-dev] [Bug 1019349] Re: RuntimeWarning: to-Python converter for boost::shared_ptr already registered; second conversion method ignored.

2012-08-01 Thread Klaus Thoeni
I get the same warning on startup on Ubuntu 11.04: /home/thoeni/YADE- git/install/lib/yade-2012-06-28.git-0a7b127/py/yade/__init__.py:14: RuntimeWarning: to-Python converter for boost::shared_ptr already registered; second conversion method ignored. But everything is working fine, it is harmles

[Yade-dev] [Bug 1019349] Re: RuntimeWarning: to-Python converter for boost::shared_ptr already registered; second conversion method ignored.

2012-08-01 Thread Anton Gladky
Hi Bruno, please, confirm the bug or close it. Thank you. Anton -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1019349 Title: RuntimeWarning: to-Python converter for boost::shared_ptr already

[Yade-dev] [Bug 1031644] Re: erase clumpmembers leads to segfault, when clump was not erased

2012-08-01 Thread Anton Gladky
Thanks for pointing that out. Should be fixed in 2a07ca630b Anton ** Changed in: yade Importance: Undecided => High ** Changed in: yade Status: New => Fix Released -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://

[Yade-dev] [yade/trunk] 2a07ca: Remove clumps, if no bodies are present there. Fix...

2012-08-01 Thread Anton Gladky
Branch: refs/heads/master Home: https://github.com/yade/trunk Commit: 2a07ca630b65a13913faf2a1e32fbc13518debf0 https://github.com/yade/trunk/commit/2a07ca630b65a13913faf2a1e32fbc13518debf0 Author: Anton Gladky Date: 2012-08-01 (Wed, 01 Aug 2012) Changed paths: M core/Bo

[Yade-dev] [Bug 1031752] [NEW] Buildbot not generating latex equations

2012-08-01 Thread Chareyre
Public bug reported: Latex equations are not converted into images in the buildbot built. Mostly a reminder for Remi. It maybe only needs to install a few latex packages. Or does anyone know the reason? ** Affects: yade Importance: Undecided Status: New -- You received this bug no

Re: [Yade-dev] [Bug 1031703] [NEW] "extra" value for bodies

2012-08-01 Thread Jan Stránský
Ok, if you want to make it serializable with O.save, than it should be in c++ :-) but I am not sure about an easy way how to implement such flexible member.. one possibility would be to store it as string and in python set it with repr and get it with eval function. Jan ___

Re: [Yade-dev] [Bug 1031703] [NEW] "extra" value for bodies

2012-08-01 Thread Christian Jakob
Zitat von Jan Stránský : Hello Christian, sorry if I misunderstood your question, but would you like to achieve this? Yade [1]: b = utils.sphere((1,1,1),1) Yade [2]: O.bodies.append(b) -> [2]: 0 Yade [3]: b.extra = 4 Yade [4]: b.extra -> [4]: 4 Yade [5]: b.extra = Vector3(1,2,3) Yade

Re: [Yade-dev] [Bug 1031703] [NEW] "extra" value for bodies

2012-08-01 Thread Jan Stránský
Hello Christian, sorry if I misunderstood your question, but would you like to achieve this? Yade [1]: b = utils.sphere((1,1,1),1) Yade [2]: O.bodies.append(b) -> [2]: 0 Yade [3]: b.extra = 4 Yade [4]: b.extra -> [4]: 4 Yade [5]: b.extra = Vector3(1,2,3) Yade [6]: b.extra -> [6]: Vect

[Yade-dev] [Bug 1031703] [NEW] "extra" value for bodies

2012-08-01 Thread Christian Jakob
Public bug reported: Hi, It would be very helpful, if there would be an "extra" value for every body. This value can be set by the user. It must be a very fexible value (bool, int, float, vector, array, etc.). Example: I create a clump, which consists of two hardly overlapping spheres and somet

[Yade-dev] [Bug 1031644] Re: erase clumpmembers leads to segfault, when clump was not erased

2012-08-01 Thread Christian Jakob
To fix it uncomment line 53 ... -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1031644 Title: erase clumpmembers leads to segfault, when clump was not erased Status in Yet Another Dynamic Engine:

[Yade-dev] [Bug 1031644] Re: erase clumpmembers leads to segfault, when clump was not erased

2012-08-01 Thread Christian Jakob
** Attachment added: "script to reproduce bug" https://bugs.launchpad.net/bugs/1031644/+attachment/3244426/+files/erase-clumpmembers-bug.py -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1031644

[Yade-dev] [Bug 1031644] [NEW] erase clumpmembers leads to segfault, when clump was not erased

2012-08-01 Thread Christian Jakob
Public bug reported: When clump members are erased, but clump still exists, a segmentation fault occurs (see attachment). ** Affects: yade Importance: Undecided Status: New -- You received this bug notification because you are a member of Yade developers, which is subscribed to Ya