Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.os.linux.advocacy > #683937

Re: Python meanderings

Message-ID <678580fa@news.ausics.net> (permalink)
From not@telling.you.invalid (Computer Nerd Kev)
Subject Re: Python meanderings
Newsgroups comp.os.linux.advocacy, comp.os.linux.misc
References <vm3etj$1rlkk$2@dont-email.me>
Date 2025-01-14 07:09 +1000
Organization Ausics - https://newsgroups.ausics.net

Cross-posted to 2 groups.

Show all headers | View raw


In comp.os.linux.misc Chris Ahlstrom <OFeem1987@teleworm.us> wrote:
> Downloaded, built, and installed the Python app "agordejo". It does not run on
> this Debian system. "This application failed to start because no Qt platform
> plugin could be initialized." Haven't figured that out.
> 
> So there's another Python-based session manager, RaySession, which is part of
> the Debian repo. I install that and run it, and I get a traceback about 15
> levels deep. "No module named cgitb".
> 
>    https://docs.python.org/3/library/cgitb.html
> 
>    This module is no longer part of the Python standard library. It was
>    removed in Python 3.13 after being deprecated in Python 3.11. The removal
>    was decided in PEP 594.
> 
>    A fork of the module on PyPI can now be used instead: legacy-cgi. This is a
>    copy of the cgi module, no longer maintained or supported by the core
>    Python team.
> 
>    The last version of Python that provided the cgitb module was Python 3.12.
> 
> Installing legacy-cgi from the link didn't work (wants a virtual setup).
> But python3-legacy-cgi in the repo works, and I can now run RaySession.

If I'm looking for a program and find a Python script that does
exactly what I want, I keep looking. Too much time wasted trying to
make them run for me, or wasted later when they break compatibility
in a newer Python release.

But I have assumed that Python scripts with Debian (stable)
packages are safe because it's someone else's problem to deal with
making them run with the Python that's pacakged there. But you say
that RaySession came from "the Debian repo" so I guess that
package's maintainer couldn't even get it right. Maybe I should be
even more strict with exterminating these pesky snakes?

-- 
__          __
#_ < |\| |< _#

Back to comp.os.linux.advocacy | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Python meanderings Chris Ahlstrom <OFeem1987@teleworm.us> - 2025-01-13 11:27 -0500
  Re: Python meanderings rbowman <bowman@montana.com> - 2025-01-13 19:58 +0000
  Re: Python meanderings not@telling.you.invalid (Computer Nerd Kev) - 2025-01-14 07:09 +1000
  Re: Python meanderings Farley Flud <ff@linux.rocks> - 2025-01-13 22:03 +0000
    Re: Python meanderings vallor <vallor@cultnix.org> - 2025-01-13 23:53 +0000
    Re: Python meanderings "186282@ud0s4.net" <186283@ud0s4.net> - 2025-01-13 20:55 -0500
      Re: Python meanderings rbowman <bowman@montana.com> - 2025-01-14 04:16 +0000
        Re: Python meanderings Farley Flud <fsquared@fsquared.linux> - 2025-01-14 10:56 +0000
          Re: Python meanderings The Natural Philosopher <tnp@invalid.invalid> - 2025-01-14 15:05 +0000
            Re: Python meanderings DFS <guhnoo-basher@linux.advocaca> - 2025-01-14 16:37 -0500
          Re: Python meanderings Nick Charles - 2025-01-15 00:18 -0500
          Re: Python meanderings "186282@ud0s4.net" <186283@ud0s4.net> - 2025-01-15 00:37 -0500
            Re: Python meanderings Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-15 06:54 +0000
        Re: Python meanderings "186282@ud0s4.net" <186283@ud0s4.net> - 2025-01-14 23:09 -0500
          Re: Python meanderings rbowman <bowman@montana.com> - 2025-01-15 05:48 +0000
    Re: Python meanderings DFS <guhnoo-basher@linux.advocaca> - 2025-01-13 22:54 -0500
      Re: Python meanderings Nick Charles - 2025-01-14 00:01 -0500
        Re: Python meanderings DFS <guhnoo-basher@linux.advocaca> - 2025-01-14 16:33 -0500
          Re: Python meanderings Nick Charles - 2025-01-15 00:13 -0500

csiph-web