The officially official Devuan Forum!

You are not logged in.

#1 2024-08-30 15:15:26

amaro
Member
Registered: 2022-02-08
Posts: 97  

tuir python3 issue

hello everybody,

after upgrading to 'excalibur' 'tuir' stopped working.

reinstalled it with 'pipx' but then it failed due to python3

$ pipx install --force tuir
Installing to existing venv 'tuir'
⣽ installing tuir
⚠  Note: tuir was already on your PATH at /usr/local/bin/tuir
installed package tuir 1.29.0, installed using Python 3.12.5
These apps are now globally available
- tuir
These manual pages are now globally available
- man1/tuir.1
done! ✨ 🌟 ✨
18:05:40 -> ~/tuir
$ tuir
Traceback (most recent call last):
File "/home/**/.local/bin/tuir", line 5, in <module>
from tuir.__main__ import main
File "/home/**/.local/share/pipx/venvs/tuir/lib/python3.12/site-packages/tuir/__main__.py", line 291, in <module>
sys.exit(main())
^^^^^^
File "/home/**/.local/share/pipx/venvs/tuir/lib/python3.12/site-packages/tuir/__main__.py", line 76, in main
fargs, bindings = Config.get_file(args.get('config'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/**/.local/share/pipx/venvs/tuir/lib/python3.12/site-packages/tuir/config.py", line 134, in get_file
config.readfp(fp)
^^^^^^^^^^^^^
AttributeError: 'RawConfigParser' object has no attribute 'readfp'. Did you mean: 'read'?
18:05:49 -> ~/tuir
$

anyone using 'tuir'?
ideas are appreciated.

thank you in advance!

Last edited by amaro (2024-08-30 15:16:45)

Offline

#2 2024-08-30 18:51:04

Altoid
Member
Registered: 2017-05-07
Posts: 1,591  

Re: tuir python3 issue

Hello:

amaro wrote:

... after upgrading to 'excalibur' 'tuir' stopped working.

Offhand, I can see two issues here:

1.
Assuming that 'tuir' was working in Devuan Daedalus (the Devuan stable suite) the first thing to consider is that Devuan Excalibur is the Devuan testing suite. ie: these things are actually expected to happen. 

2.
There is no package named tuir in any of the Devuan repositories.
Or in the Debian repositories.

There are packages by that name in other distribution's repositories.
https://repology.org/project/tuir/versions

From the printout (just guessing) I think there may be something wrong with the application's python scripts.
Or the python version 'tuir' needs to work properly.

eg:
My Daedalus installation has python3/stable,now 3.11.2-1+b1 where as from the printout, it seems that the Excalibur installation uses 3.12.5. 

Best,

A.

Offline

Board footer