-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected installation dependency on source location #21
Comments
So i did some more digging, and it turns out that the |
The official Debian package contains the correct How did you install the package? |
I am installing hydro from source on OS X. I also noticed that this was not the only package with this problem, but most packages with an existing python package did not exhibit this problem. To make things more interesting I noticed the build_isolated folder contained correct `__init__py |
I haven't seen the issue you describe before and can't imagine why this is happening for you. Please describe the exact setup what you have checked out and all steps to reproduce your scenario. Copying @wjwwood on that since he might reproduce your setup on OS X. |
This is also the case for me:
|
This is also the case for a few other packages:
But definitely not all of them. |
|
yeah its strange, I have not understood why some packages work fine and others do not, even though they appear to have near identical CMake and distutils settings. Actually I never would have noticed because everything still works seamlessly, as long as the originating source folder remains intact. While experimenting @MrTatsch changed his source folder, and noticed that dynamic reconfigure would not start. Only after we investigated for while did we discover what the cause was. For what its worth im using cake 2.8.12.1 on 10.9. |
I am able to reproduce this on Ubuntu with |
Closing this in favor of new ticket against genmsg. |
While debugging the issue discussed here http://answers.ros.org/question/105771/rqt_reconfigure-runtime-error-osx/ with @MrTatsch we discovered that the installed package has an unexpected dependency on the source directory. It seems that during the python package installation,
$INSTALL_DIR/dynamic_reconfigure/__init__.py
gets generated with a reference to the current source directory, so that when the installed package is used, the source directory is read.This is very counter intuitive behaviour. If the source directory is deleted or renamed after installation, as was the case in the ROS Answers problem, then the installed versions of dynamic reconfigure ceases to function.
The text was updated successfully, but these errors were encountered: