Puddletag appears broken in MX21 KDE  [Solved]

Message
Author
texneus
Posts: 62
Joined: Mon Jan 06, 2020 10:33 pm

Puddletag appears broken in MX21 KDE

#1 Post by texneus »

Not sure if this is where I should post this (I couldn't find a puddletag thread), but puddletag 2.0.1-2 appears broken. Package is currently in the Stable Repo in MXPI, and I'm running MX 21 KDE w/systemd.

Running from the system launcher, nothing appears to happen (no splash screen, no error, etc). Trying to run from command line gives:

Code: Select all

$ puddletag
puddletag Version: 2.0.1
Locale: en_US
Traceback (most recent call last):
  File "/usr/bin/puddletag", line 333, in <module>
    from puddlestuff.puddletag import MainWin
  File "/usr/lib/python3/dist-packages/puddlestuff/puddletag.py", line 12, in <module>
    from . import mainwin
  File "/usr/lib/python3/dist-packages/puddlestuff/mainwin/__init__.py", line 4, in <module>
    from . import dirview
  File "/usr/lib/python3/dist-packages/puddlestuff/mainwin/dirview.py", line 12, in <module>
    from ..tagmodel import has_previews
  File "/usr/lib/python3/dist-packages/puddlestuff/tagmodel.py", line 31, in <module>
    from .audio_filter import parse as filter_audio
  File "/usr/lib/python3/dist-packages/puddlestuff/audio_filter.py", line 183, in <module>
    bool_expr = operatorPrecedence(tokens, bool_exprs)
NameError: name 'operatorPrecedence' is not defined
$

QSI:

Code: Select all

System:    Kernel: 5.10.0-11-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-11-amd64 
           root=UUID=<filter> ro quiet splash 
           init=/lib/systemd/systemd 
           Desktop: KDE Plasma 5.20.5 wm: kwin_x11 vt: 7 dm: SDDM 
           Distro: MX-21_KDE_x64 Wildflower October 20  2021 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Laptop System: LENOVO product: 4177CTO v: ThinkPad T420 serial: <filter> 
           Chassis: type: 10 serial: <filter> 
           Mobo: LENOVO model: 4177CTO serial: <filter> UEFI: LENOVO v: 83ET82WW (1.52 ) 
           date: 06/04/2018 
Battery:   ID-1: BAT0 charge: 40.0 Wh (72.9%) condition: 54.9/48.8 Wh (112.3%) volts: 10.4 
           min: 11.1 model: SANYO 45N1023 type: Li-ion serial: <filter> status: Unknown 
CPU:       Info: Dual Core model: Intel Core i3-2310M bits: 64 type: MT MCP 
           arch: Sandy Bridge family: 6 model-id: 2A (42) stepping: 7 microcode: 2F cache: 
           L2: 3 MiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 16745 
           Speed: 1255 MHz min/max: 800/2100 MHz Core speeds (MHz): 1: 1255 2: 1471 3: 1273 
           4: 1271 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf 
           mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 
           mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, 
           STIBP: conditional, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics 
           vendor: Lenovo driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:0116 
           class-ID: 0300 
           Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: 
           loaded: modesetting unloaded: fbdev,vesa display-ID: :0 screens: 1 
           Screen-1: 0 s-res: 1600x900 s-dpi: 96 s-size: 423x238mm (16.7x9.4") 
           s-diag: 485mm (19.1") 
           Monitor-1: LVDS-1 res: 1600x900 hz: 60 dpi: 131 size: 310x174mm (12.2x6.9") 
           diag: 355mm (14") 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 3000 (SNB GT2) v: 3.3 Mesa 21.2.5 
           compat-v: 3.0 direct render: Yes 
Audio:     Device-1: Intel 6 Series/C200 Series Family High Definition Audio vendor: Lenovo 
           driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1c20 class-ID: 0403 
           Sound Server-1: ALSA v: k5.10.0-11-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Intel 82579LM Gigabit Network vendor: Lenovo ThinkPad T520 
           driver: e1000e v: kernel port: 5080 bus-ID: 00:19.0 chip-ID: 8086:1502 
           class-ID: 0200 
           IF: eth0 state: down mac: <filter> 
           Device-2: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi v: kernel 
           modules: wl port: efa0 bus-ID: 03:00.0 chip-ID: 8086:0085 class-ID: 0280 
           IF: wlan0 state: up mac: <filter> 
Drives:    Local Storage: total: 4.78 TiB used: 860.94 GiB (17.6%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: MQ01ABD100 size: 931.51 GiB 
           block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 
           serial: <filter> rev: 2A scheme: GPT 
           ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 850 EVO mSATA 250GB 
           size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s 
           type: SSD serial: <filter> rev: 1B6Q scheme: GPT 
           ID-3: /dev/sdc maj-min: 8:32 type: USB vendor: Western Digital 
           model: WD40EFRX-68WT0N0 size: 3.64 TiB block-size: physical: 4096 B 
           logical: 512 B type: HDD rpm: 5400 serial: <filter> scheme: GPT 
Partition: ID-1: / raw-size: 128 GiB size: 124.99 GiB (97.65%) used: 9.49 GiB (7.6%) 
           fs: ext4 dev: /dev/sdb2 maj-min: 8:18 
           ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) 
           fs: vfat dev: /dev/sdb1 maj-min: 8:17 
           ID-3: /home raw-size: 98.63 GiB size: 96.53 GiB (97.86%) used: 475.1 MiB (0.5%) 
           fs: ext4 dev: /dev/sdb3 maj-min: 8:19 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 6 GiB used: 1.2 MiB (0.0%) priority: -2 
           dev: /dev/sdb4 maj-min: 8:20 
Sensors:   System Temperatures: cpu: 47.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 1987 
Repos:     Packages: note: see --pkg apt: 2363 lib: 1288 flatpak: 0 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mxrepo.com/mx/repo/ bullseye main non-free
           2: deb http://mxrepo.com/mx/repo/ bullseye ahs
Info:      Processes: 230 Uptime: 47m wakeups: 1 Memory: 3.72 GiB used: 1.96 GiB (52.6%) 
           Init: systemd v: 247 runlevel: 5 default: 5 tool: systemctl Compilers: 
           gcc: 10.2.1 alt: 10 Shell: quick-system-in default: Bash v: 5.1.4 
           running-in: quick-system-in inxi: 3.3.06 

SwampRabbit
Posts: 3602
Joined: Tue Jun 14, 2016 2:02 pm

Re: Puddletag appears broken in MX21 KDE

#2 Post by SwampRabbit »

puddletag is coming from Debian, not MX. When using MXPI it will show under the Stable Repo because it shows what is in Debian Stable and MX Stable, I know its a bit confusing sometimes. :hug:

please try to install the recommends listed for this package (they don't install by default on MX)
recommends = libchromaprint-tools python3-levenshtein
NEW USERS START HERE FAQS, MX Manual, and How to Break Your System - Don't use Ubuntu PPAs! Always post your Quick System Info (QSI) when asking for help.

texneus
Posts: 62
Joined: Mon Jan 06, 2020 10:33 pm

Re: Puddletag appears broken in MX21 KDE  [Solved]

#3 Post by texneus »

I was able to get it sorted. I installed the recommends, as recommended, but nothing changed. So I looked at puddletag's git issue list found it there.

https://github.com/puddletag/puddletag/issues/643

Short verison:
A call used by puddletag was depreciated. Editing line 183 of /usr/lib/python3/dist-packages/puddlestuff/audio_filter.py, as hinted in the error message, is the official workaround. Change "operatorPrecedence" to "infixNotation". Looks like a commit was made, but doesn't seem to have made it to any releases yet...

User avatar
asqwerth
Developer
Posts: 7929
Joined: Sun May 27, 2007 5:37 am

Re: Puddletag appears broken in MX21 KDE

#4 Post by asqwerth »

There are alternatives, like easytag. Or as someone else here said, these metatags can be changed from within vlc as well.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
Stevo
Developer
Posts: 14560
Joined: Fri Dec 15, 2006 7:07 pm

Re: Puddletag appears broken in MX21 KDE

#5 Post by Stevo »

Or we could add that fix as a patch, or do a git update, to ensure we have a working MX 21 build in our repo.

User avatar
Stevo
Developer
Posts: 14560
Joined: Fri Dec 15, 2006 7:07 pm

Re: Puddletag appears broken in MX21 KDE

#6 Post by Stevo »

We now have the fixed version 2.0.1-3mx21+1 in the main MX 21 repository.

Solved times two.

texneus
Posts: 62
Joined: Mon Jan 06, 2020 10:33 pm

Re: Puddletag appears broken in MX21 KDE

#7 Post by texneus »

I noticed and just wanted to drop by and say "thank you"! (easytag and vnc are hardly alernatives for what I am doing!)

Post Reply

Return to “Package Requests - MX-21”