error with example hanoi

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

error with example hanoi

jay75
This post was updated on .
at terminal i type:

openrave-config --python-dir

i get:

/usr/local/lib/python2.6/site-packages

then i type:

export PYTHONPATH=$PYTHONPATH:`openrave-config --python-dir`

then i type:

openrave.py --example hanoi

i get the following error:

openravepy is not set into PYTHONPATH env variable, attempting to add
Traceback (most recent call last):
  File "/usr/local/bin/openrave.py", line 49, in <module>
    import openravepy
  File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line 33, in <module>
    openravepy_currentversion = loadstable(__openravepy_version__)
  File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line 14, in loadstable
    return _loadversion('_openravepy_'+ver.replace('.', '_'))
  File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line 19, in _loadversion
    mainpackage = __import__("openravepy", globals(), locals(), [targetname])
  File "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/__init__.py", line 40, in <module>
    import databases
  File "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/databases/__init__.py", line 261, in <module>
    import linkstatistics
  File "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/databases/linkstatistics.py", line 72, in <module>
    from .. import pyANN
  File "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/pyANN.py", line 16, in <module>
    from pyANN_int import *
ImportError: /usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/pyANN_int.so: undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l
Floating point exception

when i go to
/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/examples

and type:

python hanoi.py

i get the error:

Traceback (most recent call last):
  File "hanoi.py", line 34, in <module>
    import openravepy
  File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line 35, in <module>
    openravepy_currentversion = loadlatest()
  File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line 16, in loadlatest
    return _loadversion('_openravepy_')
  File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line 19, in _loadversion
    mainpackage = __import__("openravepy", globals(), locals(), [targetname])
  File "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/__init__.py", line 40, in <module>
    import databases
  File "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/__init__.py", line 260, in <module>
    import convexdecomposition
  File "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/convexdecomposition.py", line 78, in <module>
    from .. import convexdecompositionpy
ImportError: /usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/convexdecompositionpy.so: undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l
Floating point exception


when i start python and type "import openravepy" i get:
Python 2.6.6 (r266:84292, Jun  3 2011, 19:25:29)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import openravepy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line 35, in <module>
    openravepy_currentversion = loadlatest()
  File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line 16, in loadlatest
    return _loadversion('_openravepy_')
  File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line 19, in _loadversion
    mainpackage = __import__("openravepy", globals(), locals(), [targetname])
  File "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/__init__.py", line 40, in <module>
    import databases
  File "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/__init__.py", line 260, in <module>
    import convexdecomposition
  File "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/convexdecomposition.py", line 78, in <module>
    from .. import convexdecompositionpy
ImportError: /usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/convexdecompositionpy.so: undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l

there is no openravepy_int.pyd in /usr/local/lib/python2.6/site-packages/openravepy/
when i do:
import openravepy_int
i have to  ^C out.

my pythonpath looks like:
export PYTHONPATH=$PYTHONPATH:`openrave-config --python-dir`
source `openrave-config --share-dir`/openravebash

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: trying to run example hanoi

Rosen Diankov
Administrator
it
looks like you are still getting boost assert messages

/usr/local/lib/python2.6/site-
packages/openravepy/_openravepy_/convexdecompositionpy.so:
undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l
Floating point exception


my recommendation is to downgrade your linux. you are using a really
new version of boost and openrave cannot handle that yet


2013/2/14 jay75 <[hidden email]>:

> at terminal i type:
>
> openrave-config --python-dir
>
> i get:
>
> /usr/local/lib/python2.6/site-packages
>
> then i type:
>
> export PYTHONPATH=$PYTHONPATH:`openrave-config --python-dir`
>
> then i type:
>
> openrave.py --example hanoi
>
> i get:
>
> openravepy is not set into PYTHONPATH env variable, attempting to add
> Traceback (most recent call last):
>   File "/usr/local/bin/openrave.py", line 49, in <module>
>     import openravepy
>   File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
> 33, in <module>
>     openravepy_currentversion = loadstable(__openravepy_version__)
>   File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
> 14, in loadstable
>     return _loadversion('_openravepy_'+ver.replace('.', '_'))
>   File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
> 19, in _loadversion
>     mainpackage = __import__("openravepy", globals(), locals(),
> [targetname])
>   File
> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/__init__.py",
> line 40, in <module>
>     import databases
>   File
> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/databases/__init__.py",
> line 261, in <module>
>     import linkstatistics
>   File
> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/databases/linkstatistics.py",
> line 72, in <module>
>     from .. import pyANN
>   File
> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/pyANN.py",
> line 16, in <module>
>     from pyANN_int import *
> ImportError:
> /usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/pyANN_int.so:
> undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l
> Floating point exception
>
> when i go to
> /usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/examples
>
> and type:
>
> python hanoi.py
>
> i get:
>
> Traceback (most recent call last):
>   File "hanoi.py", line 34, in <module>
>     import openravepy
>   File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
> 35, in <module>
>     openravepy_currentversion = loadlatest()
>   File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
> 16, in loadlatest
>     return _loadversion('_openravepy_')
>   File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
> 19, in _loadversion
>     mainpackage = __import__("openravepy", globals(), locals(),
> [targetname])
>   File
> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/__init__.py",
> line 40, in <module>
>     import databases
>   File
> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/__init__.py",
> line 260, in <module>
>     import convexdecomposition
>   File
> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/convexdecomposition.py",
> line 78, in <module>
>     from .. import convexdecompositionpy
> ImportError:
> /usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/convexdecompositionpy.so:
> undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l
> Floating point exception
>
>
> when i start python and type "import openravepy" i get:
> Python 2.6.6 (r266:84292, Jun  3 2011, 19:25:29)
> [GCC 4.5.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import openravepy
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
> 35, in <module>
>     openravepy_currentversion = loadlatest()
>   File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
> 16, in loadlatest
>     return _loadversion('_openravepy_')
>   File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
> 19, in _loadversion
>     mainpackage = __import__("openravepy", globals(), locals(),
> [targetname])
>   File
> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/__init__.py",
> line 40, in <module>
>     import databases
>   File
> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/__init__.py",
> line 260, in <module>
>     import convexdecomposition
>   File
> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/convexdecomposition.py",
> line 78, in <module>
>     from .. import convexdecompositionpy
> ImportError:
> /usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/convexdecompositionpy.so:
> undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l
>
> there is no openravepy_int.pyd in
> /usr/local/lib/python2.6/site-packages/openravepy/
> when i do:
> import openravepy_int
> i have to  ^C out.
>
> my pythonpath looks like:
> export GTK2_RC_FILES=$HOME/.gtkrc-2.0
> export PYTHONPATH=$PYTHONPATH:`openrave-config --python-dir`
> source `openrave-config --share-dir`/openravebash
>
>
>
>
>
> --
> View this message in context: http://openrave-users-list.185357.n3.nabble.com/trying-to-run-example-hanoi-tp4026030.html
> Sent from the OpenRAVE Users List mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> _______________________________________________
> Openrave-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/openrave-users

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Openrave-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openrave-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: trying to run example hanoi

Bahram Maleki-Fard
Is there any update on this?

It seems that there is just a compiler flag missing, but I can't figure
out which one.
Downgrading the machine is unfortunately an absolute no-go right now for us.

Thanks,
Bahram

On 15.02.2013 06:41, Rosen Diankov wrote:

> it
> looks like you are still getting boost assert messages
>
> /usr/local/lib/python2.6/site-
> packages/openravepy/_openravepy_/convexdecompositionpy.so:
> undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l
> Floating point exception
>
>
> my recommendation is to downgrade your linux. you are using a really
> new version of boost and openrave cannot handle that yet
>
>
> 2013/2/14 jay75 <[hidden email]>:
>> at terminal i type:
>>
>> openrave-config --python-dir
>>
>> i get:
>>
>> /usr/local/lib/python2.6/site-packages
>>
>> then i type:
>>
>> export PYTHONPATH=$PYTHONPATH:`openrave-config --python-dir`
>>
>> then i type:
>>
>> openrave.py --example hanoi
>>
>> i get:
>>
>> openravepy is not set into PYTHONPATH env variable, attempting to add
>> Traceback (most recent call last):
>>    File "/usr/local/bin/openrave.py", line 49, in <module>
>>      import openravepy
>>    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>> 33, in <module>
>>      openravepy_currentversion = loadstable(__openravepy_version__)
>>    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>> 14, in loadstable
>>      return _loadversion('_openravepy_'+ver.replace('.', '_'))
>>    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>> 19, in _loadversion
>>      mainpackage = __import__("openravepy", globals(), locals(),
>> [targetname])
>>    File
>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/__init__.py",
>> line 40, in <module>
>>      import databases
>>    File
>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/databases/__init__.py",
>> line 261, in <module>
>>      import linkstatistics
>>    File
>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/databases/linkstatistics.py",
>> line 72, in <module>
>>      from .. import pyANN
>>    File
>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/pyANN.py",
>> line 16, in <module>
>>      from pyANN_int import *
>> ImportError:
>> /usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/pyANN_int.so:
>> undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l
>> Floating point exception
>>
>> when i go to
>> /usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/examples
>>
>> and type:
>>
>> python hanoi.py
>>
>> i get:
>>
>> Traceback (most recent call last):
>>    File "hanoi.py", line 34, in <module>
>>      import openravepy
>>    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>> 35, in <module>
>>      openravepy_currentversion = loadlatest()
>>    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>> 16, in loadlatest
>>      return _loadversion('_openravepy_')
>>    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>> 19, in _loadversion
>>      mainpackage = __import__("openravepy", globals(), locals(),
>> [targetname])
>>    File
>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/__init__.py",
>> line 40, in <module>
>>      import databases
>>    File
>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/__init__.py",
>> line 260, in <module>
>>      import convexdecomposition
>>    File
>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/convexdecomposition.py",
>> line 78, in <module>
>>      from .. import convexdecompositionpy
>> ImportError:
>> /usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/convexdecompositionpy.so:
>> undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l
>> Floating point exception
>>
>>
>> when i start python and type "import openravepy" i get:
>> Python 2.6.6 (r266:84292, Jun  3 2011, 19:25:29)
>> [GCC 4.5.2] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>>>>> import openravepy
>> Traceback (most recent call last):
>>    File "<stdin>", line 1, in <module>
>>    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>> 35, in <module>
>>      openravepy_currentversion = loadlatest()
>>    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>> 16, in loadlatest
>>      return _loadversion('_openravepy_')
>>    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>> 19, in _loadversion
>>      mainpackage = __import__("openravepy", globals(), locals(),
>> [targetname])
>>    File
>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/__init__.py",
>> line 40, in <module>
>>      import databases
>>    File
>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/__init__.py",
>> line 260, in <module>
>>      import convexdecomposition
>>    File
>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/convexdecomposition.py",
>> line 78, in <module>
>>      from .. import convexdecompositionpy
>> ImportError:
>> /usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/convexdecompositionpy.so:
>> undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l
>>
>> there is no openravepy_int.pyd in
>> /usr/local/lib/python2.6/site-packages/openravepy/
>> when i do:
>> import openravepy_int
>> i have to  ^C out.
>>
>> my pythonpath looks like:
>> export GTK2_RC_FILES=$HOME/.gtkrc-2.0
>> export PYTHONPATH=$PYTHONPATH:`openrave-config --python-dir`
>> source `openrave-config --share-dir`/openravebash
>>
>>
>>
>>
>>
>> --
>> View this message in context: http://openrave-users-list.185357.n3.nabble.com/trying-to-run-example-hanoi-tp4026030.html
>> Sent from the OpenRAVE Users List mailing list archive at Nabble.com.
>>
>> ------------------------------------------------------------------------------
>> Free Next-Gen Firewall Hardware Offer
>> Buy your Sophos next-gen firewall before the end March 2013
>> and get the hardware for free! Learn more.
>> http://p.sf.net/sfu/sophos-d2d-feb
>> _______________________________________________
>> Openrave-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/openrave-users
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> _______________________________________________
> Openrave-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/openrave-users


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Openrave-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openrave-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: trying to run example hanoi

Rosen Diankov
Administrator
actually this problem should be fixed in the master and latest_stable
branches in git

2013/6/25 Bahram Maleki-Fard <[hidden email]>:

> Is there any update on this?
>
> It seems that there is just a compiler flag missing, but I can't figure
> out which one.
> Downgrading the machine is unfortunately an absolute no-go right now for us.
>
> Thanks,
> Bahram
>
> On 15.02.2013 06:41, Rosen Diankov wrote:
>> it
>> looks like you are still getting boost assert messages
>>
>> /usr/local/lib/python2.6/site-
>> packages/openravepy/_openravepy_/convexdecompositionpy.so:
>> undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l
>> Floating point exception
>>
>>
>> my recommendation is to downgrade your linux. you are using a really
>> new version of boost and openrave cannot handle that yet
>>
>>
>> 2013/2/14 jay75 <[hidden email]>:
>>> at terminal i type:
>>>
>>> openrave-config --python-dir
>>>
>>> i get:
>>>
>>> /usr/local/lib/python2.6/site-packages
>>>
>>> then i type:
>>>
>>> export PYTHONPATH=$PYTHONPATH:`openrave-config --python-dir`
>>>
>>> then i type:
>>>
>>> openrave.py --example hanoi
>>>
>>> i get:
>>>
>>> openravepy is not set into PYTHONPATH env variable, attempting to add
>>> Traceback (most recent call last):
>>>    File "/usr/local/bin/openrave.py", line 49, in <module>
>>>      import openravepy
>>>    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>> 33, in <module>
>>>      openravepy_currentversion = loadstable(__openravepy_version__)
>>>    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>> 14, in loadstable
>>>      return _loadversion('_openravepy_'+ver.replace('.', '_'))
>>>    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>> 19, in _loadversion
>>>      mainpackage = __import__("openravepy", globals(), locals(),
>>> [targetname])
>>>    File
>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/__init__.py",
>>> line 40, in <module>
>>>      import databases
>>>    File
>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/databases/__init__.py",
>>> line 261, in <module>
>>>      import linkstatistics
>>>    File
>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/databases/linkstatistics.py",
>>> line 72, in <module>
>>>      from .. import pyANN
>>>    File
>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/pyANN.py",
>>> line 16, in <module>
>>>      from pyANN_int import *
>>> ImportError:
>>> /usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/pyANN_int.so:
>>> undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l
>>> Floating point exception
>>>
>>> when i go to
>>> /usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/examples
>>>
>>> and type:
>>>
>>> python hanoi.py
>>>
>>> i get:
>>>
>>> Traceback (most recent call last):
>>>    File "hanoi.py", line 34, in <module>
>>>      import openravepy
>>>    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>> 35, in <module>
>>>      openravepy_currentversion = loadlatest()
>>>    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>> 16, in loadlatest
>>>      return _loadversion('_openravepy_')
>>>    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>> 19, in _loadversion
>>>      mainpackage = __import__("openravepy", globals(), locals(),
>>> [targetname])
>>>    File
>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/__init__.py",
>>> line 40, in <module>
>>>      import databases
>>>    File
>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/__init__.py",
>>> line 260, in <module>
>>>      import convexdecomposition
>>>    File
>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/convexdecomposition.py",
>>> line 78, in <module>
>>>      from .. import convexdecompositionpy
>>> ImportError:
>>> /usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/convexdecompositionpy.so:
>>> undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l
>>> Floating point exception
>>>
>>>
>>> when i start python and type "import openravepy" i get:
>>> Python 2.6.6 (r266:84292, Jun  3 2011, 19:25:29)
>>> [GCC 4.5.2] on linux2
>>> Type "help", "copyright", "credits" or "license" for more information.
>>>>>> import openravepy
>>> Traceback (most recent call last):
>>>    File "<stdin>", line 1, in <module>
>>>    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>> 35, in <module>
>>>      openravepy_currentversion = loadlatest()
>>>    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>> 16, in loadlatest
>>>      return _loadversion('_openravepy_')
>>>    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>> 19, in _loadversion
>>>      mainpackage = __import__("openravepy", globals(), locals(),
>>> [targetname])
>>>    File
>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/__init__.py",
>>> line 40, in <module>
>>>      import databases
>>>    File
>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/__init__.py",
>>> line 260, in <module>
>>>      import convexdecomposition
>>>    File
>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/convexdecomposition.py",
>>> line 78, in <module>
>>>      from .. import convexdecompositionpy
>>> ImportError:
>>> /usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/convexdecompositionpy.so:
>>> undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l
>>>
>>> there is no openravepy_int.pyd in
>>> /usr/local/lib/python2.6/site-packages/openravepy/
>>> when i do:
>>> import openravepy_int
>>> i have to  ^C out.
>>>
>>> my pythonpath looks like:
>>> export GTK2_RC_FILES=$HOME/.gtkrc-2.0
>>> export PYTHONPATH=$PYTHONPATH:`openrave-config --python-dir`
>>> source `openrave-config --share-dir`/openravebash
>>>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context: http://openrave-users-list.185357.n3.nabble.com/trying-to-run-example-hanoi-tp4026030.html
>>> Sent from the OpenRAVE Users List mailing list archive at Nabble.com.
>>>
>>> ------------------------------------------------------------------------------
>>> Free Next-Gen Firewall Hardware Offer
>>> Buy your Sophos next-gen firewall before the end March 2013
>>> and get the hardware for free! Learn more.
>>> http://p.sf.net/sfu/sophos-d2d-feb
>>> _______________________________________________
>>> Openrave-users mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/openrave-users
>> ------------------------------------------------------------------------------
>> Free Next-Gen Firewall Hardware Offer
>> Buy your Sophos next-gen firewall before the end March 2013
>> and get the hardware for free! Learn more.
>> http://p.sf.net/sfu/sophos-d2d-feb
>> _______________________________________________
>> Openrave-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/openrave-users
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Openrave-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/openrave-users

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Openrave-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openrave-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: trying to run example hanoi

Bahram Maleki-Fard
well, it is not fixed for me :)

I'm running Fedora18 with boost-1.50.0 and python-2.7.3 , and I get the
error message. To reproduce shortly, just open python terminal and enter
"import openravepy" , which then tries to include convexdecomposition
(and pyANN) and fails with the same error message except the "Floating
point exception" part.

I tried defining the assertion_failed_msg function in
"python/bindings/convexdecomposition.cpp" (similar to
"include/openrave/openrave.h"), and also added all boost-libraries that
are installable/available on my machine to the
convexdecomposition-dependencies in "python/bindings/CMakeLists.txt".
Didn't help.

As I just need the IK right now, I commented out the last calls of
"import convexdecompositionpy" and "pyANN" from the files mentionend in
the error message step by step (mainly in files in
"/usr/lib64/.../_openravepy_/databases/"). At least I can build
IK-database now :) Need to test if it works though.

I'll try installing boost-1.49 from source and see if it helps. Another
machine here runs Fedora16 with boost-1.47 and I don't have the problem
there.
If you can think of other possible solutions, I'd gladly try them out.
We're at the RoboCup at the moment and I'm really desperate to get it
running on our machine (hopefully boost <1.50 will solve it for now...).


Thanks,
Bahram

On 25.06.2013 17:23, Rosen Diankov wrote:

> actually this problem should be fixed in the master and latest_stable
> branches in git
>
> 2013/6/25 Bahram Maleki-Fard <[hidden email]>:
>> Is there any update on this?
>>
>> It seems that there is just a compiler flag missing, but I can't figure
>> out which one.
>> Downgrading the machine is unfortunately an absolute no-go right now for us.
>>
>> Thanks,
>> Bahram
>>
>> On 15.02.2013 06:41, Rosen Diankov wrote:
>>> it
>>> looks like you are still getting boost assert messages
>>>
>>> /usr/local/lib/python2.6/site-
>>> packages/openravepy/_openravepy_/convexdecompositionpy.so:
>>> undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l
>>> Floating point exception
>>>
>>>
>>> my recommendation is to downgrade your linux. you are using a really
>>> new version of boost and openrave cannot handle that yet
>>>
>>>
>>> 2013/2/14 jay75 <[hidden email]>:
>>>> at terminal i type:
>>>>
>>>> openrave-config --python-dir
>>>>
>>>> i get:
>>>>
>>>> /usr/local/lib/python2.6/site-packages
>>>>
>>>> then i type:
>>>>
>>>> export PYTHONPATH=$PYTHONPATH:`openrave-config --python-dir`
>>>>
>>>> then i type:
>>>>
>>>> openrave.py --example hanoi
>>>>
>>>> i get:
>>>>
>>>> openravepy is not set into PYTHONPATH env variable, attempting to add
>>>> Traceback (most recent call last):
>>>>     File "/usr/local/bin/openrave.py", line 49, in <module>
>>>>       import openravepy
>>>>     File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>>> 33, in <module>
>>>>       openravepy_currentversion = loadstable(__openravepy_version__)
>>>>     File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>>> 14, in loadstable
>>>>       return _loadversion('_openravepy_'+ver.replace('.', '_'))
>>>>     File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>>> 19, in _loadversion
>>>>       mainpackage = __import__("openravepy", globals(), locals(),
>>>> [targetname])
>>>>     File
>>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/__init__.py",
>>>> line 40, in <module>
>>>>       import databases
>>>>     File
>>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/databases/__init__.py",
>>>> line 261, in <module>
>>>>       import linkstatistics
>>>>     File
>>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/databases/linkstatistics.py",
>>>> line 72, in <module>
>>>>       from .. import pyANN
>>>>     File
>>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/pyANN.py",
>>>> line 16, in <module>
>>>>       from pyANN_int import *
>>>> ImportError:
>>>> /usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/pyANN_int.so:
>>>> undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l
>>>> Floating point exception
>>>>
>>>> when i go to
>>>> /usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/examples
>>>>
>>>> and type:
>>>>
>>>> python hanoi.py
>>>>
>>>> i get:
>>>>
>>>> Traceback (most recent call last):
>>>>     File "hanoi.py", line 34, in <module>
>>>>       import openravepy
>>>>     File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>>> 35, in <module>
>>>>       openravepy_currentversion = loadlatest()
>>>>     File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>>> 16, in loadlatest
>>>>       return _loadversion('_openravepy_')
>>>>     File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>>> 19, in _loadversion
>>>>       mainpackage = __import__("openravepy", globals(), locals(),
>>>> [targetname])
>>>>     File
>>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/__init__.py",
>>>> line 40, in <module>
>>>>       import databases
>>>>     File
>>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/__init__.py",
>>>> line 260, in <module>
>>>>       import convexdecomposition
>>>>     File
>>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/convexdecomposition.py",
>>>> line 78, in <module>
>>>>       from .. import convexdecompositionpy
>>>> ImportError:
>>>> /usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/convexdecompositionpy.so:
>>>> undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l
>>>> Floating point exception
>>>>
>>>>
>>>> when i start python and type "import openravepy" i get:
>>>> Python 2.6.6 (r266:84292, Jun  3 2011, 19:25:29)
>>>> [GCC 4.5.2] on linux2
>>>> Type "help", "copyright", "credits" or "license" for more information.
>>>>>>> import openravepy
>>>> Traceback (most recent call last):
>>>>     File "<stdin>", line 1, in <module>
>>>>     File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>>> 35, in <module>
>>>>       openravepy_currentversion = loadlatest()
>>>>     File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>>> 16, in loadlatest
>>>>       return _loadversion('_openravepy_')
>>>>     File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>>> 19, in _loadversion
>>>>       mainpackage = __import__("openravepy", globals(), locals(),
>>>> [targetname])
>>>>     File
>>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/__init__.py",
>>>> line 40, in <module>
>>>>       import databases
>>>>     File
>>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/__init__.py",
>>>> line 260, in <module>
>>>>       import convexdecomposition
>>>>     File
>>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/convexdecomposition.py",
>>>> line 78, in <module>
>>>>       from .. import convexdecompositionpy
>>>> ImportError:
>>>> /usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/convexdecompositionpy.so:
>>>> undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l
>>>>
>>>> there is no openravepy_int.pyd in
>>>> /usr/local/lib/python2.6/site-packages/openravepy/
>>>> when i do:
>>>> import openravepy_int
>>>> i have to  ^C out.
>>>>
>>>> my pythonpath looks like:
>>>> export GTK2_RC_FILES=$HOME/.gtkrc-2.0
>>>> export PYTHONPATH=$PYTHONPATH:`openrave-config --python-dir`
>>>> source `openrave-config --share-dir`/openravebash
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context: http://openrave-users-list.185357.n3.nabble.com/trying-to-run-example-hanoi-tp4026030.html
>>>> Sent from the OpenRAVE Users List mailing list archive at Nabble.com.
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Free Next-Gen Firewall Hardware Offer
>>>> Buy your Sophos next-gen firewall before the end March 2013
>>>> and get the hardware for free! Learn more.
>>>> http://p.sf.net/sfu/sophos-d2d-feb
>>>> _______________________________________________
>>>> Openrave-users mailing list
>>>> [hidden email]
>>>> https://lists.sourceforge.net/lists/listinfo/openrave-users
>>> ------------------------------------------------------------------------------
>>> Free Next-Gen Firewall Hardware Offer
>>> Buy your Sophos next-gen firewall before the end March 2013
>>> and get the hardware for free! Learn more.
>>> http://p.sf.net/sfu/sophos-d2d-feb
>>> _______________________________________________
>>> Openrave-users mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/openrave-users
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Windows:
>>
>> Build for Windows Store.
>>
>> http://p.sf.net/sfu/windows-dev2dev
>> _______________________________________________
>> Openrave-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/openrave-users


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Openrave-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openrave-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: trying to run example hanoi

Rosen Diankov
Administrator
can you check your openrave.h file for:

#if BOOST_VERSION>104600
inline void assertion_failed_msg(char const * expr, char const * msg,
char const * function, char const * file, long line)
{
    throw OpenRAVE::openrave_exception(boost::str(boost::format("[%s:%d]
-> %s, expr: %s, msg:
%s")%file%line%function%expr%msg),OpenRAVE::ORE_Assert);
}
#endif


unless boost 1.50 changed the function signature, it should have worked.

also, i'm not sure why you are getting floating point exceptions, can
you compile openrave in debug mode and run python in gdb? where does
it crash?

thanks,
rosen,




2013/6/26 Bahram Maleki-Fard <[hidden email]>:

> well, it is not fixed for me :)
>
> I'm running Fedora18 with boost-1.50.0 and python-2.7.3 , and I get the
> error message. To reproduce shortly, just open python terminal and enter
> "import openravepy" , which then tries to include convexdecomposition
> (and pyANN) and fails with the same error message except the "Floating
> point exception" part.
>
> I tried defining the assertion_failed_msg function in
> "python/bindings/convexdecomposition.cpp" (similar to
> "include/openrave/openrave.h"), and also added all boost-libraries that
> are installable/available on my machine to the
> convexdecomposition-dependencies in "python/bindings/CMakeLists.txt".
> Didn't help.
>
> As I just need the IK right now, I commented out the last calls of
> "import convexdecompositionpy" and "pyANN" from the files mentionend in
> the error message step by step (mainly in files in
> "/usr/lib64/.../_openravepy_/databases/"). At least I can build
> IK-database now :) Need to test if it works though.
>
> I'll try installing boost-1.49 from source and see if it helps. Another
> machine here runs Fedora16 with boost-1.47 and I don't have the problem
> there.
> If you can think of other possible solutions, I'd gladly try them out.
> We're at the RoboCup at the moment and I'm really desperate to get it
> running on our machine (hopefully boost <1.50 will solve it for now...).
>
>
> Thanks,
> Bahram
>
> On 25.06.2013 17:23, Rosen Diankov wrote:
>> actually this problem should be fixed in the master and latest_stable
>> branches in git
>>
>> 2013/6/25 Bahram Maleki-Fard <[hidden email]>:
>>> Is there any update on this?
>>>
>>> It seems that there is just a compiler flag missing, but I can't figure
>>> out which one.
>>> Downgrading the machine is unfortunately an absolute no-go right now for us.
>>>
>>> Thanks,
>>> Bahram
>>>
>>> On 15.02.2013 06:41, Rosen Diankov wrote:
>>>> it
>>>> looks like you are still getting boost assert messages
>>>>
>>>> /usr/local/lib/python2.6/site-
>>>> packages/openravepy/_openravepy_/convexdecompositionpy.so:
>>>> undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l
>>>> Floating point exception
>>>>
>>>>
>>>> my recommendation is to downgrade your linux. you are using a really
>>>> new version of boost and openrave cannot handle that yet
>>>>
>>>>
>>>> 2013/2/14 jay75 <[hidden email]>:
>>>>> at terminal i type:
>>>>>
>>>>> openrave-config --python-dir
>>>>>
>>>>> i get:
>>>>>
>>>>> /usr/local/lib/python2.6/site-packages
>>>>>
>>>>> then i type:
>>>>>
>>>>> export PYTHONPATH=$PYTHONPATH:`openrave-config --python-dir`
>>>>>
>>>>> then i type:
>>>>>
>>>>> openrave.py --example hanoi
>>>>>
>>>>> i get:
>>>>>
>>>>> openravepy is not set into PYTHONPATH env variable, attempting to add
>>>>> Traceback (most recent call last):
>>>>>     File "/usr/local/bin/openrave.py", line 49, in <module>
>>>>>       import openravepy
>>>>>     File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>>>> 33, in <module>
>>>>>       openravepy_currentversion = loadstable(__openravepy_version__)
>>>>>     File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>>>> 14, in loadstable
>>>>>       return _loadversion('_openravepy_'+ver.replace('.', '_'))
>>>>>     File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>>>> 19, in _loadversion
>>>>>       mainpackage = __import__("openravepy", globals(), locals(),
>>>>> [targetname])
>>>>>     File
>>>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/__init__.py",
>>>>> line 40, in <module>
>>>>>       import databases
>>>>>     File
>>>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/databases/__init__.py",
>>>>> line 261, in <module>
>>>>>       import linkstatistics
>>>>>     File
>>>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/databases/linkstatistics.py",
>>>>> line 72, in <module>
>>>>>       from .. import pyANN
>>>>>     File
>>>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/pyANN.py",
>>>>> line 16, in <module>
>>>>>       from pyANN_int import *
>>>>> ImportError:
>>>>> /usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/pyANN_int.so:
>>>>> undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l
>>>>> Floating point exception
>>>>>
>>>>> when i go to
>>>>> /usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/examples
>>>>>
>>>>> and type:
>>>>>
>>>>> python hanoi.py
>>>>>
>>>>> i get:
>>>>>
>>>>> Traceback (most recent call last):
>>>>>     File "hanoi.py", line 34, in <module>
>>>>>       import openravepy
>>>>>     File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>>>> 35, in <module>
>>>>>       openravepy_currentversion = loadlatest()
>>>>>     File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>>>> 16, in loadlatest
>>>>>       return _loadversion('_openravepy_')
>>>>>     File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>>>> 19, in _loadversion
>>>>>       mainpackage = __import__("openravepy", globals(), locals(),
>>>>> [targetname])
>>>>>     File
>>>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/__init__.py",
>>>>> line 40, in <module>
>>>>>       import databases
>>>>>     File
>>>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/__init__.py",
>>>>> line 260, in <module>
>>>>>       import convexdecomposition
>>>>>     File
>>>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/convexdecomposition.py",
>>>>> line 78, in <module>
>>>>>       from .. import convexdecompositionpy
>>>>> ImportError:
>>>>> /usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/convexdecompositionpy.so:
>>>>> undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l
>>>>> Floating point exception
>>>>>
>>>>>
>>>>> when i start python and type "import openravepy" i get:
>>>>> Python 2.6.6 (r266:84292, Jun  3 2011, 19:25:29)
>>>>> [GCC 4.5.2] on linux2
>>>>> Type "help", "copyright", "credits" or "license" for more information.
>>>>>>>> import openravepy
>>>>> Traceback (most recent call last):
>>>>>     File "<stdin>", line 1, in <module>
>>>>>     File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>>>> 35, in <module>
>>>>>       openravepy_currentversion = loadlatest()
>>>>>     File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>>>> 16, in loadlatest
>>>>>       return _loadversion('_openravepy_')
>>>>>     File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
>>>>> 19, in _loadversion
>>>>>       mainpackage = __import__("openravepy", globals(), locals(),
>>>>> [targetname])
>>>>>     File
>>>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/__init__.py",
>>>>> line 40, in <module>
>>>>>       import databases
>>>>>     File
>>>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/__init__.py",
>>>>> line 260, in <module>
>>>>>       import convexdecomposition
>>>>>     File
>>>>> "/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/convexdecomposition.py",
>>>>> line 78, in <module>
>>>>>       from .. import convexdecompositionpy
>>>>> ImportError:
>>>>> /usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/convexdecompositionpy.so:
>>>>> undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l
>>>>>
>>>>> there is no openravepy_int.pyd in
>>>>> /usr/local/lib/python2.6/site-packages/openravepy/
>>>>> when i do:
>>>>> import openravepy_int
>>>>> i have to  ^C out.
>>>>>
>>>>> my pythonpath looks like:
>>>>> export GTK2_RC_FILES=$HOME/.gtkrc-2.0
>>>>> export PYTHONPATH=$PYTHONPATH:`openrave-config --python-dir`
>>>>> source `openrave-config --share-dir`/openravebash
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> View this message in context: http://openrave-users-list.185357.n3.nabble.com/trying-to-run-example-hanoi-tp4026030.html
>>>>> Sent from the OpenRAVE Users List mailing list archive at Nabble.com.
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Free Next-Gen Firewall Hardware Offer
>>>>> Buy your Sophos next-gen firewall before the end March 2013
>>>>> and get the hardware for free! Learn more.
>>>>> http://p.sf.net/sfu/sophos-d2d-feb
>>>>> _______________________________________________
>>>>> Openrave-users mailing list
>>>>> [hidden email]
>>>>> https://lists.sourceforge.net/lists/listinfo/openrave-users
>>>> ------------------------------------------------------------------------------
>>>> Free Next-Gen Firewall Hardware Offer
>>>> Buy your Sophos next-gen firewall before the end March 2013
>>>> and get the hardware for free! Learn more.
>>>> http://p.sf.net/sfu/sophos-d2d-feb
>>>> _______________________________________________
>>>> Openrave-users mailing list
>>>> [hidden email]
>>>> https://lists.sourceforge.net/lists/listinfo/openrave-users
>>>
>>> ------------------------------------------------------------------------------
>>> This SF.net email is sponsored by Windows:
>>>
>>> Build for Windows Store.
>>>
>>> http://p.sf.net/sfu/windows-dev2dev
>>> _______________________________________________
>>> Openrave-users mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/openrave-users
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Openrave-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/openrave-users

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Openrave-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openrave-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: trying to run example hanoi

Bahram Maleki-Fard
Hi Rosen,

I think I found the fix for the problem, which I've still been encountering
(short reminder: ImportError: ./convexdecompositionpy.so: undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l)

After some code-digging and experimenting, I finally found that the assertion-definitions are missing in "python/bindings/binding.cpp"!
It seems to be sufficient to define only the "assertion_failed_msg(..)" function (I tried all combinations).

The Boost documentation on "assert.hpp" says:
"As is the case with <cassert>, <boost/assert.hpp> can be included multiple times in a single translation unit. BOOST_ASSERT [or BOOST_ASSERT_MSG] will be redefined each time as specified above."
That would be the case for all files including "bindings.h", which are 4 files: convexdecomposition.cpp, pyann.cpp, bindings.cpp, openravepy_int.h.
The first 2 already have the function definitions. openravepy_int.h seems to be fine, because it includes "openrave-core.h"->"openrave.h" which provides the definitions. So "bindings.cpp" still needs them :)

I have not checked if this is already fixed in the master branch though, I'm on latest_stable.


Regards,
Bahram




On 26.06.2013 02:44, Rosen Diankov wrote:
can you check your openrave.h file for:

#if BOOST_VERSION>104600
inline void assertion_failed_msg(char const * expr, char const * msg,
char const * function, char const * file, long line)
{
    throw OpenRAVE::openrave_exception(boost::str(boost::format("[%s:%d]
-> %s, expr: %s, msg:
%s")%file%line%function%expr%msg),OpenRAVE::ORE_Assert);
}
#endif


unless boost 1.50 changed the function signature, it should have worked.

also, i'm not sure why you are getting floating point exceptions, can
you compile openrave in debug mode and run python in gdb? where does
it crash?

thanks,
rosen,




2013/6/26 Bahram Maleki-Fard [hidden email]:
well, it is not fixed for me :)

I'm running Fedora18 with boost-1.50.0 and python-2.7.3 , and I get the
error message. To reproduce shortly, just open python terminal and enter
"import openravepy" , which then tries to include convexdecomposition
(and pyANN) and fails with the same error message except the "Floating
point exception" part.

I tried defining the assertion_failed_msg function in
"python/bindings/convexdecomposition.cpp" (similar to
"include/openrave/openrave.h"), and also added all boost-libraries that
are installable/available on my machine to the
convexdecomposition-dependencies in "python/bindings/CMakeLists.txt".
Didn't help.

As I just need the IK right now, I commented out the last calls of
"import convexdecompositionpy" and "pyANN" from the files mentionend in
the error message step by step (mainly in files in
"/usr/lib64/.../_openravepy_/databases/"). At least I can build
IK-database now :) Need to test if it works though.

I'll try installing boost-1.49 from source and see if it helps. Another
machine here runs Fedora16 with boost-1.47 and I don't have the problem
there.
If you can think of other possible solutions, I'd gladly try them out.
We're at the RoboCup at the moment and I'm really desperate to get it
running on our machine (hopefully boost <1.50 will solve it for now...).


Thanks,
Bahram

On 25.06.2013 17:23, Rosen Diankov wrote:
actually this problem should be fixed in the master and latest_stable
branches in git

2013/6/25 Bahram Maleki-Fard [hidden email]:
Is there any update on this?

It seems that there is just a compiler flag missing, but I can't figure
out which one.
Downgrading the machine is unfortunately an absolute no-go right now for us.

Thanks,
Bahram

On 15.02.2013 06:41, Rosen Diankov wrote:
it
looks like you are still getting boost assert messages

/usr/local/lib/python2.6/site-
packages/openravepy/_openravepy_/convexdecompositionpy.so:
undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l
Floating point exception


my recommendation is to downgrade your linux. you are using a really
new version of boost and openrave cannot handle that yet


2013/2/14 jay75 [hidden email]:
at terminal i type:

openrave-config --python-dir

i get:

/usr/local/lib/python2.6/site-packages

then i type:

export PYTHONPATH=$PYTHONPATH:`openrave-config --python-dir`

then i type:

openrave.py --example hanoi

i get:

openravepy is not set into PYTHONPATH env variable, attempting to add
Traceback (most recent call last):
    File "/usr/local/bin/openrave.py", line 49, in <module>
      import openravepy
    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
33, in <module>
      openravepy_currentversion = loadstable(__openravepy_version__)
    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
14, in loadstable
      return _loadversion('_openravepy_'+ver.replace('.', '_'))
    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
19, in _loadversion
      mainpackage = __import__("openravepy", globals(), locals(),
[targetname])
    File
"/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/__init__.py",
line 40, in <module>
      import databases
    File
"/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/databases/__init__.py",
line 261, in <module>
      import linkstatistics
    File
"/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/databases/linkstatistics.py",
line 72, in <module>
      from .. import pyANN
    File
"/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/pyANN.py",
line 16, in <module>
      from pyANN_int import *
ImportError:
/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/pyANN_int.so:
undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l
Floating point exception

when i go to
/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_0_9/examples

and type:

python hanoi.py

i get:

Traceback (most recent call last):
    File "hanoi.py", line 34, in <module>
      import openravepy
    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
35, in <module>
      openravepy_currentversion = loadlatest()
    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
16, in loadlatest
      return _loadversion('_openravepy_')
    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
19, in _loadversion
      mainpackage = __import__("openravepy", globals(), locals(),
[targetname])
    File
"/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/__init__.py",
line 40, in <module>
      import databases
    File
"/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/__init__.py",
line 260, in <module>
      import convexdecomposition
    File
"/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/convexdecomposition.py",
line 78, in <module>
      from .. import convexdecompositionpy
ImportError:
/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/convexdecompositionpy.so:
undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l
Floating point exception


when i start python and type "import openravepy" i get:
Python 2.6.6 (r266:84292, Jun  3 2011, 19:25:29)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import openravepy
Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
35, in <module>
      openravepy_currentversion = loadlatest()
    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
16, in loadlatest
      return _loadversion('_openravepy_')
    File "/usr/local/lib/python2.6/site-packages/openravepy/__init__.py", line
19, in _loadversion
      mainpackage = __import__("openravepy", globals(), locals(),
[targetname])
    File
"/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/__init__.py",
line 40, in <module>
      import databases
    File
"/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/__init__.py",
line 260, in <module>
      import convexdecomposition
    File
"/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/databases/convexdecomposition.py",
line 78, in <module>
      from .. import convexdecompositionpy
ImportError:
/usr/local/lib/python2.6/site-packages/openravepy/_openravepy_/convexdecompositionpy.so:
undefined symbol: _ZN5boost20assertion_failed_msgEPKcS1_S1_S1_l

there is no openravepy_int.pyd in
/usr/local/lib/python2.6/site-packages/openravepy/
when i do:
import openravepy_int
i have to  ^C out.

my pythonpath looks like:
export GTK2_RC_FILES=$HOME/.gtkrc-2.0
export PYTHONPATH=$PYTHONPATH:`openrave-config --python-dir`
source `openrave-config --share-dir`/openravebash





--
View this message in context: http://openrave-users-list.185357.n3.nabble.com/trying-to-run-example-hanoi-tp4026030.html
Sent from the OpenRAVE Users List mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Openrave-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openrave-users
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Openrave-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openrave-users
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Openrave-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openrave-users

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Openrave-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openrave-users


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Openrave-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openrave-users
Loading...