Closed Art-Ev closed 7 months ago
Same error with matrix import from OpenLayers: \AequilibraE\matrix_procedures\load_matrix_dialog.py", line 149, in run_thread self.worker_thread.ProgressValue.connect(self.progress_value_from_thread) AttributeError: 'LoadMatrix' object has no attribute 'ProgressValue'
(Using this project : St_Varent.zip )
I would not expect to have many of these, as I am surprised there are any!!
I replaced the worker thread class throughout the software, but have clearly failed to do the stitching (and testing) properly. Wil fix it soon.
A new version fixing this issue has been uploaded
Bearer of bad news is back @pedrocamargo :
Matrix import (from openlayer) when trying to save matrix :
Creating project from layers with NetworkExample (first post in this thread) : seems to stop unexpectedly before the end and without error
Creating project from layers with old aequilibrae project (working with previous AequilibraE-GUI version, just importing nodes and links layer in QGIS from .sqlite and then select them as layers) : had to relaunch qgis to be able to open new project but nodes import seems buggy
@Art-Ev , The crashing should be fixed.
The second issue is also crashing (but since it is on a thread, you would need to open the little message bar on the right lower corner
This is not actually a bug, but a case where the input data has no projection system, and therefore AequilibraE does not know how to convert the data. I have included a check for that to give the user an error message before the importing process begins.
These two issues have been updated and a new version has been uploaded.
The last issue is a little more complicated, so I am investigating. This will probably come with a new feature of "upgrading old aequilibrae models", as link_types, modes, list of matrices and other things should also be carried through.
Will continue to investigate 2nd and 3rd issues
Good insight. I will take a look at this procedure this weekend. I have recently developed some similar stuff at Argonne but using a lot more SQL, which I will try to transfer here. It should simplify the code substantially
Hi ! Does somebody find something (maybe just a direction) to allow project creation from layers which was working bedore ? (keeping ID's from provided layers) @pedrocamargo, @r-akemii ?
Hey @Art-Ev, I ran an example with links with _linkid that doesn't start in 1, and the project created seems to be working fine, keeping their original ID. Do you have any data that didn't work previously to provide me so I can better investigate this issue?
@Art-Ev I did some modifications in Create projects from layers that might have solved the issue you reported. Could you please check and see if it is working fine now?
There was indeed a bug in Create functions from layers that was solved in #291.
Describe the bug
Error when creating project from layer: \AequilibraE\project_procedures\creates_transponet_dialog.py", line 310, in run_thread self.worker_thread.ProgressValue.connect(self.progress_value_from_thread) AttributeError: 'CreatesTranspoNetProcedure' object has no attribute 'ProgressValue'
To Reproduce
Creating project from layer. For example from this network (also tested on another network with the same result) : NetworkExample.zip
Desktop (please complete the following information):