zhimingshenjun / DD_Monitor

DD监控室第一版
GNU Lesser General Public License v2.1
1.21k stars 103 forks source link

运行报错(python直接运行没有问题,但是打包后无法运行) #84

Open steveyang137 opened 3 years ago

steveyang137 commented 3 years ago

系统:Manjaro Linux 20 64bit

以下为log: 2021-02-12 16:15:06,308 [MainThread ] [INFO ] 系统信息: 架构: x86_64 CPU 运行模式: 32-bit, 64-bit 字节序: Little Endian Address sizes: 39 bits physical, 48 bits virtual CPU: 4 在线 CPU 列表: 0-3 每个核的线程数: 2 每个座的核数: 2 座: 1 NUMA 节点: 1 厂商 ID: GenuineIntel CPU 系列: 6 型号: 142 型号名称: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz 步进: 9 CPU MHz: 2938.386 CPU 最大 MHz: 3100.0000 CPU 最小 MHz: 400.0000 BogoMIPS: 5401.81 虚拟化: VT-x L1d 缓存: 64 KiB L1i 缓存: 64 KiB L2 缓存: 512 KiB L3 缓存: 3 MiB NUMA 节点0 CPU: 0-3 Vulnerability Itlb multihit: KVM: Mitigation: VMX disabled Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable Vulnerability Mds: Mitigation; Clear CPU buffers; SMT vulnerable Vulnerability Meltdown: Mitigation; PTI Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Full generic retpoline, IBPB conditional, IBRS_FW, STIBP conditional, RSB filling Vulnerability Srbds: Mitigation; Microcode Vulnerability Tsx async abort: Not affected 标记: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d

2021-02-12 16:15:06,308 [MainThread ] [INFO ] GPU信息: 00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02) 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02) 00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 02) 00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21) 00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21) 00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21) 00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21) 00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21) 00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21) 00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1) 00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1) 00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1) 00:1e.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO UART Controller #0 (rev 21) 00:1e.2 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO SPI Controller #0 (rev 21) 00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC Controller/eSPI Controller (rev 21) 00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21) 00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21) 00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21) 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15) 03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter

2021-02-12 16:15:06,309 [MainThread ] [INFO ] libvlc env: PYTHON_VLC_LIB_PATH= 2021-02-12 16:15:06,309 [MainThread ] [INFO ] plugin env: PYTHON_VLC_MODULE_PATH= 2021-02-12 16:15:06,309 [MainThread ] [INFO ] libvlc path: /home/steveyang137/下载/DD_Monitor-DD_Monitor2.1/dist/DDMonitor/libvlc.so.5 2021-02-12 16:15:06,309 [MainThread ] [INFO ] vlc version: b'3.0.11.1 Vetinari' 2021-02-12 16:15:06,658 [MainThread ] [ERROR]
****!!!UNCAUGHT EXCEPTION!!!***** Type: <class 'AttributeError'> Value: 'NoneType' object has no attribute 'media_player_new' Traceback: File "DD监控室.py", line 1158, in File "DD监控室.py", line 337, in init File "VideoWidget_vlc.py", line 294, in init File "VideoWidget_vlc.py", line 920, in newPlayer


ssysm commented 3 years ago

看起来是找不到VLC插件文件夹, 不是Arch系用户暂时没法测试。Debian系上VLC装在 /usr/lib/x86_64-linux-gnu/vlc/plugins/, 把这个路径导出到VLC_PLUGIN_PATH变量就行了。

详见 scripts/run.sh