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

Error while using 'make_all' command #45

Closed
jalabano opened this issue May 1, 2019 · 4 comments
Closed

Error while using 'make_all' command #45

jalabano opened this issue May 1, 2019 · 4 comments
Assignees

Comments

@jalabano
Copy link

jalabano commented May 1, 2019

Hi,
I have a problem while using 'make_all' command. What can be the reason for that error ? I cannot figure it out. Thanks in advance.

1
2

@dhondta
Copy link
Owner

dhondta commented May 2, 2019

Hi @jalabano , thank you for reporting this.
Could you provide the crash report that should have been generated in your experiment folder, please ?

@jalabano
Copy link
Author

jalabano commented May 3, 2019

Actually there is no crash report in the Experiments folder. I think I got an error before creating the crash report.

@jalabano
Copy link
Author

jalabano commented May 5, 2019

Hi again,
After reinstalling InstantContiki 3.0 and trying the framework, now I have a different problem. I used "prepare" and "make_all" commands successfully however I got an error after using "run_all" command. After this command, Cooja simulator startup screen showed and when I closed it, I got the following error. Do you have any idea related to this situation?

1
2

@dhondta
Copy link
Owner

dhondta commented May 6, 2019

Hi @jalabano

For the first problem, it seems to be related to Contiki itself. You may miss some C librairies to compile the motes, therefore causing the command failure error. Also, I figured out that make_crash_report is only called for commands decorated with a CommandMonitor which is used with multiprocessing (disabled by default at this time). So, this is something I will fix soon.

For the second problem, the run command starts Cooja to actually run the simulation and the error you got is raised because you closed the simulator before it ends its computation, therefore preventing it to create the log file powertracker.log (and surely other ones) in experiment's folder. That's something ugly ; with the setup command, I modify the startup settings of Cooja to run it in hidden mode but sadly, it still displays a window (as in your first screenshot). That's something that, as far as I know, I can't fix. So please do not close Cooja's window when you see it open as it runs the simulation, producing data and log files.

As you do not seem to use the virtual appliance I provide through the Vagrant Cloud yet, I would suggest you to start using it. It may fix the issue.

@dhondta dhondta self-assigned this May 6, 2019
@dhondta dhondta closed this as completed Aug 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants