View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004696||FreeCAD||Bug||public||2021-07-02 16:50||2021-08-11 17:20|
|Summary||0004696: Problems with startup from command line (attached logs)|
|Description||When I attempt to start a fresh (just downloaded from the freecad.org website) FreeCAD from the console and add an " & " char at the end (to run it in background), I get a following error message thrown out in the terminal window:|
|Steps To Reproduce||Attempt to start FreeCAD from the console, adding after the command a space and the & character|
|Additional Information||For security reasons, I had replaced in the attached debug log the path to the home folder|
I had discovered that the issue was caused because xcb couldn't become loaded. I got able to fix this by typing in the console following command:
Note: The path where freeCAD is placed has been truncated for security reasons
After updating python to the version 3.9, it stopped to work with following errors:
Python path configuration:
PYTHONHOME = '/usr/lib/python3.9' (set manually)
PYTHONPATH = (not set)
program name = 'bin/freecad'
isolated = 0
environment = 1
user site = 1
import site = 1
sys._base_executable = 'bin/freecad'
sys.base_prefix = '/usr'
sys.base_exec_prefix = '/usr'
sys.executable = 'bin/freecad'
sys.prefix = '/usr'
sys.exec_prefix = '/usr'
sys.path = [
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00007fd8b4507800 (most recent call first):
<no Python frame>
Additionally, I don't know why the "PYTHONPATH" variable is displayed as not beeing set, even if it's has been exported.
Hopefully it helps
||It looks like this is two different bugs, and that the first one has been resolved -- is that correct?|
|2021-07-02 16:50||mcgiwer||New Issue|
|2021-07-02 16:50||mcgiwer||Tag Attached: 0.19|
|2021-07-14 18:28||mcgiwer||Note Added: 0015735|
|2021-07-18 19:30||mcgiwer||Note Added: 0015737|
|2021-07-18 19:33||mcgiwer||Note Edited: 0015737|
|2021-07-18 20:44||mcgiwer||Note Edited: 0015737|
|2021-08-11 17:20||chennes||Note Added: 0015806|
|2021-08-11 17:20||chennes||Assigned To||=> chennes|
|2021-08-11 17:20||chennes||Status||new => feedback|