AequilibraE / qaequilibrae

Free QGIS add-on for transportation modeling
https://www.aequilibrae.com/qgis/latest/
Other
75 stars 24 forks source link

Saving log and exporting files to CSV are not working #227

Closed r-akemii closed 11 months ago

r-akemii commented 1 year ago

When I was working on Issue #222, I noticed that some other QAequilibraE tools are not saving/exporting files as they should.

  1. Project -> logfile -> save to disk - external window to allow the user to select where he/she wants to save the log is not opening, thus saving is not taking place.
  2. Data -> Display project data -> Select a matrix -> Load matrix -> Export - external window to allow the user to select where he/she wants to save the project matrix opens up, but after typing the desired file name, and pressing save, the following error pops up:

AequilibraE - Um erro ocorreu enquanto executava o código Python_

Art-Ev commented 1 year ago

About 1. : logfile is directly stored in the project folder so it's not a big issue (juste a simple text file). Still a bug though...

About 2. : working without problem with some .aem demand matrix but I get the same error when trying to export skim matrices (.omx). And these matrices seems very similar... 🤔

Working demand_matrix (stored in .aem using qAequilibraE import function) : image

Non-working skim matrix (created by qAequilibraE during traffic assigment) : image

r-akemii commented 1 year ago

I talked with Pedro and we'll temporarily disable QAequilibraE's capacity to export CSV files. Some changes need to be done in the AequilibraE code.