mobile-insight / mobileinsight-core

Mobile Network Intelligence Made Easy -- MobileInsight core functionalities
http://www.mobileinsight.net
Other
105 stars 80 forks source link

Failed to run offline analysis example! #121

Open ghasemi931 opened 1 year ago

ghasemi931 commented 1 year ago

It gives an error at the end of the installation.


mohsen@mohsen-Lenovo-ideapad-500-15ISK:~/Programs/MobileInsight-6.0.0$ ./install-ubuntu.sh 
** Installer Script for mobileinsight-core on Ubuntu **

  Author : Zengwen Yuan (zyuan [at] cs.ucla.edu), Haotian Deng (deng164 [at] purdue.edu), Yuanjie Li (yuanjiel [at] tsinghua.edu.cn)
  Date   : 2020-10-20
  Rev    : 4.0
  Usage  : ./install-ubuntu.sh

Upgrading MobileInsight...
./uninstall.sh: line 12: python: command not found
Uninstalling MobileInsight-core v2.0 from your computer
This script will require sudo access to delete following files:
/home/mohsen/Programs/MobileInsight-6.0.0/MobileInsight.egg-info
/home/mohsen/Programs/MobileInsight-6.0.0/build
/home/mohsen/Programs/MobileInsight-6.0.0/dist
/home/mohsen/Programs/MobileInsight-6.0.0/ws_dissector/ws_dissector
/home/mohsen/Programs/MobileInsight-6.0.0/wireshark-2.0.*
/home/mohsen/.cache/Python-Eggs/MobileInsight*
/home/mohsen/.python-eggs/MobileInsight*
/usr/local/bin/mi-gui
/usr/local/bin/ws_dissector
/usr/local/share/mobileinsight/*
/usr/lib/libwireshark.so*
/usr/lib/libwsutil.so*
/usr/lib/libwireshark.6.dylib
/usr/lib/libwireshark.dylib
/usr/lib/libwiretap.5.dylib
/usr/lib/libwiretap.dylib
/usr/lib/libwsutil.6.dylib
/usr/lib/libwsutil.dylib

Uninstalling old MobileInsight build files and libs...
deleting /home/mohsen/Programs/MobileInsight-6.0.0/MobileInsight.egg-info
[sudo] password for mohsen: 
deleting /home/mohsen/Programs/MobileInsight-6.0.0/build
deleting /home/mohsen/Programs/MobileInsight-6.0.0/dist
deleting /home/mohsen/Programs/MobileInsight-6.0.0/ws_dissector/ws_dissector
deleting /usr/local/bin/mi-gui
deleting /usr/local/bin/ws_dissector
deleting /usr/local/share/mobileinsight/
Uninstallation finished.

Installing dependencies for compiling Wireshark libraries
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libgcrypt20-dev' instead of 'libgcrypt-dev'
bison is already the newest version (2:3.8.2+dfsg-1build1).
flex is already the newest version (2.6.4-8build2).
libc-ares-dev is already the newest version (1.18.1-1build1).
libgcrypt20-dev is already the newest version (1.9.4-3ubuntu3).
libglib2.0-dev is already the newest version (2.72.1-1).
libpcap-dev is already the newest version (1.10.1-4build1).
pkg-config is already the newest version (0.29.2-1ubuntu3).
wget is already the newest version (1.21.2-2ubuntu1).
libqt5svg5-dev is already the newest version (5.15.3-1).
libsdl2-image-2.0-0 is already the newest version (2.0.5+dfsg1-3build1).
libsdl2-mixer-2.0-0 is already the newest version (2.0.4+dfsg1-4build1).
qtmultimedia5-dev is already the newest version (5.15.3-1).
qttools5-dev is already the newest version (5.15.3-1).
cmake is already the newest version (3.22.1-1ubuntu1.22.04.1).
libsdl2-2.0-0 is already the newest version (2.0.20+dfsg-2ubuntu1.22.04.1).
qt5-default is already the newest version (5.99.99+fake-13ubuntu37).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Checking Wireshark sources to compile ws_dissector
Configuring Wireshark sources for ws_dissector compilation...
Check if proper version of wireshark dynamic library exists in system path...
Compiling wireshark-3.6.0 from source code, it may take a few minutes...
Consolidate compiler generated dependencies of target cli_main
Consolidate compiler generated dependencies of target shark_common
Consolidate compiler generated dependencies of target capture_opts
[  0%] Built target docs
[  0%] Built target cli_main
Consolidate compiler generated dependencies of target crypt
Consolidate compiler generated dependencies of target wmem
[  0%] Built target capture_opts
[  0%] Built target shark_common
Consolidate compiler generated dependencies of target lemon
Consolidate compiler generated dependencies of target dissectors-corba
[  0%] Built target lemon
[  1%] Built target crypt
[  2%] Built target wmem
[  3%] Built target dissectors-corba
Consolidate compiler generated dependencies of target ftypes
Consolidate compiler generated dependencies of target speexresampler
[  4%] Built target speexresampler
[  5%] Built target ftypes
Consolidate compiler generated dependencies of target writecap
Consolidate compiler generated dependencies of target extcap-base
[  5%] Built target writecap
[  5%] Built target extcap-base
Consolidate compiler generated dependencies of target wsutil
[  6%] Built target copy_data_files
We are on tag v3.6.0.
vcs_version.h unchanged.
[  6%] Built target vcs_version
Consolidate compiler generated dependencies of target dfilter
[  6%] Built target dfilter
[  9%] Built target wsutil
Consolidate compiler generated dependencies of target caputils
Consolidate compiler generated dependencies of target capchild
[  9%] Built target caputils
[  9%] Built target capchild
Consolidate compiler generated dependencies of target wiretap
Consolidate compiler generated dependencies of target version_info
Consolidate compiler generated dependencies of target idl2wrs
[  9%] Built target version_info
[  9%] Built target idl2wrs
Consolidate compiler generated dependencies of target udpdump
Consolidate compiler generated dependencies of target g711
[  9%] Built target udpdump
[  9%] Built target g711
Consolidate compiler generated dependencies of target l16mono
Consolidate compiler generated dependencies of target text2pcap
[ 10%] Built target l16mono
[ 10%] Built target text2pcap
[ 14%] Built target wiretap
Consolidate compiler generated dependencies of target usbdump
Consolidate compiler generated dependencies of target ui
[ 14%] Built target usbdump
[ 16%] Built target ui
Consolidate compiler generated dependencies of target mergecap
Consolidate compiler generated dependencies of target randpkt_core
Consolidate compiler generated dependencies of target reordercap
[ 16%] Built target mergecap
[ 16%] Built target randpkt_core
[ 16%] Built target reordercap
Consolidate compiler generated dependencies of target captype
Consolidate compiler generated dependencies of target capinfos
Consolidate compiler generated dependencies of target editcap
[ 16%] Built target captype
[ 16%] Built target capinfos
[ 16%] Built target editcap
Consolidate compiler generated dependencies of target androiddump
Consolidate compiler generated dependencies of target dumpcap
Consolidate compiler generated dependencies of target randpktdump
[ 16%] Built target androiddump
[ 16%] Built target dumpcap
[ 16%] Built target randpktdump
Consolidate compiler generated dependencies of target randpkt
[ 16%] Built target randpkt
Consolidate compiler generated dependencies of target dissectors
[ 86%] Built target dissectors
Consolidate compiler generated dependencies of target epan
[ 91%] Built target epan
Consolidate compiler generated dependencies of target dftest
Consolidate compiler generated dependencies of target rawshark
Consolidate compiler generated dependencies of target sharkd
Consolidate compiler generated dependencies of target tshark
[ 91%] Built target dftest
[ 91%] Built target rawshark
[ 91%] Built target sharkd
Consolidate compiler generated dependencies of target ethercat
Consolidate compiler generated dependencies of target irda
Consolidate compiler generated dependencies of target gryphon
[ 91%] Built target gryphon
[ 91%] Built target irda
[ 92%] Built target ethercat
Consolidate compiler generated dependencies of target opcua
Consolidate compiler generated dependencies of target mate
Consolidate compiler generated dependencies of target profinet
[ 94%] Built target tshark
Consolidate compiler generated dependencies of target stats_tree
[ 94%] Built target mate
[ 95%] Built target opcua
[ 95%] Built target stats_tree
Consolidate compiler generated dependencies of target transum
[ 96%] Built target profinet
Consolidate compiler generated dependencies of target unistim
Consolidate compiler generated dependencies of target wimaxasncp
[ 96%] Built target transum
[ 96%] Built target unistim
Consolidate compiler generated dependencies of target wimax
Consolidate compiler generated dependencies of target wimaxmacphy
Consolidate compiler generated dependencies of target fuzzshark
[ 97%] Built target wimaxasncp
[ 97%] Built target wimaxmacphy
[ 97%] Built target fuzzshark
[100%] Built target wimax
Installing wireshark-3.6.0
Reload ldconfig cache, your password may be required...
Compiling Wireshark dissector for mobileinsight...
Installing Wireshark dissector to /usr/local/bin
Installing dependencies for mobileinsight GUI...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package python-wxgtk3.0
E: Couldn't find any package by glob 'python-wxgtk3.0'
E: Couldn't find any package by regex 'python-wxgtk3.0'
/usr/bin/pip3
pyserial and matplotlib are successfully installed!
Installing mobileinsight-core...
Installing mobileinsight-core using sudo, your password may be required...
/home/mohsen/Programs/MobileInsight-6.0.0/setup.py:10: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  from distutils.core import setup
Building libraries...
running install
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/usr/lib/python3/dist-packages/setuptools/command/easy_install.py:158: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 1.1build1 is an invalid version and will not be supported in a future release
  warnings.warn(
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 0.1.43ubuntu1 is an invalid version and will not be supported in a future release
  warnings.warn(
running bdist_egg
running egg_info
creating MobileInsight.egg-info
writing MobileInsight.egg-info/PKG-INFO
writing dependency_links to MobileInsight.egg-info/dependency_links.txt
writing top-level names to MobileInsight.egg-info/top_level.txt
writing manifest file 'MobileInsight.egg-info/SOURCES.txt'
reading manifest file 'MobileInsight.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'build'
no previously-included directories found matching 'dist'
warning: no previously-included files matching '*.db' found under directory 'examples'
warning: no previously-included files matching '*.pyo' found under directory 'examples'
warning: no files found matching '*.m' under directory 'mobile_insight'
warning: no files found matching '*.pyd' under directory 'mobile_insight'
warning: no files found matching 'README' under directory 'mobile_insight'
warning: no previously-included files matching '*.db' found under directory 'mobile_insight'
warning: no previously-included files matching '*.pyo' found under directory 'mobile_insight'
warning: no previously-included files found matching 'mobile_insight/analyzer/handoff_loop_analyzer.py'
no previously-included directories found matching 'unit-test'
no previously-included directories found matching 'wireshark-2.0.13'
no previously-included directories found matching 'docs/docs'
adding license file 'LICENSE'
writing manifest file 'MobileInsight.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib.linux-x86_64-3.10
creating build/lib.linux-x86_64-3.10/mobile_insight
copying mobile_insight/utils.py -> build/lib.linux-x86_64-3.10/mobile_insight
copying mobile_insight/element.py -> build/lib.linux-x86_64-3.10/mobile_insight
copying mobile_insight/__init__.py -> build/lib.linux-x86_64-3.10/mobile_insight
creating build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/nr_rrc_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/msg_serializer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/protocol_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/state_machine.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/msg_statistics.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/lte_measurement_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/uplink_latency_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/mm_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/lte_pdcp_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/msg_logger.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/lte_mac_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/lte_rlc_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/lte_dl_retx_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/profile.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/umts_nas_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/lte_phy_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/track_cell_info_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/lte_nas_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/log_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/rrc_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/mobility_mngt.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/__init__.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/modem_debug_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/ul_mac_latency_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/lte_rrc_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/wcdma_rrc_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
copying mobile_insight/analyzer/nas_util.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer
creating build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi
copying mobile_insight/analyzer/kpi/lte_bandwidth_predictor.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi
copying mobile_insight/analyzer/kpi/lte_rlc_rex_hob.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi
copying mobile_insight/analyzer/kpi/lte_pdcp_gap_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi
copying mobile_insight/analyzer/kpi/lte_handover_prediction_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi
copying mobile_insight/analyzer/kpi/phy_kpi_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi
copying mobile_insight/analyzer/kpi/attach_sr_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi
copying mobile_insight/analyzer/kpi/auth_kpi_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi
copying mobile_insight/analyzer/kpi/tau_sr_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi
copying mobile_insight/analyzer/kpi/dedicated_bearer_sr_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi
copying mobile_insight/analyzer/kpi/rrc_sr_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi
copying mobile_insight/analyzer/kpi/service_req_sr_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi
copying mobile_insight/analyzer/kpi/lte_handover_disruption_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi
copying mobile_insight/analyzer/kpi/ho_sr_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi
copying mobile_insight/analyzer/kpi/rrc_config_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi
copying mobile_insight/analyzer/kpi/kpi_manager.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi
copying mobile_insight/analyzer/kpi/phy_rlm_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi
copying mobile_insight/analyzer/kpi/lte_handover_duplicate_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi
copying mobile_insight/analyzer/kpi/lte_pdcp_ulgap_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi
copying mobile_insight/analyzer/kpi/lte_qos_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi
copying mobile_insight/analyzer/kpi/lte_wireless_error_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi
copying mobile_insight/analyzer/kpi/kpi_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi
copying mobile_insight/analyzer/kpi/__init__.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi
copying mobile_insight/analyzer/kpi/ip_dl_tput_analyzer.py -> build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi
creating build/lib.linux-x86_64-3.10/mobile_insight/monitor
copying mobile_insight/monitor/online_monitor.py -> build/lib.linux-x86_64-3.10/mobile_insight/monitor
copying mobile_insight/monitor/mtk_offline_replayer.py -> build/lib.linux-x86_64-3.10/mobile_insight/monitor
copying mobile_insight/monitor/android_dev_diag_monitor.py -> build/lib.linux-x86_64-3.10/mobile_insight/monitor
copying mobile_insight/monitor/monitor.py -> build/lib.linux-x86_64-3.10/mobile_insight/monitor
copying mobile_insight/monitor/android_mtk_monitor.py -> build/lib.linux-x86_64-3.10/mobile_insight/monitor
copying mobile_insight/monitor/mtk_log_parser.py -> build/lib.linux-x86_64-3.10/mobile_insight/monitor
copying mobile_insight/monitor/utils_android.py -> build/lib.linux-x86_64-3.10/mobile_insight/monitor
copying mobile_insight/monitor/offline_replayer.py -> build/lib.linux-x86_64-3.10/mobile_insight/monitor
copying mobile_insight/monitor/__init__.py -> build/lib.linux-x86_64-3.10/mobile_insight/monitor
creating build/lib.linux-x86_64-3.10/mobile_insight/monitor/dm_collector
copying mobile_insight/monitor/dm_collector/dm_collector.py -> build/lib.linux-x86_64-3.10/mobile_insight/monitor/dm_collector
copying mobile_insight/monitor/dm_collector/__init__.py -> build/lib.linux-x86_64-3.10/mobile_insight/monitor/dm_collector
creating build/lib.linux-x86_64-3.10/mobile_insight/monitor/dm_collector/dm_endec
copying mobile_insight/monitor/dm_collector/dm_endec/dm_log_packet.py -> build/lib.linux-x86_64-3.10/mobile_insight/monitor/dm_collector/dm_endec
copying mobile_insight/monitor/dm_collector/dm_endec/ws_dissector.py -> build/lib.linux-x86_64-3.10/mobile_insight/monitor/dm_collector/dm_endec
copying mobile_insight/monitor/dm_collector/dm_endec/__init__.py -> build/lib.linux-x86_64-3.10/mobile_insight/monitor/dm_collector/dm_endec
copying mobile_insight/monitor/dm_collector/dm_collector_c.so -> build/lib.linux-x86_64-3.10/mobile_insight/monitor/dm_collector
running build_ext
building 'mobile_insight.monitor.dm_collector.dm_collector_c' extension
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/dm_collector_c
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DEXPOSE_INTERNAL_LOGS=1 -I/usr/include/python3.10 -c dm_collector_c/dm_collector_c.cpp -o build/temp.linux-x86_64-3.10/dm_collector_c/dm_collector_c.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DEXPOSE_INTERNAL_LOGS=1 -I/usr/include/python3.10 -c dm_collector_c/export_manager.cpp -o build/temp.linux-x86_64-3.10/dm_collector_c/export_manager.o
In file included from dm_collector_c/export_manager.cpp:14:
dm_collector_c/log_packet_helper.h:22:1: warning: multi-line comment [-Wcomment]
   22 | // #define SSTR(x) static_cast< std::ostringstream & >( \
      | ^
dm_collector_c/log_packet_helper.h:584:1: warning: ‘void _convert_nr_rsrq(PyObject*, const char*)’ defined but not used [-Wunused-function]
  584 | _convert_nr_rsrq(PyObject *obj, const char *rsrq_field){
      | ^~~~~~~~~~~~~~~~
dm_collector_c/log_packet_helper.h:574:1: warning: ‘void _convert_nr_rsrp(PyObject*, const char*)’ defined but not used [-Wunused-function]
  574 | _convert_nr_rsrp(PyObject *obj, const char *rsrp_field){
      | ^~~~~~~~~~~~~~~~
dm_collector_c/log_packet_helper.h:562:13: warning: ‘void reprint(PyObject*)’ defined but not used [-Wunused-function]
  562 | static void reprint(PyObject *obj) {
      |             ^~~~~~~
dm_collector_c/log_packet_helper.h:174:1: warning: ‘void _delete_result(PyObject*, const char*)’ defined but not used [-Wunused-function]
  174 | _delete_result(PyObject *result, const char *target){
      | ^~~~~~~~~~~~~~
dm_collector_c/log_packet_helper.h:144:1: warning: ‘const char* _search_result_bytestream(PyObject*, const char*)’ defined but not used [-Wunused-function]
  144 | _search_result_bytestream(PyObject *result, const char *target) {
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DEXPOSE_INTERNAL_LOGS=1 -I/usr/include/python3.10 -c dm_collector_c/hdlc.cpp -o build/temp.linux-x86_64-3.10/dm_collector_c/hdlc.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DEXPOSE_INTERNAL_LOGS=1 -I/usr/include/python3.10 -c dm_collector_c/log_config.cpp -o build/temp.linux-x86_64-3.10/dm_collector_c/log_config.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DEXPOSE_INTERNAL_LOGS=1 -I/usr/include/python3.10 -c dm_collector_c/log_packet.cpp -o build/temp.linux-x86_64-3.10/dm_collector_c/log_packet.o
In file included from dm_collector_c/1xev_connected_state_search_info.h:7,
                 from dm_collector_c/log_packet.cpp:16:
dm_collector_c/log_packet_helper.h:22:1: warning: multi-line comment [-Wcomment]
   22 | // #define SSTR(x) static_cast< std::ostringstream & >( \
      | ^
In file included from dm_collector_c/log_packet.cpp:51:
dm_collector_c/lte_phy_pucch_tx_report.h:10:1: warning: multi-line comment [-Wcomment]
   10 | // #define SSTRHEX( x ) static_cast< std::ostringstream & >( \
      | ^
dm_collector_c/log_packet.cpp:79:1: warning: multi-line comment [-Wcomment]
   79 | // #define SSTR(x) static_cast< std::ostringstream & >( \
      | ^
In file included from dm_collector_c/log_packet.cpp:71:
dm_collector_c/nr_rlc_dl_stats.h: In function ‘int _decode_nr_rlc_dl_status_payload(const char*, int, size_t, PyObject*)’:
dm_collector_c/nr_rlc_dl_stats.h:81:15: warning: unused variable ‘old_object’ [-Wunused-variable]
   81 |     PyObject *old_object;
      |               ^~~~~~~~~~
dm_collector_c/nr_rlc_dl_stats.h:82:15: warning: unused variable ‘pyfloat’ [-Wunused-variable]
   82 |     PyObject *pyfloat;
      |               ^~~~~~~
In file included from dm_collector_c/log_packet.cpp:72:
dm_collector_c/nr_nas_mm5g_state.h: In function ‘int _decode_nr_nas_mm5g_state(const char*, int, size_t, PyObject*)’:
dm_collector_c/nr_nas_mm5g_state.h:64:15: warning: unused variable ‘pyfloat’ [-Wunused-variable]
   64 |     PyObject* pyfloat;
      |               ^~~~~~~
dm_collector_c/log_packet.cpp: In function ‘int _decode_lte_mac_ul_transportblock_subpkt(const char*, int, size_t, PyObject*)’:
dm_collector_c/log_packet.cpp:4305:81: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]
 4305 |                                             uint iIndex1 = (utemp1 << 4) & 0x30 + (utemp2 >> 4);
      |                                                                            ~~~~~^~~~~~~~~~~~~~~
dm_collector_c/log_packet.cpp:4306:81: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]
 4306 |                                             uint iIndex2 = (utemp2 << 2) & 0x3c + (utemp3 >> 6);
      |                                                                            ~~~~~^~~~~~~~~~~~~~~
dm_collector_c/log_packet.cpp:4638:81: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]
 4638 |                                             uint iIndex1 = (utemp1 << 4) & 0x30 + (utemp2 >> 4);
      |                                                                            ~~~~~^~~~~~~~~~~~~~~
dm_collector_c/log_packet.cpp:4639:81: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses]
 4639 |                                             uint iIndex2 = (utemp2 << 2) & 0x3c + (utemp3 >> 6);
      |                                                                            ~~~~~^~~~~~~~~~~~~~~
In file included from dm_collector_c/1xev_connected_state_search_info.h:7,
                 from dm_collector_c/log_packet.cpp:16:
dm_collector_c/log_packet_helper.h: At global scope:
dm_collector_c/log_packet_helper.h:562:13: warning: ‘void reprint(PyObject*)’ defined but not used [-Wunused-function]
  562 | static void reprint(PyObject *obj) {
      |             ^~~~~~~
dm_collector_c/log_packet.cpp: In function ‘int _decode_lte_mac_rach_attempt_subpkt(const char*, int, size_t, PyObject*)’:
dm_collector_c/log_packet.cpp:7988:49: warning: ‘arr’ may be used uninitialized [-Wmaybe-uninitialized]
 7988 |                         sprintf(hex,"%02x",arr[3]&0xff);
      |                                            ~~~~~^
dm_collector_c/log_packet.cpp:7974:30: note: ‘arr’ declared here
 7974 |                         char arr[4];
      |                              ^~~
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DEXPOSE_INTERNAL_LOGS=1 -I/usr/include/python3.10 -c dm_collector_c/utils.cpp -o build/temp.linux-x86_64-3.10/dm_collector_c/utils.o
x86_64-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.10/dm_collector_c/dm_collector_c.o build/temp.linux-x86_64-3.10/dm_collector_c/export_manager.o build/temp.linux-x86_64-3.10/dm_collector_c/hdlc.o build/temp.linux-x86_64-3.10/dm_collector_c/log_config.o build/temp.linux-x86_64-3.10/dm_collector_c/log_packet.o build/temp.linux-x86_64-3.10/dm_collector_c/utils.o -o build/lib.linux-x86_64-3.10/mobile_insight/monitor/dm_collector/dm_collector_c.cpython-310-x86_64-linux-gnu.so
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/mobile_insight
creating build/bdist.linux-x86_64/egg/mobile_insight/monitor
copying build/lib.linux-x86_64-3.10/mobile_insight/monitor/online_monitor.py -> build/bdist.linux-x86_64/egg/mobile_insight/monitor
creating build/bdist.linux-x86_64/egg/mobile_insight/monitor/dm_collector
copying build/lib.linux-x86_64-3.10/mobile_insight/monitor/dm_collector/dm_collector_c.so -> build/bdist.linux-x86_64/egg/mobile_insight/monitor/dm_collector
creating build/bdist.linux-x86_64/egg/mobile_insight/monitor/dm_collector/dm_endec
copying build/lib.linux-x86_64-3.10/mobile_insight/monitor/dm_collector/dm_endec/dm_log_packet.py -> build/bdist.linux-x86_64/egg/mobile_insight/monitor/dm_collector/dm_endec
copying build/lib.linux-x86_64-3.10/mobile_insight/monitor/dm_collector/dm_endec/ws_dissector.py -> build/bdist.linux-x86_64/egg/mobile_insight/monitor/dm_collector/dm_endec
copying build/lib.linux-x86_64-3.10/mobile_insight/monitor/dm_collector/dm_endec/__init__.py -> build/bdist.linux-x86_64/egg/mobile_insight/monitor/dm_collector/dm_endec
copying build/lib.linux-x86_64-3.10/mobile_insight/monitor/dm_collector/dm_collector.py -> build/bdist.linux-x86_64/egg/mobile_insight/monitor/dm_collector
copying build/lib.linux-x86_64-3.10/mobile_insight/monitor/dm_collector/dm_collector_c.cpython-310-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg/mobile_insight/monitor/dm_collector
copying build/lib.linux-x86_64-3.10/mobile_insight/monitor/dm_collector/__init__.py -> build/bdist.linux-x86_64/egg/mobile_insight/monitor/dm_collector
copying build/lib.linux-x86_64-3.10/mobile_insight/monitor/mtk_offline_replayer.py -> build/bdist.linux-x86_64/egg/mobile_insight/monitor
copying build/lib.linux-x86_64-3.10/mobile_insight/monitor/android_dev_diag_monitor.py -> build/bdist.linux-x86_64/egg/mobile_insight/monitor
copying build/lib.linux-x86_64-3.10/mobile_insight/monitor/monitor.py -> build/bdist.linux-x86_64/egg/mobile_insight/monitor
copying build/lib.linux-x86_64-3.10/mobile_insight/monitor/android_mtk_monitor.py -> build/bdist.linux-x86_64/egg/mobile_insight/monitor
copying build/lib.linux-x86_64-3.10/mobile_insight/monitor/mtk_log_parser.py -> build/bdist.linux-x86_64/egg/mobile_insight/monitor
copying build/lib.linux-x86_64-3.10/mobile_insight/monitor/utils_android.py -> build/bdist.linux-x86_64/egg/mobile_insight/monitor
copying build/lib.linux-x86_64-3.10/mobile_insight/monitor/offline_replayer.py -> build/bdist.linux-x86_64/egg/mobile_insight/monitor
copying build/lib.linux-x86_64-3.10/mobile_insight/monitor/__init__.py -> build/bdist.linux-x86_64/egg/mobile_insight/monitor
copying build/lib.linux-x86_64-3.10/mobile_insight/utils.py -> build/bdist.linux-x86_64/egg/mobile_insight
copying build/lib.linux-x86_64-3.10/mobile_insight/element.py -> build/bdist.linux-x86_64/egg/mobile_insight
creating build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/nr_rrc_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/msg_serializer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/protocol_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/state_machine.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/msg_statistics.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/lte_measurement_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/uplink_latency_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/mm_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/lte_pdcp_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/msg_logger.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/lte_mac_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/lte_rlc_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/lte_dl_retx_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/profile.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/umts_nas_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/lte_phy_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/track_cell_info_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/lte_nas_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/log_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/rrc_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/mobility_mngt.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/__init__.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/modem_debug_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/ul_mac_latency_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/lte_rrc_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/wcdma_rrc_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/nas_util.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer
creating build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi/lte_bandwidth_predictor.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi/lte_rlc_rex_hob.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi/lte_pdcp_gap_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi/lte_handover_prediction_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi/phy_kpi_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi/attach_sr_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi/auth_kpi_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi/tau_sr_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi/dedicated_bearer_sr_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi/rrc_sr_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi/service_req_sr_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi/lte_handover_disruption_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi/ho_sr_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi/rrc_config_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi/kpi_manager.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi/phy_rlm_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi/lte_handover_duplicate_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi/lte_pdcp_ulgap_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi/lte_qos_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi/lte_wireless_error_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi/kpi_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi/__init__.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi
copying build/lib.linux-x86_64-3.10/mobile_insight/analyzer/kpi/ip_dl_tput_analyzer.py -> build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi
copying build/lib.linux-x86_64-3.10/mobile_insight/__init__.py -> build/bdist.linux-x86_64/egg/mobile_insight
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/monitor/online_monitor.py to online_monitor.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/monitor/dm_collector/dm_endec/dm_log_packet.py to dm_log_packet.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/monitor/dm_collector/dm_endec/ws_dissector.py to ws_dissector.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/monitor/dm_collector/dm_endec/__init__.py to __init__.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/monitor/dm_collector/dm_collector.py to dm_collector.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/monitor/dm_collector/__init__.py to __init__.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/monitor/mtk_offline_replayer.py to mtk_offline_replayer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/monitor/android_dev_diag_monitor.py to android_dev_diag_monitor.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/monitor/monitor.py to monitor.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/monitor/android_mtk_monitor.py to android_mtk_monitor.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/monitor/mtk_log_parser.py to mtk_log_parser.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/monitor/utils_android.py to utils_android.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/monitor/offline_replayer.py to offline_replayer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/monitor/__init__.py to __init__.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/utils.py to utils.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/element.py to element.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/nr_rrc_analyzer.py to nr_rrc_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/msg_serializer.py to msg_serializer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/protocol_analyzer.py to protocol_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/state_machine.py to state_machine.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/msg_statistics.py to msg_statistics.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/lte_measurement_analyzer.py to lte_measurement_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/uplink_latency_analyzer.py to uplink_latency_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/mm_analyzer.py to mm_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/lte_pdcp_analyzer.py to lte_pdcp_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/msg_logger.py to msg_logger.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/lte_mac_analyzer.py to lte_mac_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/lte_rlc_analyzer.py to lte_rlc_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/lte_dl_retx_analyzer.py to lte_dl_retx_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/profile.py to profile.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/analyzer.py to analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/umts_nas_analyzer.py to umts_nas_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/lte_phy_analyzer.py to lte_phy_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/track_cell_info_analyzer.py to track_cell_info_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/lte_nas_analyzer.py to lte_nas_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/log_analyzer.py to log_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/rrc_analyzer.py to rrc_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/mobility_mngt.py to mobility_mngt.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/__init__.py to __init__.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/modem_debug_analyzer.py to modem_debug_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/ul_mac_latency_analyzer.py to ul_mac_latency_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/lte_rrc_analyzer.py to lte_rrc_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/wcdma_rrc_analyzer.py to wcdma_rrc_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/nas_util.py to nas_util.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi/lte_bandwidth_predictor.py to lte_bandwidth_predictor.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi/lte_rlc_rex_hob.py to lte_rlc_rex_hob.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi/lte_pdcp_gap_analyzer.py to lte_pdcp_gap_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi/lte_handover_prediction_analyzer.py to lte_handover_prediction_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi/phy_kpi_analyzer.py to phy_kpi_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi/attach_sr_analyzer.py to attach_sr_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi/auth_kpi_analyzer.py to auth_kpi_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi/tau_sr_analyzer.py to tau_sr_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi/dedicated_bearer_sr_analyzer.py to dedicated_bearer_sr_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi/rrc_sr_analyzer.py to rrc_sr_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi/service_req_sr_analyzer.py to service_req_sr_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi/lte_handover_disruption_analyzer.py to lte_handover_disruption_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi/ho_sr_analyzer.py to ho_sr_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi/rrc_config_analyzer.py to rrc_config_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi/kpi_manager.py to kpi_manager.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi/phy_rlm_analyzer.py to phy_rlm_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi/lte_handover_duplicate_analyzer.py to lte_handover_duplicate_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi/lte_pdcp_ulgap_analyzer.py to lte_pdcp_ulgap_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi/lte_qos_analyzer.py to lte_qos_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi/lte_wireless_error_analyzer.py to lte_wireless_error_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi/kpi_analyzer.py to kpi_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi/__init__.py to __init__.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/analyzer/kpi/ip_dl_tput_analyzer.py to ip_dl_tput_analyzer.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/__init__.py to __init__.cpython-310.pyc
creating stub loader for mobile_insight/monitor/dm_collector/dm_collector_c.cpython-310-x86_64-linux-gnu.so
byte-compiling build/bdist.linux-x86_64/egg/mobile_insight/monitor/dm_collector/dm_collector_c.py to dm_collector_c.cpython-310.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying MobileInsight.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying MobileInsight.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying MobileInsight.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying MobileInsight.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
mobile_insight.monitor.dm_collector.__pycache__.dm_collector_c.cpython-310: module references __file__
creating dist
creating 'dist/MobileInsight-6.0.0-py3.10-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing MobileInsight-6.0.0-py3.10-linux-x86_64.egg
removing '/usr/local/lib/python3.10/dist-packages/MobileInsight-6.0.0-py3.10-linux-x86_64.egg' (and everything under it)
creating /usr/local/lib/python3.10/dist-packages/MobileInsight-6.0.0-py3.10-linux-x86_64.egg
Extracting MobileInsight-6.0.0-py3.10-linux-x86_64.egg to /usr/local/lib/python3.10/dist-packages
MobileInsight 6.0.0 is already the active version in easy-install.pth

Installed /usr/local/lib/python3.10/dist-packages/MobileInsight-6.0.0-py3.10-linux-x86_64.egg
Processing dependencies for MobileInsight==6.0.0
Finished processing dependencies for MobileInsight==6.0.0
Installing GUI for MobileInsight...
Testing the MobileInsight offline analysis example.
[INFO] [OfflineReplayer]: Enable LTE_PHY_Serv_Cell_Measurement
[INFO] [OfflineReplayer]: Enable 5G_NR_RRC_OTA_Packet
[INFO] [OfflineReplayer]: Enable LTE_RRC_OTA_Packet
[INFO] [OfflineReplayer]: Enable LTE_NB1_ML1_GM_DCI_Info
Init NR RRC Analyzer
Init RRC Analyzer
[INFO] [OfflineReplayer]: Enable LTE_RRC_Serv_Cell_Info
[INFO] [OfflineReplayer]: Enable LTE_RRC_CDRX_Events_Info
[INFO] [OfflineReplayer]: STARTED: 1667631775.894871
[INFO] [OfflineReplayer]: Loading ./logs/attach_sample.mi2log
[INFO] [OfflineReplayer]: Loading: 1667631775.8950512
dm_collector_c_feed_binary returns NULL
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/MobileInsight-6.0.0-py3.10-linux-x86_64.egg/mobile_insight/monitor/offline_replayer.py", line 191, in run
    dm_collector_c.feed_binary(s)
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats

Failed to run offline analysis example!
Exiting with status 4.
mohsen@mohsen-Lenovo-ideapad-500-15ISK:~/Programs/MobileInsight-6.0.0$ OOPS: handle to register "aww.proto" to doesn't exist
michalisk13 commented 1 year ago

Hi,

The problem is with your wireshark version. You can close the issue.

Thanks, Michalis

veselij commented 6 months ago

Python3.11 requires to define PY_SSIZE_T_CLEANE in dm_collector_c.cpp

**#define PY_SSIZE_T_CLEANE** 
#include <Python.h>

i was able to compile dm_collector and fix this problem, but test still did not pass. i always get Segmentation fault when calling feed_binary. Any ideas? ./install-ubuntu.sh: line 140: 209836 Segmentation fault ${PYTHON} offline-analysis-example.py