nschloe / tiptop

:desktop_computer: Command-line system monitoring
MIT License
1.77k stars 70 forks source link

AttributeError: 'CPU' object has no attribute 'box_title' #60

Closed leshaker closed 2 years ago

leshaker commented 2 years ago

Doesn't run on my server:

Python Version: 3.9.2.final.0 (64 bit)
Cpuinfo Version: 8.0.0
Vendor ID Raw: GenuineIntel
Hardware Raw: 
Brand Raw: Intel(R) Xeon(R) CPU E7-4830 v3 @ 2.10GHz
Hz Advertised Friendly: 2.1000 GHz
Hz Actual Friendly: 1.2000 GHz
Hz Advertised: (2100000000, 0)
Hz Actual: (1200000000, 0)
Arch: X86_64
Bits: 64
Count: 96
Arch String Raw: x86_64
L1 Data Cache Size: 1,5 MiB
L1 Instruction Cache Size: 1,5 MiB
L2 Cache Size: 12 MiB
L2 Cache Line Size: 256
L2 Cache Associativity: 6
L3 Cache Size: 31457280
Stepping: 4
Model: 63
Family: 6
Processor Type: 
Flags: abm, acpi, aes, aperfmperf, apic, arat, arch_perfmon, avx, avx2, bmi1, bmi2, bts, clflush, cmov, constant_tsc, cpuid, cpuid_fault, cqm, cqm_llc, cqm_occup_llc, cx16, cx8, dca, de, ds_cpl, dtes64, dtherm, dts, epb, ept, ept_ad, erms, est, f16c, flexpriority, flush_l1d, fma, fpu, fsgsbase, fxsr, hle, ht, ibpb, ibrs, ida, intel_ppin, invpcid, invpcid_single, lahf_lm, lm, mca, mce, md_clear, mmx, monitor, movbe, msr, mtrr, nonstop_tsc, nopl, nx, osxsave, pae, pat, pbe, pcid, pclmulqdq, pdcm, pdpe1gb, pebs, pge, pln, pni, popcnt, pqm, pse, pse36, pti, pts, rdrand, rdrnd, rdtscp, rep_good, rtm, sdbg, sep, smep, smx, ss, ssbd, sse, sse2, sse4_1, sse4_2, ssse3, stibp, syscall, tm, tm2, tpr_shadow, tsc, tsc_adjust, tsc_deadline_timer, tscdeadline, vme, vmx, vnmi, vpid, x2apic, xsave, xsaveopt, xtopology, xtpr

error.log

nschloe commented 2 years ago

What's the value of

psutil.sensors_fans()

on your machine?

leshaker commented 2 years ago

Thanks for having a look!

Python 3.9.2 (default, Mar  3 2021, 20:02:32) 
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import psutil
>>> psutil.sensors_fans()
{}
>>> 

Max

nschloe commented 2 years ago

Fixed in 0.1.6.