NorskeGjeit
unread,Oct 11, 2022, 5:08:31 PM10/11/22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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