Code Monkey home page Code Monkey logo

Comments (16)

jomicobasi avatar jomicobasi commented on September 21, 2024 2

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.

dhondta avatar dhondta commented on September 21, 2024 2

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.

jomicobasi avatar jomicobasi commented on September 21, 2024 1

@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.

Abhay2doit avatar Abhay2doit commented on September 21, 2024 1

HI,
I am encountering the same issue, could you please explain what you did to fix the issue?

from rpl-attacks.

dhondta avatar dhondta commented on September 21, 2024

The problem should be solved. Please git pull and tell me if it works.

from rpl-attacks.

dmabm avatar dmabm commented on September 21, 2024

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.
error-02

Thank you

from rpl-attacks.

dhondta avatar dhondta commented on September 21, 2024

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.

dmabm avatar dmabm commented on September 21, 2024

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.

dmabm avatar dmabm commented on September 21, 2024

Hi dhondta,
Were you get a chance to have a look at this problem.

Thank you.

from rpl-attacks.

dhondta avatar dhondta commented on September 21, 2024

Hi dmabm,
I was gone for a few days. I'm now working on fixing this problem...

from rpl-attacks.

dmabm avatar dmabm commented on September 21, 2024

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.

dmabm avatar dmabm commented on September 21, 2024

Hi dhondta,

Just a kind reminder, did you get a chance to have a look at this problem ?

Thanks
Akalanka

from rpl-attacks.

dhondta avatar dhondta commented on September 21, 2024

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.

dhondta avatar dhondta commented on September 21, 2024

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.

dhondta avatar dhondta commented on September 21, 2024

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 the restart function (see core/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.

dhondta avatar dhondta commented on September 21, 2024

This fix should have fixed the bug.
Please let me know if you still encounter the error, please.

from rpl-attacks.

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.