▲ 3 r/QGIS

For newer Python features, is it recommended to build QGIS from source?

On Ubuntu, I was trying to run a script written for py3.14, but that failed with:

ImportError: cannot import name 'StrEnum' from 'enum' (/usr/lib/python3.10/enum.py)

Question: if one is comfortable compiling a python interpreter from source, is it generally safe to build QGIS from source as well? Asking to avoid a rabbit hole.

Otherwise, thanks for the product and your time.

Tried to point to a newer installation...

===

USE_PY=/home/smitty1/.local/share/uv/python/cpython-3.14.0-linux-x86_64-gnu/bin/python3.14

export PATH=$USE_PY:$PATH

qgis &

...but that was also rejected:

===

Couldn't load SIP module.

Python support will be disabled.

[stuff]

QGIS died on signal 11

REALLY BAD FIX:

===

This appears to be working well enough for my little script, but is clearly not what you want to do in the Real World:

from enum import Enum as StrEnum #appease QGIS

reddit.com
u/smitty1e — 10 hours ago

Q6 Max saga ends well, but strangely

0. Hardware

System76 laptop with Pop!_OS. I'm a FireFox user, so my joy was diminished by the need for Chrome.

1. Do research in Chrome

Open chrome://device-log/ and filter to HID

HIDUser[21:44:33] HID device detected: vendorId=13364, productId=2144, name='Keychron Q6 Max', serial='', deviceIds=['/sys/devices/pci0000:00/0000:00:08.1/0000:c4:00.3/usb1/1-2/1-2.3/1-2.3:1.2/0003:3434:0860.0003/hidraw/hidraw2'], reportDescriptor='stuff'

HIDUser[21:44:33] HID device detected: vendorId=13364, productId=2144, name='Keychron Q6 Max', serial='', deviceIds=['/sys/devices/pci0000:00/0000:00:08.1/0000:c4:00.3/usb1/1-2/1-2.3/1-2.3:1.1/0003:3434:0860.0002/hidraw/hidraw1'], reportDescriptor='stuff'

HIDUser[21:44:33] HID device detected: vendorId=13364, productId=2144, name='Keychron Q6 Max', serial='', deviceIds=['/sys/devices/pci0000:00/0000:00:08.1/0000:c4:00.3/usb1/1-2/1-2.3/1-2.3:1.0/0003:3434:0860.0001/hidraw/hidraw0'], reportDescriptor='stuff'

2. First round failed, so I added "HID device detected: vendorId=13364, productId=2144, name='Keychron Q6 Max'" to my Google search, get some better ideas.

3. Update udev

sudo vi /etc/udev/rules.d/50-keychron.rules

SUBSYSTEM=="hidraw", KERNEL=="hidraw*", ATTRS{idVendor}=="3434", ATTRS{idProduct}=="0860", MODE="0660", TAG+="uaccess", TAG+="udev-acl"

SUBSYSTEM=="hidraw", KERNEL=="hidraw*", ATTRS{idVendor}=="3434", MODE="0660", TAG+="uaccess", TAG+="udev-acl"

sudo udevadm control --reload-rules

sudo udevadm trigger

4. Third round failed.

"Clear Sandboxed Browser BlocksPop!_OS heavily relies on Flatpaks. If your Google Chrome was installed via the Pop!_Shop, it is likely sandboxed and completely blocking WebHID requests regardless of your udev rules.Check if you are using the Flatpak version by running:

flatpak list | grep -i chrome

If it returns a result, you must install the native Debian package. Download the official .deb package directly from the Google Chrome Website and install it via your terminal:"

https://www.google.com/chrome and download

sudo apt install ./Downloads/google-chrome-stable_current_amd64.deb

5. Resolution

Eventually, I went back to the box and noticed the disassembly tools.

Pulling off the spacebar, I found two pieces of foam rubber.

I've got no idea what those were there for beside threatening my sanity.

With those evicted and the spacebar restored, life is good.

u/smitty1e — 5 days ago
▲ 25 r/Garlic

My German father-in-Law says "Nein" to garlic, but the garlic says:

u/smitty1e — 7 days ago
▲ 3 r/puns+1 crossposts

The silly Princess tried to twirl her fancy headwear...

...and the toss it atop her locks. But she overshot her head entirely. It was a tiara-missu.

reddit.com
u/smitty1e — 11 days ago

"Nobody likes my jokes..."

"Well, maybe you should go somewhere they like lame stuff."

"But I thought that 'Dud Jokes' would welcome me."

reddit.com
u/smitty1e — 12 days ago
▲ 8 r/puns+1 crossposts

My wife is fattening me with Italian cuisine

I am a victim of pasta-ive aggression.

reddit.com
u/smitty1e — 15 days ago

Did you hear the one about the three-legged piece of furniture that absconds with palindromes?

Stool loots.

reddit.com
u/smitty1e — 15 days ago
▲ 43 r/puns+1 crossposts

What do you call it when you drop a breakfast waffle on a Southern California beach?

A sandy eggo.

reddit.com
u/smitty1e — 16 days ago

System76 Wifi Dies On Suspend

My wifi no worky-worky after suspending, due to an update with the last couple weeks.

\> sudo systemctl restart NetworkManager

...brings no joy, either; rebooting seems the only cure.

Send help.

reddit.com
u/smitty1e — 25 days ago
▲ 3 r/pop_os

System76 Wifi Dies On Suspend

My wifi no worky-worky after suspending, due to an update with the last couple weeks.

> sudo systemctl restart NetworkManager

...brings no joy, either; rebooting seems the only cure.

Send help.

reddit.com
u/smitty1e — 25 days ago

By any means necessary

The wife couldn't open the feta container after breaking the seal, so I was summoned to assist.

The lid popped off easily enough via am feta means.

reddit.com
u/smitty1e — 1 month ago