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

Exception: ns-3 repository is not clean #34

Closed
Prapi123 opened this issue Dec 27, 2019 · 5 comments
Closed

Exception: ns-3 repository is not clean #34

Prapi123 opened this issue Dec 27, 2019 · 5 comments

Comments

@Prapi123
Copy link

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

@DvdMgr
Copy link
Member

DvdMgr commented Dec 27, 2019 via email

@Prapi123
Copy link
Author

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.

@DvdMgr
Copy link
Member

DvdMgr commented Dec 27, 2019

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?

@Prapi123
Copy link
Author

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.

@DvdMgr
Copy link
Member

DvdMgr commented Dec 28, 2019

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.

@DvdMgr DvdMgr closed this as completed Dec 28, 2019
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