TDeskDroid icon indicating copy to clipboard operation
TDeskDroid copied to clipboard

.attheme doesn't generate

Open luispengler opened this issue 3 years ago • 0 comments

Yep, .attheme doesn't generate inside android/ directory, but it's because I got an error while running

python3 main.py
here is the output:

luispengler in ~/tmp/TDeskDroid on master ● λ python3 main.py 
Downloading [desktop => android] mapping 
Downloading transparency fixups 
Downloading default desktop theme 
> Converting 'doc_2022-01-04_11-56-00' 
Traceback (most recent call last): 
  File "/home/luispengler/tmp/TDeskDroid/main.py", line 272, in  
    TDeskDroid().convert() 
  File "/home/luispengler/tmp/TDeskDroid/main.py", line 265, in convert 
    hasBg = self._convertBackround(filename, TINIFY_ENABLE) 
  File "/home/luispengler/tmp/TDeskDroid/main.py", line 76, in _convertBackround 
    image = Image.open(os.path.join(WIP_DIR, path, filename + "." + filetype)) 
  File "/home/luispengler/.local/lib/python3.10/site-packages/PIL/Image.py", line 2321, in open 
    preinit() 
  File "/home/luispengler/.local/lib/python3.10/site-packages/PIL/Image.py", line 366, in preinit 
    from PIL import JpegImagePlugin 
  File "/home/luispengler/.local/lib/python3.10/site-packages/PIL/JpegImagePlugin.py", line 42, in  
    from PIL import Image, ImageFile, TiffImagePlugin, _binary 
  File "/home/luispengler/.local/lib/python3.10/site-packages/PIL/TiffImagePlugin.py", line 374, in  
    class ImageFileDirectory_v2(collections.MutableMapping): 
AttributeError: module 'collections' has no attribute 'MutableMapping' 

I think I am doing something, but I followed the converting part of your README.md. I also sent my .tdesktop-theme to your telegram bot (the same one I tried to convert in my local machine), but this time it worked: image

This should be simple a simple issue to solve, probably something to do with my bg image.

specs: OS: Arch Linux kernel: 5.15.12-arch-1-1 CPU:

luispengler in ~ λ lscpu 
Architecture:            x86_64 
  CPU op-mode(s):        32-bit, 64-bit 
  Address sizes:         39 bits physical, 48 bits virtual 
  Byte Order:            Little Endian 
CPU(s):                  4 
  On-line CPU(s) list:   0-3 
Vendor ID:               GenuineIntel 
  Model name:            Intel(R) Core(TM) i3-7020U CPU @ 2.30GHz 
    CPU family:          6 
    Model:               142 
    Thread(s) per core:  2 
    Core(s) per socket:  2 
    Socket(s):           1 
    Stepping:            10 
    CPU max MHz:         2300.0000 
    CPU min MHz:         400.0000 
    BogoMIPS:            4601.60 
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat p
                         se36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdp
                         e1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl
                          xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monito
                         r 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 fsgsba
                         se tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap 
                         clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm arat pln 
                         pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d 
Virtualization features: 
  Virtualization:        VT-x 
Caches (sum of all): 
  L1d:                   64 KiB (2 instances) 
  L1i:                   64 KiB (2 instances) 
  L2:                    512 KiB (2 instances) 
  L3:                    3 MiB (1 instance) 
NUMA: 
  NUMA node(s):          1 
  NUMA node0 CPU(s):     0-3 
Vulnerabilities: 
  Itlb multihit:         KVM: Mitigation: VMX disabled 
  L1tf:                  Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulne
                         rable 
  Mds:                   Mitigation; Clear CPU buffers; SMT vulnerable 
  Meltdown:              Mitigation; PTI 
  Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl and seccomp
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitizatio
                         n 
  Spectre v2:            Mitigation; Full generic retpoline, IBPB conditional, IBRS_FW, STIB
                         P conditional, RSB filling 
  Srbds:                 Mitigation; Microcode 
  Tsx async abort:       Not affected 

4 Gb ram btw Well, I guess this is enough background information. I will be here if you need me. Thanks in advance for the help!

luispengler avatar Jan 04 '22 15:01 luispengler