#20 signature missing in 2.0alpha8.

Bug
closed-works-for-me
nobody
None
5
2009-08-17
2009-06-24
Anonymous
No

the code :

from cgkit import cgtypes
cgtypes.vec3(0,0,0)

was working in the may version of 2.0alpha8
now, it return an error :

In [2]: cgtypes.vec3(0,0,0)
---------------------------------------------------------------------------
ArgumentError Traceback (most recent call last)

/home/lionel/gamr7/trunk/code/app/parcel_editor/<ipython console> in <module>()

/usr/lib/python2.5/site-packages/cgkit/cgtypes.pyc in __init__(self, *args)
110 else:
111 # everything else that is not just one argument...
--> 112 _core.vec3.__init__(self, *args)
113
114 # vec4

ArgumentError: Python argument types in
vec3.__init__(vec3, int, int, int)
did not match C++ signature:
__init__(_object*, support3d::vec3<double>)
__init__(_object*, double, double, double)
__init__(_object*, double, double)
__init__(_object*, double)
__init__(_object*)

Discussion

  • Matthias Baas
    Matthias Baas
    2009-07-12

    I can't reproduce this. What's your environment? In particular, what version of Boost are you using? Did you change anything on your system since it was last working?

    - Matthias -

     
  • ubuntu 9.04. libboost 1.35dev
    just installed a new box. It was working with the same box in ubuntu 8.10 (upgraded to 9.04).
    When I reinstall directly the 9.04( after a crash), this bug appear.

     
  • Matthias Baas
    Matthias Baas
    2009-08-02

    • status: open --> pending-works-for-me
     
  • Matthias Baas
    Matthias Baas
    2009-08-02

    Can you try using a more recent version of Boost? As I can't reproduce the problem here, there's little I can do at the moment. But it rather looks like a Boost problem and not really a bug in cgkit.

    Maybe it would be a good idea to post the problem into the mailing list as there are other people who are running Ubuntu (there has been a seemingly system-related problem on Ubuntu 8.10 as well which didn't seem to happen on any other operating system/distribution. Maybe this is something similar).

    - Matthias -

     
    • status: pending-works-for-me --> closed-works-for-me
     
  • This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).