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

[pprz] change the old paparazzi launch script from ocaml to python #2467

Merged
merged 1 commit into from
Oct 17, 2019

Conversation

gautierhattenberger
Copy link
Member

This new script is doing the same than before but don't rely on the
ocaml install which was a problem when mixing opam and system install.

Note that when updating, git will complain about the already existing
file 'paparazzi'. So it is necessary to delete the old file (or run
'make clean') before updating the code.

This new script is doing the same than before but don't rely on the
ocaml install which was a problem when mixing opam and system install.

Note that when updating, git will complain about the already existing
file 'paparazzi'. So it is necessary to delete the old file (or run
'make clean') before updating the code.
Copy link
Member

@noether noether left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks okei. Nothing strange.

Thanks for migrating some stuff from ocaml :P

@noether noether merged commit 4083b0b into master Oct 17, 2019
@noether
Copy link
Member

noether commented Oct 17, 2019

Oh,

I did not check that you requested @fvantienen to check the commit before merging the pull request. Sorry guys, hopefully, it is okei for you.

@noether
Copy link
Member

noether commented Oct 17, 2019

Apparently, it does not work in Ubuntu 18.04

Traceback (most recent call last):
File "./paparazzi", line 20, in
os.execve(path, args, env)
ValueError: execve: argv must not be empty

If you execute it with Python2 is okei. Gautier tested it in ubuntu 16.04 with Python3 and it works fine too.

@gautierhattenberger gautierhattenberger deleted the pprz_start_script branch October 17, 2019 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants