Skip to content
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

Error in example 4: planet_gtoc5 does not exist #12

Closed
astrojuanlu opened this issue Jan 30, 2015 · 2 comments
Closed

Error in example 4: planet_gtoc5 does not exist #12

astrojuanlu opened this issue Jan 30, 2015 · 2 comments

Comments

@astrojuanlu
Copy link

Apparently this problem was removed in 2b118f6. Edit: Or rather, commented out.

$ python -c "import _ex4; _ex4.run_example4()"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "_ex4.py", line 104, in run_example4
    prob = mga_lt_earth_mars_sundmann(nseg=N)
  File "_ex4.py", line 18, in __init__
    from PyKEP import planet_ss, MU_SUN, AU, planet_gtoc5
ImportError: cannot import name planet_gtoc5
@darioizzo
Copy link
Member

Yep, true I removed the problems from gtocs as they were not of general
interest to the average users. But I probably broke some examples .... Will
fix it in the next release, in the meantime you can just uncomment the
relative lines in the problem.cpp file

On 30 January 2015 at 21:37, Juan Luis Cano Rodríguez <
notifications@github.com> wrote:

Apparently this problem was removed in 2b118f6
2b118f6
.

$ python -c "import _ex4; _ex4.run_example4()"
Traceback (most recent call last):
File "", line 1, in
File "_ex4.py", line 104, in run_example4
prob = mga_lt_earth_mars_sundmann(nseg=N)
File "_ex4.py", line 18, in init
from PyKEP import planet_ss, MU_SUN, AU, planet_gtoc5
ImportError: cannot import name planet_gtoc5


Reply to this email directly or view it on GitHub
#12.

@astrojuanlu
Copy link
Author

Closing per bc45919.

darioizzo added a commit that referenced this issue Nov 21, 2016
darioizzo added a commit that referenced this issue Dec 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants