Enviroment informations (copied from the issue #4696):
* FreeCAD version: 0.19.2
* System: Debian 10 (64-bit Linux)
* Installed Python: 2.7 (to run some extensions with work only with Python2), 3.9
Post reply:
* On top of the 'Help on using FreeCAD' subforum, there is a red banner with a link that explains needed info to declare a potential bug : this link is IMPORTANT: Please click here and read this first, before asking for help
I had fulfilled the all 5 points of it, Instead of the 6th I had copied and pasted the message because doing a screenshoot of it would show the same thing (plus the full path, with I needed to truncate for the security reasons)
* Another interesting reading is the tracker reporting guidelines, where you (among other) will learn that your issue shall be vetted by the community on the forum before opening a ticket
I had fulfilled it too. The reported bug is easy to reproduce (need only to update Python to a new version), all needed informations were given in the linked to bug report (with was created because I predicted that instead of helping to find a workaround, I will get a message in the type "it won't work", or similiar)
thon
FreeCAD doesn't use Perl.
Anyway, provide more information (is the AppImage running well when launched from the DE ?) and especially tell us how is your FS encoded (as this is actually what Python is complaining about).
Sorry, I meant Python. I don't know why I did wrote Perl. Additionlly, please don't use shortcuts (like DE, FS, etc. because not every one may understand them.
Answering on your question, I was attempting to run the AppImage after I had updated my installed Python to the version 3.9 and had set manually the PYTHONHOME path to the one with is installed in the system.
I had posted it in the Developer sub-forum because it's a FreeCAD code related problems of followig types:
* the "PYTHONHOME", "PYTHONPATH" and python "sys." variables are beeing incorrectly set
* all of the FreeCAD related pathes (for example: bin, Ext, lib, etc.) should be dynamic to the FreeCAD root folder (the one from with it's beeing started) instead of using real path (this would solve some eventual issues)
* the python related pathes (PYTHONHOME, etc.) should be set afer discovery if the avaliable python versions
* the "sys.path" vatiable forces to search for the python3.8 only, with prevent any eventual upgrade and some extensions from working