-
Notifications
You must be signed in to change notification settings - Fork 19
Error after running the simulation #17
Comments
Can you look at the .inp file that has been generated at the [TIMESERIES] section. There is apparently a problem there. |
I have opened the swmm.imp file. By default the following error file with the following errors got displayed: The swmm.inp error file details: Error Report for File C:\Users\NAGARAJU.qgis2\processing\outputs\swmm.inp Error 201 at line 5: Error 201 at line 6: Error 201 at line 7: Error 201 at line 8: Error 201 at line 9: Error 201 at line 10: Error 201 at line 11: Error 201 at line 12: Error 201 at line 13: Error 201 at line 14: Error 201 at line 15: 45 more errors found in file. |
There is a dateformat incompatibility between Postgres database (where the dateformat appears correct) and the table loaded within QGIS. Now while running the simulation, I deselect timeseries, I get the following error: Uncaught error while executing algorithm |
What do you mean by "deselect timeseries" ? |
I have not selected the timeseries object as part of the simulation run. |
I think it's mandatory because the case without timeseries is not handled. |
If I select the timeseries the date format within QGIS is incompatible with the following format: YYYY-mm-dd HH:mm:ss. The timeseries table within QGIS has a different datetime format which I think the python program is not able to convert as it is not in the standard format. |
Can't it be converted to the proper format ? |
Hi Vincent,
I am unable to change the format in the QGIS Object Attribute table. It is
not allowing me to edit the value of the datetime field while in Postgres
SQL DB from where the tables have been imported into QGIS, the datetime
field in Postgres SQL DB, the datetime format is in proper.
Please kindly advise as to how to proceed further.
Thanks and Regards,
KN Rao
…On Tue, Sep 4, 2018 at 5:29 PM Vincent Mora ***@***.***> wrote:
Can't it be converted to the proper format ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AmGTC1SuicBn-IfcsNZopOfXeEGE6Jr5ks5uXmsegaJpZM4WYduZ>
.
|
Hi Vincent,
I have run the simulation. But the processing did not happen as there were errors written to the swmm.out log file which are as follows: AS per your suggestion am posting the error into the github as an open issue
ERROR 211: invalid number PyQt4.QtCore.QDateTime(1988, at line 113 of [TIMESERIES] section:
INFLOW@82309 PyQt4.QtCore.QDateTime(1988, 1, 1, 0, 0) 0.0
ERROR 211: invalid number PyQt4.QtCore.QDateTime(1988, at line 114 of [TIMESERIES] section:
INFLOW@82309 PyQt4.QtCore.QDateTime(1988, 1, 1, 0, 15) 40.0
ERROR 211: invalid number PyQt4.QtCore.QDateTime(1988, at line 115 of [TIMESERIES] section:
INFLOW@82309 PyQt4.QtCore.QDateTime(1988, 1, 1, 3, 0) 40.0
ERROR 211: invalid number PyQt4.QtCore.QDateTime(1988, at line 116 of [TIMESERIES] section:
INFLOW@82309 PyQt4.QtCore.QDateTime(1988, 1, 1, 3, 15) 0.0
ERROR 211: invalid number PyQt4.QtCore.QDateTime(1988, at line 117 of [TIMESERIES] section:
INFLOW@82309 PyQt4.QtCore.QDateTime(1988, 1, 1, 12, 0) 0.0
ERROR 211: invalid number PyQt4.QtCore.QDateTime(1988, at line 118 of [TIMESERIES] section:
INFLOW@80408 PyQt4.QtCore.QDateTime(1988, 1, 1, 0, 0) 0.0
ERROR 211: invalid number PyQt4.QtCore.QDateTime(1988, at line 119 of [TIMESERIES] section:
INFLOW@80408 PyQt4.QtCore.QDateTime(1988, 1, 1, 0, 15) 45.0
ERROR 211: invalid number PyQt4.QtCore.QDateTime(1988, at line 120 of [TIMESERIES] section:
INFLOW@80408 PyQt4.QtCore.QDateTime(1988, 1, 1, 3, 0) 45.0
ERROR 211: invalid number PyQt4.QtCore.QDateTime(1988, at line 121 of [TIMESERIES] section:
INFLOW@80408 PyQt4.QtCore.QDateTime(1988, 1, 1, 3, 15) 0.0
ERROR 211: invalid number PyQt4.QtCore.QDateTime(1988, at line 122 of [TIMESERIES] section:
INFLOW@80408 PyQt4.QtCore.QDateTime(1988, 1, 1, 12, 0) 0.0
ERROR 211: invalid number PyQt4.QtCore.QDateTime(1988, at line 123 of [TIMESERIES] section:
INFLOW@81009 PyQt4.QtCore.QDateTime(1988, 1, 1, 0, 0) 0.0
ERROR 211: invalid number PyQt4.QtCore.QDateTime(1988, at line 124 of [TIMESERIES] section:
INFLOW@81009 PyQt4.QtCore.QDateTime(1988, 1, 1, 0, 15) 50.0
ERROR 211: invalid number PyQt4.QtCore.QDateTime(1988, at line 125 of [TIMESERIES] section:
INFLOW@81009 PyQt4.QtCore.QDateTime(1988, 1, 1, 3, 0) 50.0
ERROR 211: invalid number PyQt4.QtCore.QDateTime(1988, at line 126 of [TIMESERIES] section:
INFLOW@81009 PyQt4.QtCore.QDateTime(1988, 1, 1, 3, 15) 0.0
ERROR 211: invalid number PyQt4.QtCore.QDateTime(1988, at line 127 of [TIMESERIES] section:
INFLOW@81009 PyQt4.QtCore.QDateTime(1988, 1, 1, 12, 0) 0.0
Please kind guide me as to how to resolve the above issue. Would be highly grateful to you as I want to complete the end to end processing.
The text was updated successfully, but these errors were encountered: