Issue with ´Graph´ object

13 views
Skip to first unread message

Mario Stamm

unread,
Mar 5, 2025, 9:06:33 PMMar 5
to aequi...@googlegroups.com, Pedro Camargo

Hi everyone,

I'm working on a new project using QAequilibrae version 1.1.6 on QGIS 3.40.2. However, I encountered an issue at the "Create Project from Layers" step, where the following error appeared:

2025-03-05T19:00:26     WARNING    Traceback (most recent call last):

              File "C:\Users/mario/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qaequilibrae\modules\paths_procedures\show_shortest_path_dialog.py", line 71, in prepare_graph_and_network
              self.graph.set_skimming([self.minimize_field])
              File "C:\Users/mario/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qaequilibrae\packages\aequilibrae\paths\graph.py", line 435, in set_skimming
              df = self.__graph_groupby.sum(numeric_only=True)[skim_fields].reset_index()
              ^^^^^^^^^^^^^^^^^^^^
             AttributeError: 'Graph' object has no attribute '_GraphBase__graph_groupby'

Has anyone experienced this before or knows how to fix it? 

Thanks in advance.

Cheers,


Mario Stamm
Civil Engineer,  D.Sc. Transportation Engineering


Pedro Camargo

unread,
Mar 5, 2025, 9:15:41 PMMar 5
to aequilibrae
Mario,

          I suspect that the issue is that you are trying to create a graph for a network that has no centroids in it, but it is virtually impossible to be sure about the source of the error without looking at your data.

The best solution for exploring these problems is using AequilibraE directly in Python and following the stack trace completely.  I recommend using the recently released AequilibraE 1.2.

Cheers,
Pedro



---- On Thu, 06 Mar 2025 12:06:22 +1000 Mario Stamm <mario...@gmail.com> wrote ---

--
You received this message because you are subscribed to the Google Groups "AequilibraE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aequilibrae...@googlegroups.com.


Reply all
Reply to author
Forward
0 new messages