bchapuis commented on issue #635:
URL: 
https://github.com/apache/incubator-baremaps/issues/635#issuecomment-1557973409

   Sorry, I havn't been able to reproduce this error with the version in the 
main branch. As the issue arize in the water_polygons_shp table, I ran the 
workflow with the "water-polygons" and "simplified-water-polygons" steps. Here 
is the output I get:
   
   ```
   baremaps workflow execute --file workflow.js
   [INFO ] 2023-05-22 22:40:20.595 [main] Execute - Executing the workflow 
workflow.js
   [INFO ] 2023-05-22 22:40:21.133 [main] WorkflowExecutor - Workflow graph: 
isDirected: true, allowsSelfLoops: false, nodes: [water-polygons, 
simplified-water-polygons], edges: []
   [INFO ] 2023-05-22 22:40:21.140 [pool-2-thread-1] WorkflowExecutor - 
Executing task 
DownloadUrl[url=https://osmdata.openstreetmap.de/download/water-polygons-split-3857.zip,
 path=data/water-polygons-split-3857.zip, replaceExisting=false] of step 
water-polygons
   [INFO ] 2023-05-22 22:40:21.140 [pool-2-thread-2] WorkflowExecutor - 
Executing task 
DownloadUrl[url=https://osmdata.openstreetmap.de/download/simplified-water-polygons-split-3857.zip,
 path=data/simplified-water-polygons-split-3857.zip, replaceExisting=false] of 
step simplified-water-polygons
   [INFO ] 2023-05-22 22:40:23.057 [pool-2-thread-3] WorkflowExecutor - 
Executing task UnzipFile[file=data/simplified-water-polygons-split-3857.zip, 
directory=data] of step simplified-water-polygons
   [INFO ] 2023-05-22 22:40:23.206 [pool-2-thread-4] WorkflowExecutor - 
Executing task 
ImportShapefile[file=data/simplified-water-polygons-split-3857/simplified_water_polygons.shp,
 
database=jdbc:postgresql://localhost:5432/baremaps?&user=baremaps&password=baremaps,
 sourceSRID=3857, targetSRID=3857] of step simplified-water-polygons
   [INFO ] 2023-05-22 22:40:23.211 [pool-2-thread-4] HikariDataSource - 
HikariPool-1 - Starting...
   [INFO ] 2023-05-22 22:40:23.319 [pool-2-thread-4] HikariPool - HikariPool-1 
- Added connection org.postgresql.jdbc.PgConnection@59d0e035
   [INFO ] 2023-05-22 22:40:23.320 [pool-2-thread-4] HikariDataSource - 
HikariPool-1 - Start completed.
   [INFO ] 2023-05-22 22:41:04.222 [pool-2-thread-5] WorkflowExecutor - 
Executing task UnzipFile[file=data/water-polygons-split-3857.zip, 
directory=data] of step water-polygons
   [INFO ] 2023-05-22 22:41:09.360 [pool-2-thread-6] WorkflowExecutor - 
Executing task 
ImportShapefile[file=data/water-polygons-split-3857/water_polygons.shp, 
database=jdbc:postgresql://localhost:5432/baremaps?&user=baremaps&password=baremaps,
 sourceSRID=3857, targetSRID=3857] of step water-polygons
   [INFO ] 2023-05-22 22:47:02.948 [pool-2-thread-6] WorkflowExecutor - 
----------------------------------------
   [INFO ] 2023-05-22 22:47:02.954 [pool-2-thread-6] WorkflowExecutor - 
Workflow graph: isDirected: true, allowsSelfLoops: false, nodes: 
[water-polygons, simplified-water-polygons], edges: []
   [INFO ] 2023-05-22 22:47:02.954 [pool-2-thread-6] WorkflowExecutor -   
Duration: 6 min 41 s 807 ms
   [INFO ] 2023-05-22 22:47:02.955 [pool-2-thread-6] WorkflowExecutor - Step: 
water-polygons, Duration: 6 min 41 s 807 ms  ms
   [INFO ] 2023-05-22 22:47:02.955 [pool-2-thread-6] WorkflowExecutor -   Task: 
DownloadUrl[url=https://osmdata.openstreetmap.de/download/water-polygons-split-3857.zip,
 path=data/water-polygons-split-3857.zip, replaceExisting=false]
   [INFO ] 2023-05-22 22:47:02.955 [pool-2-thread-6] WorkflowExecutor -     
Duration: 43 s 82 ms
   [INFO ] 2023-05-22 22:47:02.955 [pool-2-thread-6] WorkflowExecutor -   Task: 
UnzipFile[file=data/water-polygons-split-3857.zip, directory=data]
   [INFO ] 2023-05-22 22:47:02.955 [pool-2-thread-6] WorkflowExecutor -     
Duration: 5 s 137 ms
   [INFO ] 2023-05-22 22:47:02.956 [pool-2-thread-6] WorkflowExecutor -   Task: 
ImportShapefile[file=data/water-polygons-split-3857/water_polygons.shp, 
database=jdbc:postgresql://localhost:5432/baremaps?&user=baremaps&password=baremaps,
 sourceSRID=3857, targetSRID=3857]
   [INFO ] 2023-05-22 22:47:02.956 [pool-2-thread-6] WorkflowExecutor -     
Duration: 5 min 53 s 587 ms
   [INFO ] 2023-05-22 22:47:02.956 [pool-2-thread-6] WorkflowExecutor - Step: 
simplified-water-polygons, Duration: 9 s 194 ms  ms
   [INFO ] 2023-05-22 22:47:02.956 [pool-2-thread-6] WorkflowExecutor -   Task: 
DownloadUrl[url=https://osmdata.openstreetmap.de/download/simplified-water-polygons-split-3857.zip,
 path=data/simplified-water-polygons-split-3857.zip, replaceExisting=false]
   [INFO ] 2023-05-22 22:47:02.956 [pool-2-thread-6] WorkflowExecutor -     
Duration: 1 s 912 ms
   [INFO ] 2023-05-22 22:47:02.956 [pool-2-thread-6] WorkflowExecutor -   Task: 
UnzipFile[file=data/simplified-water-polygons-split-3857.zip, directory=data]
   [INFO ] 2023-05-22 22:47:02.956 [pool-2-thread-6] WorkflowExecutor -     
Duration: 146 ms
   [INFO ] 2023-05-22 22:47:02.956 [pool-2-thread-6] WorkflowExecutor -   Task: 
ImportShapefile[file=data/simplified-water-polygons-split-3857/simplified_water_polygons.shp,
 
database=jdbc:postgresql://localhost:5432/baremaps?&user=baremaps&password=baremaps,
 sourceSRID=3857, targetSRID=3857]
   [INFO ] 2023-05-22 22:47:02.956 [pool-2-thread-6] WorkflowExecutor -     
Duration: 7 s 128 ms
   [INFO ] 2023-05-22 22:47:02.956 [pool-2-thread-6] WorkflowExecutor - 
----------------------------------------
   [INFO ] 2023-05-22 22:47:02.957 [main] Execute - Finished executing the 
workflow workflow.js
   ```
   
   Have you executed this step with the main branch or with version 0.7.1? We 
had a couple of issues in the last release that have now been fixed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to