a few words about installing and running Sofastats on old linux system

24 views
Skip to first unread message

NorskeGjeit

unread,
Oct 11, 2022, 5:08:31 PM10/11/22
to sofastatistics
HI - I had to install Sofastats on 4 laptops with Slackware 14.2 with the xfce4 desktop installed - here is my experience:
The biggest problem was to get wxPython installed in Python 3.7.14 as a some Linux packages was missing on two of the machines ( gtk+2 ; webkit2gtk; woff2; pathlib2 ).
The wxPython package needs a working Linux gtk+2 "tool-chain" to build, where status of the tool-chain can be checked by issuing  "pkg-config --cflags gtk+-2.0"  in a terminal - it should return no errors.
ImageMagick ver. 6.9.12 was installed on the machines.The python3 module "wxPython" would now build from a root terminal window issuing  "pip3 install wxPython" (takes a long time).
According to the manual the python3 modules "psycopg2-binary", "pyPDF2", "wkhtmltopdf", "xdg", "sympy", "requests", "six", "pillow", "pymysql" and "openpyxl" are essential and all was installed with "pip3 install xdg" et.c.
On these old systems also the python3 modules "pathlib" and "gobject" was installed, "to be sure".

Installing Sofastats 1.5.5 itself was uncomplicated by (as root) renaming the folder "sofastats_src" to "sofastats" and copying the folder into "/usr/share/pyshared", and following copy the file  "sofastats.desktop" into "/usr/shared/applications". Sofastats would now run from the entrance in the Home xfce4 menu (located under "education")
 
A flaw in version 1.5.5 when importing spreadsheets could be "hotfixed" by replacing the "importing" folder with the older version 1.5.4. folder of the same name.
To create a desktop icon on xfce4 the command "python3 -m sofastats.start" should be used and the working directory set as "/usr/share/pyshared".
The log file "output.txt" in the home "/Documents/sofastats/_internal/" directory is of great help when running into trouble.

Thank you to the developer for this application that really could be helpful for many young students  :) - sincerely per

Grant Paton-Simpson

unread,
Oct 13, 2022, 1:19:13 PM10/13/22
to sofasta...@googlegroups.com

Thanks!

I'm planning to package a new bug-fix release over the NZ Summer holidays. I'll reference this email as part of that.

--

---
You received this message because you are subscribed to the Google Groups "sofastatistics" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sofastatistic...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sofastatistics/0041d50b-2fd2-42b5-aadf-330ffda6867bn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages