signetlabdei/sem

Exception: ns-3 repository is not clean

Prapi123 opened this issue · 5 comments

Hello,

While Running a file,
I am facing below error
Exception: ns-3 repository is not clean

Steps followed to recreate the error,
-Copied current version lorawan OF module in ns-3/src/ Directory
-Then run any of the example, In the above i took complete-network-example.cc to test

I used both the techniques above.
When I use a python script and specify arguments check_repo=False and overwrite=True , program executes.

while I try with command line options
sem run --results-dir=./test --ns-3-path=examples/ns-3 --script=complete-network-example
sem export example
It again gives the same error.

As of now, we don't have a switch that allows you to skip the repository check when using SEM from the command line - however, it's strange you get errors if you have used git add . and git commit in ns-3. Can you share the output of git status, issued from the ns-3 folder?

Hello,
with few trial and errors the issue has been resolved now.
Thanks for responding. I have wish you a great year ahead.

You can close this issue.

Ok, great! If you are on the develop branch, commit 8895364 now allows you to add the --skip-repo-check flag to the sem run command, skipping this check.