Page 3 of 3
Re: The real way to check the forum
Posted: Wed Mar 25, 2020 9:02 pm
by Nite Coder
New Forum script requiring python3-bs4, python3-soupsieve, python3-urwid
This script has a ncurses interface and you can view and browse both subforms and topics
Script Download:
https://raw.githubusercontent.com/TheNi ... rum-tui.py
Re: The real way to check the forum
Posted: Wed Mar 25, 2020 10:44 pm
by JayM
I installed python3-bs4, python3-soupsieve and python3-urwid from the MX stable repo yet when I run the script I still get
Code: Select all
$ python ./mx-forum-tui.py
Traceback (most recent call last):
File "./mx-forum-tui.py", line 11, in <module>
import urwid
ImportError: No module named urwid
I did a Catfish search for urwid in my filesystem with no results found but MXPI shows that it's installed, so apparently the module is actually called something different than the package's name.
Re: The real way to check the forum
Posted: Wed Mar 25, 2020 10:45 pm
by JayM
Code: Select all
$ apt show python3-urwid
Package: python3-urwid
Version: 2.0.1-2+b1
Priority: optional
Section: python
Source: urwid (2.0.1-2)
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Installed-Size: 938 kB
Provides: python3.6-urwid, python3.7-urwid
Depends: python3 (<< 3.8), python3 (>= 3.6~), python3:any (>= 3.3.2-2~), libc6 (>= 2.4)
Suggests: python-urwid-doc (>= 2.0.1-1)
Homepage: http://urwid.org/
Download-Size: 174 kB
APT-Manual-Installed: yes
APT-Sources: http://mirror.pregi.net/debian buster/main amd64 Packages
Description: curses-based UI/widget library for Python 3
Urwid is a console user interface library that includes many features
useful for text console application developers including:
.
* Fluid interface resizing (xterm window resizing/fbset on Linux console)
* Web application display mode using Apache and CGI
* Support for UTF-8, simple 8-bit and CJK encodings
* Multiple text alignment and wrapping modes built-in
* Ability to create user-defined text layout classes
* Simple markup for setting text attributes
* Powerful list box that handles scrolling between different widget types
* List box contents may be managed with a user-defined class
* Flexible edit box for editing many different types of text
* Buttons, check boxes and radio boxes
* Customizable layout for all widgets
* Easy interface for creating HTML screen shots
.
This is the Python 3 version of the package.
Re: The real way to check the forum
Posted: Sun Mar 29, 2020 3:25 pm
by Nite Coder
It is probably because python refers to python2 and you installed python3-urwid and that is why it can't find the module. So just specify python3
Re: The real way to check the forum
Posted: Sun Mar 29, 2020 10:29 pm
by JayM
That worked. Thanks. :)
Viewing the results makes me wonder if I can find FTP sites for Linux with Archie then use the cli ftp client to get 'em. Hmm, I'll have to install lynx so I can search the web and find out, unless there's some info in gopher.
Re: The real way to check the forum
Posted: Wed Jun 03, 2020 12:48 pm
by confetti
I love dipping into the Forum for ideas and feedback, but I must admit that I am often overwhelmed by it, and am not making the most efficient use of it.
I would like to suggest that one of the "MXperts" make a video that breaks it down into easy parts for people like me to understand. It could show how to search, post, or even make a terminal reader as is being discussed here.
I think one of the secrets to the success of MX Linux has been the brilliance of all the videos that so ably walk us through the basics and point us to greater creativity!