GSoC 2025 pgRouting first period communications

Reply to:

Dear @cvvergara ,

I’m truly sorry for the trouble I caused.

I believe I might have misunderstood what @robe said. I clearly remember what you mentioned in the meeting — not to do force-pushes and not to fetch from pgrouting — and I really took those instructions seriously. However, when I was dealing with some leftover issues from last week, I felt that I had to do both a force-push and a fetch from pgrouting in order to move forward.

Even though I hesitated that time, I thought maybe I could give it a try and see what happens, and then try to fix things if anything went wrong. That was my mistake, and I sincerely apologize for not being more careful and for going against your guidance.

I’ve now removed the pgrouting remote from my local repo again, and I won’t force-push again in the future.

Sorry again for the trouble, and thank you for your patience in fixing the pull request.

Best regards,

wifi

Hello Everyone,

I hope you all are doing well. I wanted to inform you that I will not be able to attend today’s meeting as I am currently traveling back home and will be reaching by midnight.

Apologies for any inconvenience caused. Please feel free to share any important updates, and I will make sure to catch up accordingly.

Hello mentors, I’m facing this issue after successfully compiling my code.

 bash run.sh
pgRouting VERSION 4.0.0
------------------------------------
------------------------------------
Compiling with G++-
------------------------------------
-- CMAKE_BUILD_TYPE Debug
-- DOXYGEN_MINIMUM_VERSION=1.7
-- SPHINX_MINIMUM_VERSION=4.0
-- POSTGRESQL_MINIMUM_VERSION=13.0.0
-- BOOST_MINIMUM_VERSION=1.56.0
-- POSTGIS_MINIMUM_VERSION=3.0.0
-- POSTGRESQL_PG_CONFIG is /usr/bin/pg_config
-- POSTGRESQL_EXECUTABLE is /usr/lib/postgresql/17/bin/postgres
-- POSTGRESQL_VERSION_STRING in FindPostgreSQL.cmake is PostgreSQL 17.0 (Debian 17.0-1+b2)
-- POSTGRESQL_INCLUDE_DIR: /usr/include/postgresql/17/server
-- POSTGRESQL_LIBRARIES: /usr/lib/x86_64-linux-gnu
-- POSTGRESQL_VERSION_STRING=PostgreSQL 17.0 (Debian 17.0-1+b2)
-- POSTGRESQL_VERSION=17.0
-- PGSQL_VERSION=17000
-- PGSQL_VERSION=17000
-- LIBRARY_INSTALL_PATH /usr/lib/postgresql/17/lib
-- Developers documentation.
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) (Required is at least version "1.7")
-- PROJECT_DOC_TARGETS = html;latex
-- PROJECT_BUILD_LANGUAGES = en
-- SPHINXINTL_LANGUAGE = en
-- Checking for package 'Sphinx'
-- SPHINX_VERSION sphinx-build 7.4.7
-- SPHINX_VERSION 7.4.7
-- PGR_DOCUMENTATION_BUILD_DIR = /home/bipasha/GSoC-pgRouting/build/doc
-- Configuring done (1.1s)
-- Generating done (0.2s)
-- Build files have been written to: /home/bipasha/GSoC-pgRouting/build
[  0%] Built target legacy
[  1%] Built target allpairs
[  2%] Built target metrics
[  3%] Built target astar
[  5%] Built target bdDijkstra
[  6%] Built target tsp
[ 10%] Built target ksp
[ 10%] Built target bdAstar
[ 17%] Built target withPoints
[ 20%] Built target common
[ 22%] Built target dijkstra
[ 24%] Built target contraction
[ 32%] Built target pickDeliver
[ 33%] Built target driving_distance
[ 38%] Built target trsp
[ 40%] Built target lineGraph
[ 40%] Building C object src/version/CMakeFiles/version.dir/version.c.o
[ 46%] Built target max_flow
[ 47%] Built target mincut
[ 47%] Built target chinese
[ 48%] Built target dagShortestPath
[ 49%] Built target topologicalSort
[ 51%] Built target transitiveClosure
[ 52%] Built target bellman_ford
[ 53%] Built target traversal
[ 56%] Built target spanningTree
[ 58%] Built target breadthFirstSearch
[ 59%] Built target planar
[ 60%] Built target extension_file
[ 65%] Built target cpp_common
[ 66%] Built target dominator
[ 70%] Built target circuits
[ 70%] Built target coloring
[ 77%] Built target components
[ 80%] Built target ordering
[100%] Built target update_files
[100%] Built target version
[100%] Linking CXX shared library lib/libpgrouting-4.0.so
[100%] Built target pgrouting-4.0
[sudo] password for bipasha:
[  1%] Built target metrics
[  7%] Built target common
[ 10%] Built target dijkstra
[ 10%] Built target legacy
[ 11%] Built target allpairs
[ 12%] Built target astar
[ 13%] Built target driving_distance
[ 16%] Built target ksp
[ 18%] Built target tsp
[ 19%] Built target bdAstar
[ 20%] Built target bdDijkstra
[ 25%] Built target trsp
[ 31%] Built target max_flow
[ 33%] Built target contraction
[ 41%] Built target pickDeliver
[ 44%] Built target withPoints
[ 46%] Built target lineGraph
[ 53%] Built target components
[ 55%] Built target bellman_ford
[ 60%] Built target cpp_common
[ 61%] Built target dagShortestPath
[ 62%] Built target chinese
[ 65%] Built target spanningTree
[ 65%] Built target mincut
[ 65%] Built target version
[ 66%] Built target topologicalSort
[ 67%] Built target transitiveClosure
[ 69%] Built target breadthFirstSearch
[ 70%] Built target traversal
[ 73%] Built target coloring
[ 74%] Built target planar
[ 75%] Built target dominator
[ 78%] Built target ordering
[ 79%] Built target circuits
[ 79%] Built target pgrouting-4.0
[ 80%] Built target extension_file
[100%] Built target update_files
Install the project...
-- Install configuration: "Debug"
-- Installing: /usr/lib/postgresql/17/lib/libpgrouting-4.0.so
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.8.0--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.7.3--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.7.2--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.7.1--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.7.0--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.6.3--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.6.2--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.6.1--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.6.0--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.5.1--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.5.0--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.4.2--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.4.1--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.4.0--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.3.5--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.3.4--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.3.3--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.3.2--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.3.1--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.3.0--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.2.2--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.2.1--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.2.0--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.1.4--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.1.3--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.1.2--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.1.1--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.1.0--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.0.6--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.0.5--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.0.4--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.0.3--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.0.2--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.0.1--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--3.0.0--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--2.6.3--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--2.6.2--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--2.6.1--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--2.6.0--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting--4.0.0.sql
-- Up-to-date: /usr/share/postgresql/17/extension/pgrouting.control
--------------------------------------------
Execute documentation queries
--------------------------------------------
RUNNING: doc_queries_generator.pl -alg docqueries/ordering -pgport 5432
Operative system found: linux
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
        Is the server running locally and accepting connections on that socket?
Use of uninitialized value $pg in substitution (s///) at tools/testers/doc_queries_generator.pl line 493.
Use of uninitialized value $dbver in concatenation (.) or string at tools/testers/doc_queries_generator.pl line 382.

    Unsupported postgreSQL version
    Minimum requierment is 12 version
    Use -force to force the tests

How do I solve this? my psql version is 17 too.

Hello @bipashabg
I tried to see the action that checks the queries after you pushed

Please execute the following:

bash tools/release-scripts/get_signatures.sh

commit.

I am running with the debug flag:

RUNNING: doc_queries_generator.pl -alg docqueries/ordering -level DEBUG3 -pgport 5432
The level DEBUG3
Operative system found: linux
DROP EXTENSION
ERROR:  function pgr_sloanordering(text, bigint, bigint) does not exist
ERROR:  function pgr_version() does not exist
LINE 1: select pgr_version()

but basically I am getting the same error from the actions

To fix the error I get change:

COMMENT ON FUNCTION pgr_sloanOrdering(TEXT, BIGINT, BIGINT)

to

COMMENT ON FUNCTION pgr_sloanOrdering(<List of input parameter's types>)

Where you need to figure what goes there :slight_smile:

After fixing please commit and push and then go to the actions and focus on check-queries action.
(aka let the actions be your computer)

We will worry about fixing your problem on Monday meeting, you can always go to the actions to see the progress of your execution.

prepare yourself for fixing the problem:

Without the need to recompile you can run the script:

tools/testers/doc_queries_generator.pl -help

Which wont help much in your current problem, but basically for any command you can ask for help on the command.

Then:

Always think: “I will not be the first one to have this error, and will not be the last one”

therefore google the error:

> Blockquote
PGSQL.5432" failed: No such file or directory Is the server running locally and accepting connections on that socket

Read around, maybe you will find something that makes you fix your own problem.
Have some links ready for the monday meeting

A couple of comments:

You may disable also the build for macos action it takes a lot of time to execute.
We can enable that later.

The check-files action is the easiest to keep passing:

For the signature check:

tools/release-scripts/get_signatures.sh

For the NEWS check: (use only when release_notes.rst changes)

tools/release-scripts/notes2news.pl

for style-check:

tools/scripts/code_checker.sh

That will find style errors like this one:

Modify the code until no errors

1 Like

@Saloni-2005 @wifi @bipashabg
Left you some comments on your PR
I hope you can fix those.

And please disable action for centos on your fork

2 Likes

Hi @cvvergara, @sanak, and @robe ,

I hope you’re all doing well. Our meeting was originally scheduled for 11:00 AM Shanghai time on July 14, which corresponds to:

  • 10:00 PM Mexico City time on July 13 (@cvvergara)
  • 12:00 PM Osaka time on July 14 (@sanak)
  • (@robe – I’m not sure of your time zone, so please kindly let me know if the following times work for you.)

Unfortunately, I have an very important research funding defense at my university at that exact time tomorrow.

Would it be possible to delay our meeting by one hour ?

The adjusted time would be:

  • 12:00 PM Shanghai time on July 14
  • 11:00 PM Mexico City time on July 13
  • 1:00 PM Osaka time on July 14

If this adjustment is inconvenient for anyone, I’m also happy to postpone the meeting to July 15 instead.

Of course, I will still begin my Week 7 as planned before the meeting.

Thank you all for your understanding!

Best regards,
wifi

My time is Boston, USA which looks to be midnight July 14th.

That time works okay for me, though I actually had 10 PM before, so two hours later. Maybe I missed an earlier calendar change.

Hi @wifi, @cvvergara, and @robe,

Thanks for bringing that up!
Both delaying by one hour today and postponing to tomorrow work fine for me.
However, today I need to leave in one hour for another meeting.
(Regarding tomorrow’s PSC meeting, we can adjust the start time if needed, I think.)

Best regards,

@wifi @cvvergara @sanak so we are meeting in about an hour?

Sorry meant 2 hrs from now.

ah, yes, 2 hours from now

Okay, thanks for confirmation!

Hi, @cvvergara @robe @sanak .
I finish my research funding defense now. If time is okay, we can have meeting now.

Hello everyone

I wanted to inform you that I won’t be able to attend today’s meeting due to a family function at my home. I sincerely apologize for the inconvenience and appreciate your understanding. This is a one-time situation, and I will resume work as usual starting tomorrow.

In the meantime, I am currently encountering a compilation error in my code that I would appreciate some guidance on. The issue occurs when compiling metrics_driver.cpp and appears to be related to Boost Graph Library’s expectations from the Pgr_base_graph class. Below is the error:

In file included from /usr/include/boost/graph/adjacency_list.hpp:24, from /home/saloni/GSoC-pgRouting/include/metrics/bandwidth.hpp:36, from /home/saloni/GSoC-pgRouting/src/metrics/metrics_driver.cpp:36: /usr/include/boost/graph/graph_traits.hpp: In instantiation of ‘struct boost::graph_traits<pgrouting::graph::Pgr_base_graph<boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, pgrouting::Basic_vertex, pgrouting::Basic_edge>, pgrouting::Basic_vertex, pgrouting::Basic_edge, false> >’: /usr/include/boost/graph/bandwidth.hpp:67:52: required by substitution of ‘template<class Graph> typename boost::graph_traits<G>::vertices_size_type boost::bandwidth(const Graph&) [with Graph = pgrouting::graph::Pgr_base_graph<boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, pgrouting::Basic_vertex, pgrouting::Basic_edge>, pgrouting::Basic_vertex, pgrouting::Basic_edge, false>]’ /home/saloni/GSoC-pgRouting/src/metrics/metrics_driver.cpp:82:31: required from here /usr/include/boost/graph/graph_traits.hpp:61:43: error: no type named ‘vertex_descriptor’ in ‘class pgrouting::graph::Pgr_base_graph<boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, pgrouting::Basic_vertex, pgrouting::Basic_edge>, pgrouting::Basic_vertex, pgrouting::Basic_edge, false>’ 61 | typedef typename G::vertex_descriptor vertex_descriptor; | ^~~~~~~~~~~~~~~~~ /usr/include/boost/graph/graph_traits.hpp:62:41: error: no type named ‘edge_descriptor’ in ‘class pgrouting::graph::Pgr_base_graph<boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, pgrouting::Basic_vertex, pgrouting::Basic_edge>, pgrouting::Basic_vertex, pgrouting::Basic_edge, false>’ 62 | typedef typename G::edge_descriptor edge_descriptor; | ^~~~~~~~~~~~~~~ /usr/include/boost/graph/graph_traits.hpp:69:43: error: no type named ‘directed_category’ in ‘class pgrouting::graph::Pgr_base_graph<boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, pgrouting::Basic_vertex, pgrouting::Basic_edge>, pgrouting::Basic_vertex, pgrouting::Basic_edge, false>’ 69 | typedef typename G::directed_category directed_category; | ^~~~~~~~~~~~~~~~~ /usr/include/boost/graph/graph_traits.hpp:70:48: error: no type named ‘edge_parallel_category’ in ‘class pgrouting::graph::Pgr_base_graph<boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, pgrouting::Basic_vertex, pgrouting::Basic_edge>, pgrouting::Basic_vertex, pgrouting::Basic_edge, false>’ 70 | typedef typename G::edge_parallel_category edge_parallel_category; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/graph/graph_traits.hpp:71:44: error: no type named ‘traversal_category’ in ‘class pgrouting::graph::Pgr_base_graph<boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, pgrouting::Basic_vertex, pgrouting::Basic_edge>, pgrouting::Basic_vertex, pgrouting::Basic_edge, false>’ 71 | typedef typename G::traversal_category traversal_category; | ^~~~~~~~~~~~~~~~~~ /home/saloni/GSoC-pgRouting/src/metrics/metrics_driver.cpp: In function ‘void do_metrics(std::string, int, IID_t_rt**, size_t*, char**, char**)’: /home/saloni/GSoC-pgRouting/src/metrics/metrics_driver.cpp:82:31: error: call of overloaded ‘bandwidth(pgrouting::UndirectedGraph&)’ is ambiguous 82 | result = bandwidth(undigraph); | ~~~~~~~~~^~~~~~~~~~~ /home/saloni/GSoC-pgRouting/include/metrics/bandwidth.hpp:46:10: note: candidate: ‘uint64_t pgrouting::metrics::bandwidth(const G&) [with G = pgrouting::graph::Pgr_base_graph<boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, pgrouting::Basic_vertex, pgrouting::Basic_edge>, pgrouting::Basic_vertex, pgrouting::Basic_edge, false>; uint64_t = long unsigned int]’ 46 | uint64_t bandwidth(const G &graph) { | ^~~~~~~~~ In file included from /home/saloni/GSoC-pgRouting/include/metrics/bandwidth.hpp:37: /usr/include/boost/graph/bandwidth.hpp:67:52: note: candidate: ‘typename boost::graph_traits<G>::vertices_size_type boost::bandwidth(const Graph&) [with Graph = pgrouting::graph::Pgr_base_graph<adjacency_list<vecS, vecS, undirectedS, pgrouting::Basic_vertex, pgrouting::Basic_edge>, pgrouting::Basic_vertex, pgrouting::Basic_edge, false>; typename graph_traits<G>::vertices_size_type = long unsigned int]’ 67 | typename graph_traits< Graph >::vertices_size_type bandwidth(const Graph& g) | ^~~~~~~~~ make[2]: *** [src/metrics/CMakeFiles/metrics.dir/build.make:121: src/metrics/CMakeFiles/metrics.dir/metrics_driver.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:2888: src/metrics/CMakeFiles/metrics.dir/all] Error 2 make: *** [Makefile:136: all] Error 2

Also could you please inform me that what would be the motive for this week so that I can start working on that.

Thankyou!

Got your project running and giving a result:

Processing docqueries/metrics/bandwidth.pg	Run time: 0.202067	 FAIL
Processing docqueries/metrics/betweennessCentrality.pg	Run time: 0.213343	 PASS
Processing docqueries/metrics/degree.pg	Run time: 0.226962	 PASS
$stats = {
           'RunTimeTotal' => '0.642372',
           'docqueries/metrics/bandwidth.pg' => 'FAILED: 12c12
<          0
---
>          4',

Use the complete namespace path:

result = pgrouting::metrics::bandwidth(undigraph);

(remove the using statement)

The compiler is getting all mixed up because the function is in both namespaces

pgrouting::metrics::bandwidth(undigraph)
boost::bandwidth(undigraph)

and, because this is not needed, instead of:

#if 0
        if (*return_count == 0) {
            err <<  "No result generated, report this error\n";
            *err_msg = to_pg_msg(err);
            *return_tuples = NULL;
            *return_count = 0;
            return;
        }
#endif

You will need to add 3 more lines of code:
1: Line that creates an array of size 1 of type IID_t_rt
2: Line that sets the value of the first row of the array to have the value of the results from the bandwidth function
3. Line that sets the size of the array to be 1

1 Like

Hello mentors, I’m suddenly experiencing this error while running the pgtap tests, how should i resolve it?

--------------------------------------------
Execute tap_directories
--------------------------------------------
dir ordering/sloan
pgflags -p 5432
VERSION 4.0.0
~/GSoC-pgRouting/tools/testers ~/GSoC-pgRouting ~/GSoC-pgRouting
--------------------------
 Running with version 4.0.0
 test ordering/sloan
--------------------------
NOTICE:  installing required extension "postgis"
psql:/home/bipasha/GSoC-pgRouting/tools/testers/sampledata.sql:9: NOTICE:  table "edges" does not exist, skipping
psql:/home/bipasha/GSoC-pgRouting/tools/testers/sampledata.sql:10: NOTICE:  table "vertices" does not exist, skipping
psql:/home/bipasha/GSoC-pgRouting/tools/testers/sampledata.sql:11: NOTICE:  table "pointsofinterest" does not exist, skipping
psql:/home/bipasha/GSoC-pgRouting/tools/testers/sampledata.sql:12: NOTICE:  table "old_restrictions" does not exist, skipping
psql:/home/bipasha/GSoC-pgRouting/tools/testers/sampledata.sql:13: NOTICE:  table "restrictions" does not exist, skipping
psql:/home/bipasha/GSoC-pgRouting/tools/testers/sampledata.sql:14: NOTICE:  table "combinations" does not exist, skipping
psql:/home/bipasha/GSoC-pgRouting/tools/testers/sampledata.sql:15: NOTICE:  table "vehicles" does not exist, skipping
psql:/home/bipasha/GSoC-pgRouting/tools/testers/sampledata.sql:16: NOTICE:  table "orders" does not exist, skipping
 setval
--------
     17
(1 row)

                                  Table "public.vertices"
  Column   |       Type       | Collation | Nullable |               Default
-----------+------------------+-----------+----------+--------------------------------------
 id        | bigint           |           |          | nextval('vertices_id_seq'::regclass)
 in_edges  | bigint[]         |           |          |
 out_edges | bigint[]         |           |          |
 x         | double precision |           |          |
 y         | double precision |           |          |
 geom      | geometry         |           |          |

 id | in_edges | out_edges |       x        |  y  |                    geom
----+----------+-----------+----------------+-----+--------------------------------------------
  1 |          | {6}       |              0 |   2 | 010100000000000000000000000000000000000040
  2 |          | {17}      |            0.5 | 3.5 | 0101000000000000000000E03F0000000000000C40
  3 | {6}      | {7}       |              1 |   2 | 0101000000000000000000F03F0000000000000040
  4 | {17}     |           | 1.999999999999 | 3.5 | 010100000068EEFFFFFFFFFF3F0000000000000C40
  5 |          | {1}       |              2 |   0 | 010100000000000000000000400000000000000000
  6 | {1}      | {2,4}     |              2 |   1 | 01010000000000000000000040000000000000F03F
  7 | {4,7}    | {8,10}    |              2 |   2 | 010100000000000000000000400000000000000040
  8 | {10}     | {12,14}   |              2 |   3 | 010100000000000000000000400000000000000840
  9 | {14}     |           |              2 |   4 | 010100000000000000000000400000000000001040
 10 | {2}      | {3,5}     |              3 |   1 | 01010000000000000000000840000000000000F03F
 11 | {5,8}    | {9,11}    |              3 |   2 | 010100000000000000000008400000000000000040
 12 | {11,12}  | {13}      |              3 |   3 | 010100000000000000000008400000000000000840
 13 |          | {18}      |            3.5 | 2.3 | 01010000000000000000000C406666666666660240
 14 | {18}     |           |            3.5 |   4 | 01010000000000000000000C400000000000001040
 15 | {3}      | {16}      |              4 |   1 | 01010000000000000000001040000000000000F03F
 16 | {9,16}   | {15}      |              4 |   2 | 010100000000000000000010400000000000000040
 17 | {13,15}  |           |              4 |   3 | 010100000000000000000010400000000000000840
(17 rows)

 id | source | target
----+--------+--------
  1 |      5 |      6
  2 |      6 |     10
  3 |     10 |     15
  4 |      6 |      7
  5 |     10 |     11
  6 |      1 |      3
  7 |      3 |      7
  8 |      7 |     11
  9 |     11 |     16
 10 |      7 |      8
 11 |     11 |     12
 12 |      8 |     12
 13 |     12 |     17
 14 |      8 |      9
 15 |     16 |     17
 16 |     15 |     16
 17 |      2 |      4
 18 |     13 |     14
(18 rows)

 pid |      geom      | edge_id | frac | side | dist |           edge            |   newpoint
-----+----------------+---------+------+------+------+---------------------------+--------------
   1 | POINT(1.8 0.4) |       1 |  0.4 | l    |  0.2 | LINESTRING(1.8 0.4,2 0.4) | POINT(2 0.4)
   4 | POINT(0.3 1.8) |       6 |  0.3 | r    |  0.2 | LINESTRING(0.3 1.8,0.3 2) | POINT(0.3 2)
   3 | POINT(2.6 3.2) |      12 |  0.6 | l    |  0.2 | LINESTRING(2.6 3.2,2.6 3) | POINT(2.6 3)
   2 | POINT(4.2 2.4) |      15 |  0.4 | r    |  0.2 | LINESTRING(4.2 2.4,4 2.4) | POINT(4 2.4)
   5 | POINT(2.9 1.8) |       5 |  0.8 | l    |  0.1 | LINESTRING(2.9 1.8,3 1.8) | POINT(3 1.8)
   6 | POINT(2.2 1.7) |       4 |  0.7 | b    |  0.2 | LINESTRING(2.2 1.7,2 1.7) | POINT(2 1.7)
(6 rows)

 source | target
--------+--------
      5 |      6
      5 |     10
      6 |      5
      6 |     15
      6 |     14
(5 rows)

 id |  path   | cost
----+---------+------
  1 | {4,7}   |  100
  2 | {8,11}  |  100
  3 | {7,10}  |  100
  4 | {3,5,9} |    4
  5 | {9,16}  |  100
(5 rows)

psql:/home/bipasha/GSoC-pgRouting/tools/testers/contractionHierarchies_data.sql:12: NOTICE:  table "edges_2" does not exist, skipping
psql:/home/bipasha/GSoC-pgRouting/tools/testers/contractionHierarchies_data.sql:13: NOTICE:  table "vertices_2" does not exist, skipping
psql:/home/bipasha/GSoC-pgRouting/tools/testers/solomon_100_rc101.data.sql:2: NOTICE:  table "solomon_100_rc_101" does not exist, skipping
psql:/home/bipasha/GSoC-pgRouting/tools/testers/solomon_100_rc101.data.sql:26: NOTICE:  table "vrp_vehicles" does not exist, skipping
psql:/home/bipasha/GSoC-pgRouting/tools/testers/solomon_100_rc101.data.sql:38: NOTICE:  table "vrp_distance" does not exist, skipping
psql:/home/bipasha/GSoC-pgRouting/tools/testers/innerQuery_old.sql:2: NOTICE:  table "edge_table_old" does not exist, skipping
--------------------------
 Installed version
--------------------------
  version  | build_type | compile_date |     library     | system |             postgresql             |  compiler  | boost  |    hash
-----------+------------+--------------+-----------------+--------+------------------------------------+------------+--------+------------
 4.0.0-dev | Debug      | 2025/07/23   | pgrouting-4.0.0 | Linux  | PostgreSQL 17.0 (Debian 17.0-1+b2) | GNU-14.2.0 | 1.83.0 | 5c330e9a8d
(1 row)

~/GSoC-pgRouting ~/GSoC-pgRouting
  version  | build_type | compile_date |     library     | system |             postgresql             |  compiler  | boost  |    hash
-----------+------------+--------------+-----------------+--------+------------------------------------+------------+--------+------------
 4.0.0-dev | Debug      | 2025/07/23   | pgrouting-4.0.0 | Linux  | PostgreSQL 17.0 (Debian 17.0-1+b2) | GNU-14.2.0 | 1.83.0 | 5c330e9a8d
(1 row)
PANIC: could not determine iterator for input  at /usr/share/perl/5.40/App/Prove.pm line 547.

real    0m3.998s
user    0m0.145s
sys     0m0.054s

Hi @bipashabg

Just pulled your branch

pgtap/ordering/cuthillMckeeOrdering/edge_cases.pg ..... ok     
pgtap/ordering/cuthillMckeeOrdering/inner_query.pg .... ok     
pgtap/ordering/cuthillMckeeOrdering/no_crash_test.pg .. ok   
pgtap/ordering/cuthillMckeeOrdering/types_check.pg .... ok   
pgtap/ordering/sloan/inner_query.pg ................... ok     
pgtap/ordering/sloan/no_crash_test.pg ................. ok   
pgtap/ordering/sloan/types_check.pg ................... ok   
pgtap/ordering/topologicalSort/inner_query.pg ......... ok     
pgtap/ordering/topologicalSort/no_crash_test.pg ....... ok   
pgtap/ordering/topologicalSort/types_check.pg ......... ok   
All tests successful.

I am not getting that error:

  • You already fixed it.
  • You forgot to push: If you don’t push then I am unable to get the code where that error happens.

Closing this thread, please use the second period thread.