You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I detected an issue when plotting the power consumption graph using plot_oml_consum.
Test Case :
+ BOARD : M3
+ Binary : binary of the example timer_periodic_wake_up (from the RIOT OS sources)
+ Number of nodes : 4
+ IoTLab Site : Grenoble
+ Used nodes : 95, 96, 101 and 102
+ Experiments numbers : 234396, 234385 and 234384
Expected Results :
+ OML files contains power consumption values 👍
+ OML plotter should use the OML file values to plot power consumption graph.
Real Results :
+ OML plotter ( plot_oml_consum -p -i ~/.iot-lab/last/consumption/m3_95.oml) detect some errors when lunched 👎
Here is the errors message :
challouf@grenoble:~$ plot_oml_consum -p -i ~/.iot-lab/last/consumption/m3_95.oml
/usr/local/lib/python2.7/dist-packages/oml_plot_tools/common.py:147: ConversionWarning: Some errors were detected !
Line #2106 (got 7 columns instead of 8)
invalid_raise=False)
Traceback (most recent call last):
File "/usr/local/bin/plot_oml_consum", line 24, in
oml_plot_tools.consum.main()
File "/usr/local/lib/python2.7/dist-packages/oml_plot_tools/consum.py", line 153, in main
consumption_plot(data, opts.title, selection)
File "/usr/local/lib/python2.7/dist-packages/oml_plot_tools/consum.py", line 115, in consumption_plot
oml_plot(data, title, [MEASURES_D[value]])
File "/usr/local/lib/python2.7/dist-packages/oml_plot_tools/consum.py", line 137, in oml_plot
plt.figure()
File "/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 533, in figure
**kwargs)
File "/usr/local/lib/python2.7/dist-packages/matplotlib/backend_bases.py", line 161, in new_figure_manager
return cls.new_figure_manager_given_figure(num, fig)
File "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/_backend_tk.py", line 1046, in new_figure_manager_given_figure
window = Tk.Tk(className="matplotlib")
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1823, in init
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable
I like to add that I used also the -X option when logging with SSH but still the same problem.
Thank you in advance
The text was updated successfully, but these errors were encountered:
Hi, I have just tested with your homedir. I put my SSH public key on your account profile and test to plot the file with success. I save the plot in your homedir with the name Figure_1.png
Hi,
I detected an issue when plotting the power consumption graph using plot_oml_consum.
Test Case :
+ BOARD : M3
+ Binary : binary of the example timer_periodic_wake_up (from the RIOT OS sources)
+ Number of nodes : 4
+ IoTLab Site : Grenoble
+ Used nodes : 95, 96, 101 and 102
+ Experiments numbers : 234396, 234385 and 234384
Expected Results :
+ OML files contains power consumption values 👍
+ OML plotter should use the OML file values to plot power consumption graph.
Real Results :
+ OML plotter ( plot_oml_consum -p -i ~/.iot-lab/last/consumption/m3_95.oml) detect some errors when lunched 👎
Here is the errors message :
challouf@grenoble:~$ plot_oml_consum -p -i ~/.iot-lab/last/consumption/m3_95.oml
/usr/local/lib/python2.7/dist-packages/oml_plot_tools/common.py:147: ConversionWarning: Some errors were detected !
Line #2106 (got 7 columns instead of 8)
invalid_raise=False)
Traceback (most recent call last):
File "/usr/local/bin/plot_oml_consum", line 24, in
oml_plot_tools.consum.main()
File "/usr/local/lib/python2.7/dist-packages/oml_plot_tools/consum.py", line 153, in main
consumption_plot(data, opts.title, selection)
File "/usr/local/lib/python2.7/dist-packages/oml_plot_tools/consum.py", line 115, in consumption_plot
oml_plot(data, title, [MEASURES_D[value]])
File "/usr/local/lib/python2.7/dist-packages/oml_plot_tools/consum.py", line 137, in oml_plot
plt.figure()
File "/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 533, in figure
**kwargs)
File "/usr/local/lib/python2.7/dist-packages/matplotlib/backend_bases.py", line 161, in new_figure_manager
return cls.new_figure_manager_given_figure(num, fig)
File "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/_backend_tk.py", line 1046, in new_figure_manager_given_figure
window = Tk.Tk(className="matplotlib")
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1823, in init
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable
I like to add that I used also the -X option when logging with SSH but still the same problem.
Thank you in advance
The text was updated successfully, but these errors were encountered: