Traceback (most recent call last):
File “/usr/bin/alpaca”, line 44, in
from alpaca import main
File “/usr/share/Alpaca/alpaca/main.py”, line 28, in
from .window import AlpacaWindow
File “/usr/share/Alpaca/alpaca/window.py”, line 23, in
import odf.opendocument as odfopen
ModuleNotFoundError: No module named ‘odf’
The lines from the relevant files are:
/usr/bin/alpaca
from alpaca import main
main.py
from .window import AlpacaWindow
window.py
import odf.opendocument as odfopen
This started from me removing the Flatpak version of Alpaca and installing the Alpaca from the repos. Is it possible that flatpak removed something it shouldnt have or is there maybe something missing from the repo package?
Sorry if this is not to help with your current problem:
How do you remove the flatpak apps?
Is it something you do in console? If so (and that’s the purpose of my question) it’s good practice to keep transactions logs for future documentation if any need.
At the time of installations, but even more so when it comes to remove stuff.
I do realize that it’s late in this specific case however it may be useful for others to know.
I dont know where to find the logs for flatpak or flatdrake. But I honestly dont think that flatpak touches anything outside of flatpak.
But I did find the dnf.log for when I installed Alpaca today.
2025-01-26T10:52:03-0500 INFO ================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
alpaca x86_64 3.2.0-1 rolling-x86_64 326 k
Installing dependencies:
lib64vte-gir3.91 x86_64 0.78.2-1 rolling-x86_64 17 k
numactl x86_64 2.0.19-1 rolling-x86_64 56 k
python-coverage x86_64 7.6.10-1 rolling-x86_64 370 k
python-html2text noarch 2024.2.26-1 rolling-x86_64 25 k
python-httpretty noarch 1.1.4-1 rolling-x86_64 29 k
python-icu x86_64 2.14-1 rolling-x86_64 333 k
python-mock noarch 4.0.3-1 rolling-x86_64 32 k
python-pydbus noarch 0.6.0-1 rolling-x86_64 20 k
python-pypdf noarch 5.1.0-1 rolling-x86_64 674 k
python-pytube noarch 15.0.0-1 rolling-x86_64 52 k
python-youtube-transcript-api noarch 0.6.2-1 rolling-x86_64 26 k
I didnt see anything about the python-odf or pytthon-odf-tools so I went ahead and installed those since they are small and I’m guessing those are python modules and it wouldnt hurt having an extra module or two.
2025-01-27T19:12:10-0500 INFO ================================================================================
Package Architecture Version Repository Size
================================================================================
Installing:
python-odf noarch 1.4.1-1 rolling-x86_64 120 k
python-odf-tools noarch 1.4.1-1 rolling-x86_64 42 k
Installing dependencies:
python-defusedxml noarch 0.7.1-1 rolling-x86_64 27 k