GithubHelp home page GithubHelp logo

Comments (5)

kmdalal avatar kmdalal commented on June 14, 2024

This is an issue for the ow_autonomy repository, but no matter. Your PLEXIL installation is not up-to-date for Release 8. The fix is easy:

cd $PLEXIL_HOME

Make sure you're on the releases/plexil-4 branch (git branch). If not, get on this branch (git checkout releases/plexil-4).

Update the branch (git pull). I suspect some new files will come in.

Rebuild it:

make squeaky-clean
make universalExec plexil-compiler checkpoint

Then retry your ow_autonomy build and the error should be gone!

from ow_simulator.

zainhussaini avatar zainhussaini commented on June 14, 2024

Sorry, yeah this would have better fit in the ow_autonomy repo. I tried your suggestion but pl the plexil repository is already on the latest version of the releases/plexil-4 branch. I followed the instructions to pull and rebuild it just in case, but I got the same error while building! Maybe there's some more information in the full log, so I've included that as well:

laptop:~/oceanwaters_ws$ catkin build
--------------------------------------------------------------
Profile:                     default
Extending:          [cached] /opt/ros/melodic
Workspace:                   /home/zain/oceanwaters_ws
--------------------------------------------------------------
Build Space:        [exists] /home/zain/oceanwaters_ws/build
Devel Space:        [exists] /home/zain/oceanwaters_ws/devel
Install Space:      [unused] /home/zain/oceanwaters_ws/install
Log Space:          [exists] /home/zain/oceanwaters_ws/logs
Source Space:       [exists] /home/zain/oceanwaters_ws/src
DESTDIR:            [unused] None
--------------------------------------------------------------
Devel Space Layout:          linked
Install Space Layout:        None
--------------------------------------------------------------
Additional CMake Args:       None
Additional Make Args:        None
Additional catkin Make Args: None
Internal Make Job Server:    True
Cache Job Environments:      False
--------------------------------------------------------------
Whitelisted Packages:        None
Blacklisted Packages:        None
--------------------------------------------------------------
Workspace configuration appears valid.
--------------------------------------------------------------
[build] Found '15' packages in 0.0 seconds.                                          
[build] Package table is up to date.                                                 
Starting  >>> irg_gazebo_plugins                                                     
Starting  >>> irg_spice                                                              
Starting  >>> irg_tools                                                              
Starting  >>> ow                                                                     
Starting  >>> ow_bag_recorder                                                        
Starting  >>> ow_dynamic_terrain                                                     
Finished  <<< irg_spice                              [ 0.4 seconds ]                 
Starting  >>> ow_europa                                                              
Finished  <<< irg_tools                              [ 0.4 seconds ]                 
Finished  <<< ow                                     [ 0.3 seconds ]                 
Starting  >>> ow_gazebo_plugins                                                      
Starting  >>> ow_lander                                                              
Finished  <<< irg_gazebo_plugins                     [ 1.0 seconds ]                 
Starting  >>> ow_testbed                                                             
Finished  <<< ow_bag_recorder                        [ 0.7 seconds ]                 
Finished  <<< ow_europa                              [ 0.3 seconds ]                 
Starting  >>> irg_planetary_ephemeris                                                
Starting  >>> ow_ephemeris                                                           
Finished  <<< ow_dynamic_terrain                     [ 0.7 seconds ]                 
Finished  <<< ow_gazebo_plugins                      [ 0.4 seconds ]                 
Finished  <<< ow_testbed                             [ 0.3 seconds ]                 
Finished  <<< irg_planetary_ephemeris                [ 0.4 seconds ]                 
Finished  <<< ow_lander                              [ 1.1 seconds ]                 
Starting  >>> ow_faults                                                              
Finished  <<< ow_ephemeris                           [ 0.3 seconds ]                 
Finished  <<< ow_faults                              [ 0.4 seconds ]                 
Starting  >>> ow_autonomy                                                            
Starting  >>> ow_power_system                                                        
Finished  <<< ow_power_system                        [ 0.4 seconds ]                 
_____________________________________________________________________________________
Errors     << ow_autonomy:make /home/zain/oceanwaters_ws/logs/ow_autonomy/build.make.004.log
Error: /home/zain/oceanwaters_ws/src/ow_autonomy/src/plans/ReferenceMission2.ple line 318:9 mismatched input ';' expecting RBRACE in action
Error: /home/zain/oceanwaters_ws/src/ow_autonomy/src/plans/ReferenceMission2.ple line 322:0 extraneous input '}' expecting EOF in block
Error: Standard Plexil compilation of  failed.
Error copying file (if different) from "/home/zain/oceanwaters_ws/build/ow_autonomy/src/plans/ReferenceMission2.plx" to "/home/zain/oceanwaters_ws/devel/.private/ow_autonomy/etc/plexil/ReferenceMission2.plx".
make[2]: *** [PLEXILC_ReferenceMission2.plx] Error 1
make[1]: *** [src/plans/CMakeFiles/PLEXILC_ReferenceMission2.plx.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
cd /home/zain/oceanwaters_ws/build/ow_autonomy; catkin build --get-env ow_autonomy | catkin env -si  /usr/bin/make --jobserver-fds=6,7 -j; cd -
.....................................................................................
Failed     << ow_autonomy:make                       [ Exited with code 2 ]          
Failed    <<< ow_autonomy                            [ 36.0 seconds ]                
[build] Summary: 14 of 15 packages succeeded.                                        
[build]   Ignored:   None.                                                           
[build]   Warnings:  None.                                                           
[build]   Abandoned: None.                                                           
[build]   Failed:    1 packages failed.                                              
[build] Runtime: 40.0 seconds total. 

And I got this when making sure I'm on the latest version of Plexil:

laptop:~/plexil$ git fetch; git status
On branch releases/plexil-4
Your branch is up to date with 'origin/releases/plexil-4'.

nothing to commit, working tree clean

from ow_simulator.

kmdalal avatar kmdalal commented on June 14, 2024

This is really strange -- the pull/rebuild has always corrected this issue, which several users reported.

Please check what commit your PLEXIL is on.

cd $PLEXIL_HOME
git rev-parse HEAD

The commit hash should begin with df7ed1e020a.

If that's it, you could try the 'make squeaky clean' followed by make universalExec plexil-compiler checkpoint again, in case that was messed up the first time.

If no luck, here's a simple workaround to get you through the build: remove the semicolon after the 'endif' near the bottom of ReferenceMission2.plp. Semicolons are optional after 'endif', but an older version of the PLEXIL compiler disallowed them.

from ow_simulator.

kmdalal avatar kmdalal commented on June 14, 2024

@zainhussaini , is this working for you now? Can this issue be closed?

from ow_simulator.

zainhussaini avatar zainhussaini commented on June 14, 2024

Yes it's working now, I'm not certain what the issue was but deleting the cloned repos and starting over from scratch fixed it!

from ow_simulator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.