Comments (16)
Hi, @dhondta!
I still have the same error as @dmabm:
2017-10-05 14:31:57 rpla[2161] INFO TESTING THE FRAMEWORK
[localhost] local: python -m unittest -v tests
Fatal error: local() encountered an error (return code 1) while executing 'md5sum requirements.txt'
================================ Standard error ================================
md5sum: requirements.txt: No such file or directory
================================================================================
Aborting.
Warning: local() encountered an error (return code 1) while executing 'python -m unittest -v tests'
Done.
Thanks!
from rpl-attacks.
Ok @jomicobasi , I think I got it ; the problem should now (really) be fixed and, this time, I tested myself.
I apologize for the inconvenience and thank you for your inputs.
from rpl-attacks.
@dhondta thank you for your quick response!
However, another error has arisen :(
2017-10-06 10:52:57 rpla[28032] INFO TESTING THE FRAMEWORK
[localhost] local: python -m unittest -v tests
2017-10-06 10:52:59 rpla[28056] WARNING You are about to loose any custom change made to Contiki-OS ;
2017-10-06 10:53:03 rpla[28056] WARNING Restarting the framework...
python: can't open file 'python -m unittest': [Errno 2] No such file or directory
Warning: local() encountered an error (return code 2) while executing 'python -m unittest -v tests'
Done.
Btw, I'm using Python 2.7.6 and pip 9.0.1
Many thanks!
from rpl-attacks.
HI,
I am encountering the same issue, could you please explain what you did to fix the issue?
from rpl-attacks.
The problem should be solved. Please git pull
and tell me if it works.
from rpl-attacks.
Hi dhondta,
Thanks for the help and not that problem is solved but after fixing that error, I got following problem when I try to run "fab test". Please have a look at it.
Thank you
from rpl-attacks.
Sorry, I made a stupid mistake (os.path.exists
instead of exists
while I use from os.path import exists
in the imports)...
This should be solved for now. Could you test and tell me, please ?
from rpl-attacks.
Hi,
You are fine dhondta & I just tested, but now I am getting the previous error with "fab test" as follows
"Fatal error: local() encountered an error (return code 1) while executing 'md5sum requirements.txt'"
The same error as in previous very 1st post under this issue (Have a look 1st screenshot).
Could you please have look at it again please.
thank you
from rpl-attacks.
Hi dhondta,
Were you get a chance to have a look at this problem.
Thank you.
from rpl-attacks.
Hi dmabm,
I was gone for a few days. I'm now working on fixing this problem...
from rpl-attacks.
Hi dhondta,
No problem, take your time. Once you are done with this fix please update me. These days I am also kind of busy with some other stuff, but I really want to continue my research with this environment.
I may need your help with the integration part "Collect view tool" with this framework, since I spend lot of time on it but no more progress
Thanks
Akalanka
from rpl-attacks.
Hi dhondta,
Just a kind reminder, did you get a chance to have a look at this problem ?
Thanks
Akalanka
from rpl-attacks.
Hi @dmabm ,
I tested on my side and it seems that the problem should now be fixed.
Please try and let me know.
Greetz.
from rpl-attacks.
This should now be fixed. However, I'm currently unable to test and confirm it.
Could you retry and let me know if the problem is solved, please ?
from rpl-attacks.
Hi @Abhay2doit ,
Problem (just before Third fix to issue #29 : The error occurs according to the context used ; the update
command tries to restart the framework at the end of its execution.
- While using the framework, that is, inside the CLI, the
update
command will then normally restart it. - While testing the framework, the
update
command is called, executing therestart
function (seecore/common/helpers.py
) with "python -m unittest
".
Solution (with Third fix to issue #29 : I added an if
to manage the context and avoid using the restart
function while testing.
Caveat : I must argue now that this is a (very) poor solution, just avoiding the problem but definitely not solving it. Indeed, another problem arises ; my bad, I mistakenly reviewed the error in @jomicobasi 's traceback and did not notice that the command issued by the restart
function seems to provide a call "python 'python -m unittest'
" (just try it in a terminal and you will get the same error message), hence the error telling that "python: can't open file 'python -m unittest'
".
I'll publish a fix soon.
Thank you so much for reporting this bug.
from rpl-attacks.
This fix should have fixed the bug.
Please let me know if you still encounter the error, please.
from rpl-attacks.
Related Issues (20)
- Is it possible to edit the malicious and root code? HOT 3
- explication type of wsn gen algorithm in simulation.conf HOT 1
- the parameters of performance HOT 2
- simulation attack with two or more malicious nodes HOT 1
- advanced document for the framework HOT 1
- simulating on Contiki-OS Cooja HOT 1
- Implementing attacks in Cooja HOT 3
- Sinkhole attacks HOT 1
- Running Simulations HOT 3
- Black hole and decrease rank attacks HOT 8
- Blackhole and rank attacks HOT 1
- new help please HOT 1
- "unable to fetch index base URL https://pypi.python.org/simple/" HOT 1
- Contiki/Platform issue on colab HOT 1
- I need a help : how to detect rank attack ? HOT 5
- Implementation with cooja HOT 2
- vagrant up command HOT 2
- Implementation VeRa - Version Number and Rank Authentication HOT 1
- DIS flooding HOT 4
- Question about power tracking HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpl-attacks.