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

missing command taste-update-data-view #4

Open
Kynneb opened this issue Jul 19, 2018 · 6 comments
Open

missing command taste-update-data-view #4

Kynneb opened this issue Jul 19, 2018 · 6 comments
Assignees

Comments

@Kynneb
Copy link
Contributor

Kynneb commented Jul 19, 2018

I get a weird error trying to build the package:

[ 90%] Run build-script.sh for vizkit3d_bodystate_widgets
[INFO] Executing user-defined init script
Updating DataView.aadl
./update_data_view.sh: line 10: taste-update-data-view: command not found

obviously taste-update-data-view in fact does exist, though. When I try to go inside the bodystate directory and execute sh build-script.sh manually, i even get

[INFO] Executing user-defined init script
build-script.sh: line 30: source: user_init_pre.sh: file not found

although the file of course is within the folder.

Does that look like anything to you?

@maxime-esa
Copy link

Perhaps you made an update of TASTE and you need to close the terminal and open a new one?

@RaquelJalvo
Copy link
Contributor

It is very weird. Can you do a printenv of PATH ? Is it possible that you have overwritten this environment variable?

@Kynneb
Copy link
Contributor Author

Kynneb commented Jul 19, 2018

I am not quite sure. The second error I could eventually trace back to executing the build-script wrongly in dash instead of bash (by calling sh .build-script.sh instead of bash build-script.sh or simply executing it) So that seems not be related.

The PATH seems correct - especially since bash auto-complete finds taste-update-data-view as one would expect.

Since this error occured when trying to build headless with jenkins I tried it manually on the remote machine via ssh. The error did not happen, however the build did not proceed further then 90% either, seemingly stopping at the "converting interfaceview from V2.0 to V1.3" step.

Then I tried again on my local machine and there it worked to build all the models individually but it was pretty slow.

I will let the remote installation run over night - perhaps this was just a matter of time?

I recently updated the docker image from 9.0 to 9.1 - are there any problems known I could have stumbled into?

@mmunoz-gmv
Copy link
Contributor

The TASTE scripts require bash. Maybe try to do "sudo rm /bin/sh", then "sudo ln -s /bin/bash /bin/sh".

@Kynneb
Copy link
Contributor Author

Kynneb commented Jul 20, 2018

Maybe the error has something to do with building headless (i.e. without X support)?

Because the problematic parts (the models taste projects) try to open GUI progress dialogs.

@maxime-esa
Copy link

yes, the Converting to V1.3 is done by a command line version of the GUI from Ellidiss, and for some reasons it needs X.

(the dash issue also needs to be fixed)

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

4 participants