Hi all,
I solve a few issues I had, I provide the modifications here. It's a bit technical and I'm not sure this is the place for this. Is it ?
So it seems that with python 3.8 it does not work to import a class from the package containing it. For example :
"from .aequilibrae.aequilibrae.paths import allOrNothing"
does not work, but
"from .aequilibrae.aequilibrae.paths.all_or_nothing import allOrNothing" DOES work
Also, each time I want to import pyx package I need to add
"import pyximport"
"pyximport.install()"
in files all_or_nothing.py and linear_approximation.py
Finally, in file parallel_numby.pyx before line 11, I added line "cimport cython"
Now, I can run QGIS without error. Also I could open :
Project -> Open Project : OK
Project -> Create Project from OSM : OK
Project -> Create Project from layers : OK
Network Manipulation -> Network Preparation : OK
Network Manipulation ->Add centroid connector : NOT OK : window pops up, I click on "OK" without doing anything -> QGIS closes unexpectedly. Note that I did not open any project or any file in QGIS, I'm just testing. In my terminal, I got :
"
QGIS died on signal 11Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operation not permitted.
No thread selected
No stack.
gdb returned 256
Aborted (core dumped)
sam@sam-HP-EliteBook-Folio-9470m:~/.local/share/QGIS/QGIS3/profiles/default/python/plugins/AequilibraE/aequilibrae/aequilibrae/paths$ qgis
QGIS died on signal 11Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operation not permitted.
No thread selected
No stack.
gdb returned 256
Aborted (core dumped)
"
I assume this is some silent bug due to the fact that I did not open any project.
I hope I can make Aequilibrae work on my machine soon. I'll try to run the siouxfall project when I have more time..
Best,
Samuel