Comments (45)
Exception AttributeError: "can't set attribute" in > ignored
That bug should be fixed in git version. However, I'm a bit puzzled as
to why you would be running netperf-wrapper on Python 3 with the squeeze
package. Could you provide the output of each of the following commands,
please:
dpkg -L netperf-wrapper
dpkg -s netperf-wrapper
netperf-wrapper -V
python -V
head -n 1 /usr/bin/netperf-wrapper
Thanks,
-Toke
from flent.
Thanks for your fast reply,
So, the output of each command line :
dpkg -L netperf-wrapper
Package netperf-wrapper' is not installed. Use dpkg --info (= dpkg-deb --info) to examine archive files, and dpkg --contents (= dpkg-deb --contents) to list their contents. *dpkg -s netperf-wrapper* Package: netperf-wrapper Status: unknown ok not-installed Priority: optional Section: python *netperf-wrapper -V* Netperf-wrapper v0.5.6 *head -n 1 /usr/bin/netperf-wrapper* head: cannot open
/usr/bin/netperf-wrapper' for reading: No such file or
directory
However in /usr/local/bin/netperf-wrapper it shows :
#!/usr/bin/python3
PS :
I installed netperf-wrapper from source (python3 setup.py install) and this
is the output :
running install
running build
running build_py
creating build
creating build/lib.linux-i686-3.1
creating build/lib.linux-i686-3.1/netperf_wrapper
copying netperf_wrapper/init.py ->
build/lib.linux-i686-3.1/netperf_wrapper
copying netperf_wrapper/resultset.py ->
build/lib.linux-i686-3.1/netperf_wrapper
copying netperf_wrapper/util.py -> build/lib.linux-i686-3.1/netperf_wrapper
copying netperf_wrapper/transformers.py ->
build/lib.linux-i686-3.1/netperf_wrapper
copying netperf_wrapper/aggregators.py ->
build/lib.linux-i686-3.1/netperf_wrapper
copying netperf_wrapper/runners.py ->
build/lib.linux-i686-3.1/netperf_wrapper
copying netperf_wrapper/ordereddict.py ->
build/lib.linux-i686-3.1/netperf_wrapper
copying netperf_wrapper/settings.py ->
build/lib.linux-i686-3.1/netperf_wrapper
copying netperf_wrapper/formatters.py ->
build/lib.linux-i686-3.1/netperf_wrapper
copying netperf_wrapper/build_info.py ->
build/lib.linux-i686-3.1/netperf_wrapper
running build_scripts
creating build/scripts-3.1
copying and adjusting netperf-wrapper -> build/scripts-3.1
changing mode of build/scripts-3.1/netperf-wrapper from 644 to 755
running install_lib
creating /usr/local/lib/python3.1/dist-packages/netperf_wrapper
copying build/lib.linux-i686-3.1/netperf_wrapper/init.py ->
/usr/local/lib/python3.1/dist-packages/netperf_wrapper
copying build/lib.linux-i686-3.1/netperf_wrapper/resultset.py ->
/usr/local/lib/python3.1/dist-packages/netperf_wrapper
copying build/lib.linux-i686-3.1/netperf_wrapper/util.py ->
/usr/local/lib/python3.1/dist-packages/netperf_wrapper
copying build/lib.linux-i686-3.1/netperf_wrapper/transformers.py ->
/usr/local/lib/python3.1/dist-packages/netperf_wrapper
copying build/lib.linux-i686-3.1/netperf_wrapper/aggregators.py ->
/usr/local/lib/python3.1/dist-packages/netperf_wrapper
copying build/lib.linux-i686-3.1/netperf_wrapper/runners.py ->
/usr/local/lib/python3.1/dist-packages/netperf_wrapper
copying build/lib.linux-i686-3.1/netperf_wrapper/ordereddict.py ->
/usr/local/lib/python3.1/dist-packages/netperf_wrapper
copying build/lib.linux-i686-3.1/netperf_wrapper/settings.py ->
/usr/local/lib/python3.1/dist-packages/netperf_wrapper
copying build/lib.linux-i686-3.1/netperf_wrapper/formatters.py ->
/usr/local/lib/python3.1/dist-packages/netperf_wrapper
copying build/lib.linux-i686-3.1/netperf_wrapper/build_info.py ->
/usr/local/lib/python3.1/dist-packages/netperf_wrapper
byte-compiling
/usr/local/lib/python3.1/dist-packages/netperf_wrapper/init.py to
init.pyc
byte-compiling
/usr/local/lib/python3.1/dist-packages/netperf_wrapper/resultset.py to
resultset.pyc
byte-compiling
/usr/local/lib/python3.1/dist-packages/netperf_wrapper/util.py to util.pyc
byte-compiling
/usr/local/lib/python3.1/dist-packages/netperf_wrapper/transformers.py to
transformers.pyc
byte-compiling
/usr/local/lib/python3.1/dist-packages/netperf_wrapper/aggregators.py to
aggregators.pyc
byte-compiling
/usr/local/lib/python3.1/dist-packages/netperf_wrapper/runners.py to
runners.pyc
byte-compiling
/usr/local/lib/python3.1/dist-packages/netperf_wrapper/ordereddict.py to
ordereddict.pyc
byte-compiling
/usr/local/lib/python3.1/dist-packages/netperf_wrapper/settings.py to
settings.pyc
byte-compiling
/usr/local/lib/python3.1/dist-packages/netperf_wrapper/formatters.py to
formatters.pyc
byte-compiling
/usr/local/lib/python3.1/dist-packages/netperf_wrapper/build_info.py to
build_info.pyc
running install_scripts
copying build/scripts-3.1/netperf-wrapper -> /usr/local/bin
changing mode of /usr/local/bin/netperf-wrapper to 755
running install_data
copying tests/ping.conf -> /usr/local/share/netperf-wrapper/tests
copying tests/rrul_noclassification.conf ->
/usr/local/share/netperf-wrapper/tests
copying CHANGES -> /usr/local/share/doc/netperf-wrapper
running install_egg_info
Writing
/usr/local/lib/python3.1/dist-packages/netperf_wrapper-0.5.6.egg-info
2013/4/18 Toke Høiland-Jørgensen [email protected]
Exception AttributeError: "can't set attribute" in > ignored
That bug should be fixed in git version. However, I'm a bit puzzled as
to why you would be running netperf-wrapper on Python 3 with the squeeze
package. Could you provide the output of each of the following commands,
please:dpkg -L netperf-wrapper
dpkg -s netperf-wrapper
netperf-wrapper -V
python -V
head -n 1 /usr/bin/netperf-wrapperThanks,
-Toke
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-16564800
.
"*We build software for people that build software.."
Ahmed Bessifi*
Étudiant ingénieur en informatique à la Faculté des Sciences de Tunis,
Technicien Supérieur en Télécommunication diplômé de l'ISETCom,
Membre au Club des Logiciels Libres à la FST.
from flent.
I installed netperf-wrapper from source (python3 setup.py install) and
this is the output :
Ah, then things make sense. In that case, please test the current git
head and see if that fixes your original issue. :)
-Toke
from flent.
Hi :D,
In fact, I can finally run netperf-wrapper with python3 and I get json data
as result but when I run netperf-wrapper with plotting options
"netperf-wrapper -H localhost -p totals ping" and it tells me :
Error occurred: Unable to plot -- matplotlib is missing! Please install it
if you want plots.
But I sure that matplotlib is install in my squeeze :
*ii python-matplotlib 0.99.3-1 Python based plotting system in a
style similar to Matlab
*
I tried to install matplotlib-1.2.1, and this later depends of numpy-1.4
witch needs g77 compiler (deprecated). I tried wifh gfortrand but it
doesn't work.
Is there a tool that takes my json data and makes me graphics ?
Best regards,
Ahmed
2013/4/18 Toke Høiland-Jørgensen [email protected]
I installed netperf-wrapper from source (python3 setup.py install) and
this is the output :Ah, then things make sense. In that case, please test the current git
head and see if that fixes your original issue. :)-Toke
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-16567486
.
"*We build software for people that build software.."
Ahmed Bessifi*
Étudiant ingénieur en informatique à la Faculté des Sciences de Tunis,
Technicien Supérieur en Télécommunication diplômé de l'ISETCom,
Membre au Club des Logiciels Libres à la FST.
from flent.
In fact, I can finally run netperf-wrapper with python3 and I get json data
as result
Excellent. Closing this bug, then. :)
Is there a tool that takes my json data and makes me graphics ?
Getting a working matplotlib on Debian squeeze with python 3 is a
hassle. This is the reason why the package installs netperf-wrapper for
python 2. If you just run it through python2 (python2 setup.py install,
or just python2 netperf-wrapper), you should be able to create plots.
Otherwise, you will have to figure out a way to get a working matplotlib
installation for your python3 install.
There's a javascript-based plotting engine here:
https://github.com/bipulkkuri/netperf-wrapper/tree/master/web-charts but
it is limited to a subset of the available plots, and hasn't been
updated in a while, so I have no idea how well it works...
-Toke
from flent.
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1685, in init
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable
from flent.
what is the problem here
$ sh ./genrate_plot.sh tcp_bidirectional-2013-07-16T175148.774280.json.gz
Error occurred: Unable to plot -- matplotlib is missing! Please install it if you want plots.
Error occurred: Unable to plot -- matplotlib is missing! Please install it if you want plots.
Error occurred: Unable to plot -- matplotlib is missing! Please install it if you want plots.
Error occurred: Unable to plot -- matplotlib is missing! Please install it if you want plots.
Error occurred: Unable to plot -- matplotlib is missing! Please install it if you want plots.
Error occurred: Unable to plot -- matplotlib is missing! Please install it if you want plots.
Error occurred: Unable to plot -- matplotlib is missing! Please install it if you want plots.
Error occurred: Unable to plot -- matplotlib is missing! Please install it if you want plots.
Error occurred: Unable to plot -- matplotlib is missing! Please install it if you want plots.
Error occurred: Unable to plot -- matplotlib is missing! Please install it if you want plots.
Error occurred: Unable to plot -- matplotlib is missing! Please install it if you want plots.
Error occurred: Unable to plot -- matplotlib is missing! Please install it if you want plots.
unix2dos: converting file /home/netperf-wrapper-master/results/tcp_bidirectional-2013-07-16T175148.774280.json.gz/tcp_bidirectional-2013-07-16T175148.774280.json.gz_stats.txt to DOS format ...
Warning: Totals are computed as cumulative sum * step size,
so spurious values wreck havoc with the results.
Results 2013-07-16 17:51:48.774280:
Ping (ms) ICMP:
No data.
TCP download:
Data points: 300
Total: 38085.929226 Mbits
Mean: 634.765487 Mbits/s
Median: 638.418179 Mbits/s
Min: 328.621070 Mbits/s
Max: 690.050000 Mbits/s
Std dev: 25.980851
Variance: 675.004618
TCP upload:
Data points: 302
Total: 40461.318193 Mbits
Mean: 669.889374 Mbits/s
Median: 668.008099 Mbits/s
Min: 579.080000 Mbits/s
Max: 729.469974 Mbits/s
Std dev: 12.157130
Variance: 147.795802
from flent.
for above i installed ...netperf and matplotlib
....
from flent.
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1685, in init
self.tk = _tkinter.create(screenName, baseName, className, interactive,
wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable
It looks like you're running this on a box with no X-server running, and
without specifying and output file (with -o). In this case, matplotlib
tries to pop up an interactive plot viewer, which only works under X.
Exporting to file (e.g. PDF or PNG) should work without X.
what is the problem here
$ sh ./genrate_plot.sh tcp_bidirectional-2013-07-16T175148.774280.json.gz
Error occurred: Unable to plot -- matplotlib is missing! Please install it if
you want plots.
Just what it says; it can't find matplotlib. How did you install
netperf-wrapper and matplotlib?
-Toke
from flent.
i am not getting graphs
from flent.
other data i am getting,,, i am using windows 7 64 bit
python -V
Python 2.7.3
netperf-wrapper -V
Netperf-wrapper v0.5.6-git on Python 2.7.3 (default, Dec 18 2012, 13:50:09) [GCC 4.5.3].
matplotlib-1.2.1
from flent.
i am geeting Json data... from that how can i genrate graphs tell me..
,,, then in my case i am using cygwin ,,, in that only i installed python, ,,, while running netperf-wrapper
-f plot ,,, option i am not getting because it will ask for matlibplot... i insatlled that one also
from flent.
netperf -P 0 -v 0 -D -0.2 -4 -H 200.200.100.1 -t TCP_STREAM -l 60 -f m
netperf -P 0 -v 0 -D -0.2 -4 -H 200.200.100.1 -t TCP_MAERTS -l 60 -f m
these two are working..... any other way to get graphs from the json data..
from flent.
How did you install netperf-wrapper and matplotlib?
…by using the source ,,,in cygwin
from flent.
root@nswteam:/home/tapan/tmp/hanumanth/New folder/netperf-wrapper-master# ./genrate_plot.sh tcp_bidirectional-2013-07-16T175148.774280.json.gz
Error occurred: Unable to find plot configuration 'all'
Error occurred: Unable to find plot configuration 'all_scaled'
Error occurred: Unable to find plot configuration 'totals_scaled'
Error occurred: Unable to find plot configuration 'download'
Error occurred: Unable to find plot configuration 'download_scaled'
Error occurred: Unable to find plot configuration 'upload'
Error occurred: Unable to find plot configuration 'upload_scaled'
Error occurred: Unable to find plot configuration 'ping'
Error occurred: Unable to find plot configuration 'ping_scaled'
/usr/lib/python2.7/dist-packages/numpy/core/fromnumeric.py:2374: RuntimeWarning: invalid value encountered in double_scalars
return mean(axis, dtype, out)
Traceback (most recent call last):
File "./netperf-wrapper", line 63, in
formatter.format(results)
File "/home/tapan/tmp/hanumanth/New folder/netperf-wrapper-master/netperf_wrapper/formatters.py", line 448, in format
getattr(self, 'do%s_plot' % self.config['type'])(results[0])
File "/home/tapan/tmp/hanumanth/New folder/netperf-wrapper-master/netperf_wrapper/formatters.py", line 401, in _do_cdf_plot
self.min_vals.append(min(d))
ValueError: min() arg is an empty sequence
Error occurred: Unable to find plot configuration 'icmp_cdf'
unix2dos: converting file /home/netperf-wrapper-master/results/tcp_bidirectional-2013-07-16T175148.774280.json.gz/tcp_bidirectional-2013-07-16T175148.774280.json.gz_stats.txt to DOS format ...
Warning: Totals are computed as cumulative sum * step size,
so spurious values wreck havoc with the results.
Results 2013-07-16 17:51:48.774280:
Ping (ms) ICMP:
No data.
TCP download:
Data points: 300
Total: 38085.929226 Mbits
Mean: 634.765487 Mbits/s
Median: 638.418179 Mbits/s
Min: 328.621070 Mbits/s
Max: 690.050000 Mbits/s
Std dev: 25.980851
Variance: 675.004618
TCP upload:
Data points: 302
Total: 40461.318193 Mbits
Mean: 669.889374 Mbits/s
Median: 668.008099 Mbits/s
Min: 579.080000 Mbits/s
Max: 729.469974 Mbits/s
Std dev: 12.157130
Variance: 147.795802
from flent.
tell me what is the problem above,,,,
from flent.
$ ./genrate_plot.sh tcp_bidirectional-2013-07-16T175148.774280.json.gz
Error occurred: Unable to plot -- matplotlib is missing! Please install it if you want plots.
Error occurred: Unable to plot -- matplotlib is missing! Please install it if you want plots.
Error occurred: Unable to plot -- matplotlib is missing! Please install it if you want plots.
Error occurred: Unable to plot -- matplotlib is missing! Please install it if you want plots.
Error occurred: Unable to plot -- matplotlib is missing! Please install it if you want plots.
Error occurred: Unable to plot -- matplotlib is missing! Please install it if you want plots.
Error occurred: Unable to plot -- matplotlib is missing! Please install it if you want plots.
Error occurred: Unable to plot -- matplotlib is missing! Please install it if you want plots.
Error occurred: Unable to plot -- matplotlib is missing! Please install it if you want plots.
Error occurred: Unable to plot -- matplotlib is missing! Please install it if you want plots.
Error occurred: Unable to plot -- matplotlib is missing! Please install it if you want plots.
Error occurred: Unable to plot -- matplotlib is missing! Please install it if you want plots.
unix2dos: converting file /home/netperf-wrapper-master/results/tcp_bidirectional-2013-07-16T175148.774280.json.gz/tcp_bidirectional-2013-07-16T175148.774280.json.gz_stats.txt to DOS format ...
Warning: Totals are computed as cumulative sum * step size,
so spurious values wreck havoc with the results.
Results 2013-07-16 17:51:48.774280:
Ping (ms) ICMP:
No data.
TCP download:
Data points: 300
Total: 38085.929226 Mbits
Mean: 634.765487 Mbits/s
Median: 638.418179 Mbits/s
Min: 328.621070 Mbits/s
Max: 690.050000 Mbits/s
Std dev: 25.980851
Variance: 675.004618
TCP upload:
Data points: 302
Total: 40461.318193 Mbits
Mean: 669.889374 Mbits/s
Median: 668.008099 Mbits/s
Min: 579.080000 Mbits/s
Max: 729.469974 Mbits/s
Std dev: 12.157130
Variance: 147.795802
from flent.
THANKS
from flent.
james123456 [email protected] writes:
$ ./genrate_plot.sh
What, exactly, does 'genrate_plot.sh' do?
Also, what, if any, is the output of this command:
python -c 'import matplotlib; import numpy'
-Toke
from flent.
its script ,,, that genrates the graphs from json... any other way to get it,,,
/home/netperf-wrapper-master
$ python -c 'import matplotlib'
/home/netperf-wrapper-master
$ python -c 'import numpy'
from flent.
otherwise tell me exact installation steps
i am using windows 7 64bit
cygwin
python 2.7 is present inside cygwin... any other way to install it...i need it on windows machine thats my requirment
...............
thanks
from flent.
from those two command i am not getting any output..
from flent.
from those two command i am not getting any output..
Right. That means that numpy and matplotlib are installed correctly,
which is good.
Since you say you built matplotlib from source, my next guess would be
that it has something to do with missing libraries for file format
output. If you have a json datafile (let's call it data.json.gz), try
the following commands and see if any of them work:
netperf-wrapper -i data.json.gz -f plot -o test.svg
netperf-wrapper -i data.json.gz -f plot -o test.ps
netperf-wrapper -i data.json.gz -f plot -o test.pdf
netperf-wrapper -i data.json.gz -f plot -o test.png
Those should save the graph data to files in the different formats. If
you find one that works, you can simply pass the relevant -o switch when
running netperf-wrapper (works on output when run for the first time,
not just when reading in a datafile).
-Toke
from flent.
-
$ netperf-wrapper -i tcp_bidirectional-2013-07-16T175148.774280.json.gz -f plot -o test.svg
-
$ netperf-wrapper -i tcp_bidirectional-2013-07-16T175148.774280.json.gz -f plot -o test.ps
/usr/lib/python2.7/site-packages/matplotlib/tight_bbox.py:55: UserWarning: bbox_inches option for ps backend is not implemented yet.
"implemented yet." % (format)) -
netperf-wrapper -i tcp_bidirectional-2013-07-16T175148.774280.json.gz -f plot -o test.pdf
-
netperf-wrapper -i tcp_bidirectional-2013-07-16T175148.774280.json.gz -f plot -o test.png
all are working fine ... 2nd one .......with .ps its not fine
from flent.
all are working fine ... 2nd one .......with .ps its not fine
Right, there's something dodgy with the .ps backend. However, you should
be able to use the other formats. How do the test.* files look? Does
this solve your problem?
-Toke
from flent.
THANKS ... but while ggiving out put file with -o what can i give .png .pdf like that are just with file name ... i am asking when i will run
./netperf-wrapper -H 200.200.100.1 tcp_bidirectional -o test
... and here -f is not working ... help me on this topic ... otherwise provide me some examples..
Thanks i saw graph ,, i am happy
from flent.
... and here -f is not working ... help me on this topic ... otherwise
provide me some examples..
Basically, -f selects the output format, currently one of 'plot',
'csv', 'org_table' or 'stats'. -o select the output file, which
defaults to standard output.
Now, the plot formatter is special in that it produces images, and so
writing the output to stdout doesn't really make sense. That is why it
instead pops up an interactive viewer, which seems to be broken in your
matplotlib installation. When given an output file name, the plot
formatter extracts and image file format from the file name, and will
write the appropriate file format to the specified output file.
I realise this overloading of the -o option is not terribly intuitive,
but that stems from the fact that the options have grown over time.
So basically, to save an image file, you need to specify both -f plot
and an image file name to -o. If you use another formatter (such as
stats), it will write text to the file, even if the filename ends in an
image file extension.
Thanks i saw graph ,, i am happy
Excellent. Good luck with you benchmarking. :)
-Toke
from flent.
$ ./netperf-wrapper -H 200.200.100.1 tcp_bidirectional -f plot -o test
Error occurred: Unable to plot -- matplotlib is missing! Please install it if you want plots.
........ tell me now .... here -f won't work
from flent.
Warning: Command produced no valid data.
Data series: Ping (ms) ICMP
Runner: PingRunner
Command: /usr/bin/ping -D -i 0.20 -w 70 200.200.100.1
Standard error output:
from flent.
$ ./netperf-wrapper -H 200.200.100.1 tcp_bidirectional -f plot -o test
You need to put a file format on the output. E.g. -o test.pdf
from flent.
Warning: Command produced no valid data.
Data series: Ping (ms) ICMP
Runner: PingRunner
Command: /usr/bin/ping -D -i 0.20 -w 70 200.200.100.1
Standard error output:
This usually happens when all the ping packets are lost; shouldn't be
fatal, you just won't get any ping data on your graphs...
from flent.
i need to get ping data also what i have to do
ping -D -i 0.20 -w 70 200.200.100.1
This command need to work
from flent.
if it works then ping data will be present in graph...
tell me what i have to do ?
Thnaks
from flent.
i need to get ping data also what i have to do
ping -D -i 0.20 -w 70 200.200.100.1
This command need to work
If it doesn't, I would advise you to try installing fping instead:
http://fping.org/ - make sure you install the latest version (3.5), and
that it is accessible in your PATH (i.e. running just fping
from the
terminal works). In that case netperf-wrapper should pick it up and use
that rather than the build-in ping.
-Toke
from flent.
make all-recursive
make[1]: Entering directory /home/fping-3.5' Making all in doc make[2]: Entering directory
/home/fping-3.5/doc'
make[2]: Nothing to be done for all'. make[2]: Leaving directory
/home/fping-3.5/doc'
Making all in src
make[2]: Entering directory /home/fping-3.5/src' gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT fping.o -MD -MP -MF .deps/fping.Tpo -c -o fping.o fping.c fping.c:103:14: warning: ‘optarg’ redeclared without dllimport attribute: previo us dllimport ignored [-Wattributes] fping.c:104:12: warning: ‘optind’ redeclared without dllimport attribute: previo us dllimport ignored [-Wattributes] fping.c:104:19: warning: ‘opterr’ redeclared without dllimport attribute: previo us dllimport ignored [-Wattributes] fping.c:105:12: warning: ‘h_errno’ redeclared without dllimport attribute: previ ous dllimport ignored [-Wattributes] fping.c:351:54: warning: ‘struct icmp’ declared inside parameter list [enabled b y default] fping.c:351:54: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] fping.c: In function ‘main’: fping.c:724:28: error: ‘ICMP_MINLEN’ undeclared (first use in this function) fping.c:724:28: note: each undeclared identifier is reported only once for each function it appears in fping.c: In function ‘send_ping’: fping.c:1550:8: error: dereferencing pointer to incomplete type fping.c:1550:22: error: ‘ICMP_ECHO’ undeclared (first use in this function) fping.c:1551:8: error: dereferencing pointer to incomplete type fping.c:1552:8: error: dereferencing pointer to incomplete type fping.c:1553:8: error: dereferencing pointer to incomplete type fping.c:1554:8: error: dereferencing pointer to incomplete type fping.c:1556:36: error: ‘ICMP_MINLEN’ undeclared (first use in this function) fping.c:1560:8: error: dereferencing pointer to incomplete type fping.c: In function ‘wait_for_reply’: fping.c:1679:25: error: ‘ICMP_MINLEN’ undeclared (first use in this function) fping.c:1700:12: error: dereferencing pointer to incomplete type fping.c:1700:27: error: ‘ICMP_ECHOREPLY’ undeclared (first use in this function) fping.c:1706:9: warning: passing argument 1 of ‘handle_random_icmp’ from incompa tible pointer type [enabled by default] fping.c:351:5: note: expected ‘struct icmp *’ but argument is of type ‘struct ic mp *’ fping.c:1712:9: error: dereferencing pointer to incomplete type fping.c:1712:9: error: dereferencing pointer to incomplete type fping.c:1712:9: error: dereferencing pointer to incomplete type fping.c:1712:9: error: dereferencing pointer to incomplete type fping.c:1721:9: error: dereferencing pointer to incomplete type fping.c:1721:9: error: dereferencing pointer to incomplete type fping.c:1721:9: error: dereferencing pointer to incomplete type fping.c:1721:9: error: dereferencing pointer to incomplete type fping.c:1728:9: error: dereferencing pointer to incomplete type fping.c:1728:9: error: dereferencing pointer to incomplete type fping.c:1728:9: error: dereferencing pointer to incomplete type fping.c:1728:9: error: dereferencing pointer to incomplete type fping.c:1742:28: error: dereferencing pointer to incomplete type fping.c:1743:29: error: dereferencing pointer to incomplete type fping.c: At top level: fping.c:1901:54: warning: ‘struct icmp’ declared inside parameter list [enabled by default] fping.c:1901:5: error: conflicting types for ‘handle_random_icmp’ fping.c:351:5: note: previous declaration of ‘handle_random_icmp’ was here fping.c: In function ‘handle_random_icmp’: fping.c:1913:14: error: dereferencing pointer to incomplete type fping.c:1918:10: error: ‘ICMP_UNREACH’ undeclared (first use in this function) fping.c:1924:24: error: dereferencing pointer to incomplete type fping.c:1924:39: error: ‘ICMP_ECHO’ undeclared (first use in this function) fping.c:1925:15: error: dereferencing pointer to incomplete type fping.c:1925:15: error: dereferencing pointer to incomplete type fping.c:1925:15: error: dereferencing pointer to incomplete type fping.c:1925:15: error: dereferencing pointer to incomplete type fping.c:1926:15: error: dereferencing pointer to incomplete type fping.c:1926:15: error: dereferencing pointer to incomplete type fping.c:1926:15: error: dereferencing pointer to incomplete type fping.c:1926:15: error: dereferencing pointer to incomplete type fping.c:1929:23: error: dereferencing pointer to incomplete type fping.c:1929:23: error: dereferencing pointer to incomplete type fping.c:1929:23: error: dereferencing pointer to incomplete type fping.c:1929:23: error: dereferencing pointer to incomplete type fping.c:1931:18: error: dereferencing pointer to incomplete type fping.c:1954:39: error: dereferencing pointer to incomplete type fping.c:1974:10: error: ‘ICMP_SOURCEQUENCH’ undeclared (first use in this functi on) fping.c:1975:10: error: ‘ICMP_REDIRECT’ undeclared (first use in this function) fping.c:1976:10: error: ‘ICMP_TIMXCEED’ undeclared (first use in this function) fping.c:1977:10: error: ‘ICMP_PARAMPROB’ undeclared (first use in this function) fping.c:1980:24: error: dereferencing pointer to incomplete type fping.c:1981:15: error: dereferencing pointer to incomplete type fping.c:1981:15: error: dereferencing pointer to incomplete type fping.c:1981:15: error: dereferencing pointer to incomplete type fping.c:1981:15: error: dereferencing pointer to incomplete type fping.c:1982:15: error: dereferencing pointer to incomplete type fping.c:1982:15: error: dereferencing pointer to incomplete type fping.c:1982:15: error: dereferencing pointer to incomplete type fping.c:1982:15: error: dereferencing pointer to incomplete type fping.c:1985:23: error: dereferencing pointer to incomplete type fping.c:1985:23: error: dereferencing pointer to incomplete type fping.c:1985:23: error: dereferencing pointer to incomplete type fping.c:1985:23: error: dereferencing pointer to incomplete type fping.c:1987:32: error: dereferencing pointer to incomplete type fping.c:2013:10: error: ‘ICMP_TSTAMP’ undeclared (first use in this function) fping.c:2014:10: error: ‘ICMP_TSTAMPREPLY’ undeclared (first use in this functio n) fping.c:2015:10: error: ‘ICMP_IREQ’ undeclared (first use in this function) fping.c:2016:10: error: ‘ICMP_IREQREPLY’ undeclared (first use in this function) fping.c:2017:10: error: ‘ICMP_MASKREQ’ undeclared (first use in this function) fping.c:2018:10: error: ‘ICMP_MASKREPLY’ undeclared (first use in this function) Makefile:295: recipe for target
fping.o' failed
make[2]: *** [fping.o] Error 1
make[2]: Leaving directory /home/fping-3.5/src' Makefile:292: recipe for target
all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory /home/fping-3.5' Makefile:232: recipe for target
all' failed
make: *** [all] Error 2
from flent.
i am getting some error ..
from flent.
thanks
./configure
make
make install
....... while make i am getting some warrnig and error
from flent.
in bellow case i am getting that error ........
after getting json its getting plot but its not allowing me while running this command
$ ./netperf-wrapper -H 200.200.100.1 tcp_bidirectional -f plot -o test.png
Error occurred: Unable to plot -- matplotlib is missing! Please install it if yo u want plots.
$ ./netperf-wrapper -H 200.200.100.1 tcp_bidirectional -f plot -o test.pdf
Error occurred: Unable to plot -- matplotlib is missing! Please install it if yo u want plots.
the below command works fine ... but me getting error in above
netperf-wrapper -i tcp_bidirectional-2013-07-16T175148.774280.json.gz -f plot -o test.png
------------------------------ WHAT IS the reson ?>>>>>>>>>>>>>>?????????????????????
from flent.
$ ./netperf-wrapper -H 200.200.100.1 tcp_bidirectional -f plot -o test.pdf
netperf-wrapper -i tcp_bidirectional-2013-07-16T175148.774280.json.gz -f plot -o
test.png
Dunno if it's just copy/pasted differently, but do you run
./netperf-wrapper in one instance and netperf-wrapper (without the ./)
in the other?
In that case, what's the output of netperf-wrapper -V and
./netperf-wrapper -V ?
-Toke
from flent.
$ netperf-wrapper -V
Netperf-wrapper v0.5.6-git on Python 2.7.3 (default, Dec 18 2012, 13:50:09) [GCC 4.5.3].
$ ./netperf-wrapper -V
Netperf-wrapper v0.5.6-git on Python 3.2.3 (default, Jul 23 2012, 16:48:24) [GCC 4.5.3].
..............................Both are same
from flent.
in above python version is different
from flent.
$ netperf-wrapper -V
Netperf-wrapper v0.5.6-git on Python 2.7.3 (default, Dec 18 2012, 13:50:09) [GCC
4.5.3].$ ./netperf-wrapper -V
Netperf-wrapper v0.5.6-git on Python 3.2.3 (default, Jul 23 2012, 16:48:24) [GCC
4.5.3]...............................Both are same
Yes, but the Python versions are different. My guess is you only have
matplotlib installed in python 2; when running as ./netperf-wrapper
python 3 is invoked which does not have matplotlib.
The solution is to either install matplotlib for python3 as well, or to
run the script explicitly to python2 (i.e. substitute python2 netperf-wrapper
for ./netperf-wrapper
).
-Toke
from flent.
tell me for that ping ri....
Thanks
its not compiling ,,, i am getting error
thanks
from flent.
tell me for that ping ri....
Thanks
its not compiling ,,, i am getting error
Looks like some missing dependencies or something. I've never compiled
fping on cygwin, so can't really help you much there, I'm afraid. I'd
suggest you contact the author of fping if you can't get it to work.
-Toke
from flent.
ping -D is not present .. thats the main reson i am not getting ping data in graph...
how to get ping with -D options
from flent.
Related Issues (20)
- focus bug when using cursor keys
- Bug on Debian 11 HOT 2
- Feature Request: Add CPU plot to tests HOT 6
- ModuleNotFoundError: No module named 'matplotlib' HOT 1
- Blur my IP HOT 6
- WARNING: Built wheel for flent is invalid: Metadata 1.2 mandates PEP 440 version, but '2.1.1-git-d48ccab' is not HOT 2
- Output of the plots HOT 10
- Adding Fair Queuing Detection to Flent? HOT 10
- flent doesn't work with fping 5.1 HOT 1
- WARNING: Unable to build our own tight layout: 'Figure' object has no attribute '_cachedRenderer' HOT 3
- Uninstall flent 1.9.9-git-0024eb9 from macOS? HOT 1
- Blank window on start (Flent 2.1.1, macOS) HOT 4
- flent and python 3.12
- [netperf] Debian bookworm installation requires non-free and non-free-firmware in sources.list HOT 3
- UDP bursts results in an error - ERROR: No command set for SilentProcessRunner HOT 2
- Latency grade support HOT 3
- tcp_rtt plots not generated HOT 2
- Modified TOS values for RRUL test HOT 4
- udp_flood test not working HOT 1
- Run Flent with iperf HOT 6
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 flent.