LSMGenGeo HexAggregateInsertGenerator3D problem

Bug #519267 reported by Anton Gladky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ESyS-Particle
Fix Released
Medium
Unassigned
Gengeo-1.0
Fix Released
Undecided
Unassigned

Bug Description

When I try to use HexAggregateInsertGenerator3D, I get a next problem:
Traceback (most recent call last):
  File "makeGeometry.py", line 95, in <module>
    makeSample()
  File "makeGeometry.py", line 72, in makeSample
    tag = 12345
Boost.Python.ArgumentError: Python argument types in
    HexAggregateInsertGenerator3D.generatePacking(HexAggregateInsertGenerator3D)
did not match C++ signature:
    generatePacking(HexAggregateInsertGenerator3D {lvalue}, AVolume3D*, MNTable3D* volume, int ntable, int groupID, ShapeList* tag)

Revision history for this message
Anton Gladky (gladky-anton) wrote :
Revision history for this message
Anton Gladky (gladky-anton) wrote :

Please, check an attached diff. It still does not work, but does not give an error though. Hope it will give an idea how to fix it.

Revision history for this message
Will (will-hancock) wrote :

Hi Anton,

InsertGenerator3D has a couple of different overloads done at the boost layer. Unfortunately the HexAggregateInsertGenerator3D python interface wasn't kept up to date with these so your error came about from trying to call the wrong InsertGenerator3D method.

I've updated the SVN repo, your script should be working now.

Cheers,
Will

Revision history for this message
Anton Gladky (gladky-anton) wrote :

Thank you!

Works now.

Changed in esys-particle:
importance: Undecided → Medium
status: New → Fix Committed
Vince Boros (v-boros)
Changed in esys-particle:
milestone: none → gengeo-1.0-release
Vince Boros (v-boros)
Changed in esys-particle:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.