reset password
Author Message
jpatel30
Posts: 18
Posted 04:39 Feb 14, 2015 |

Hello professor ,

As per your instruction in the lecture i try to run csns but it gives me runtime error like 

An unexpected runtime error has occurred. Please check out CSNS Wiki for possible causes and solutions. 

so please help me out with this 

Thank you 

Last edited by jpatel30 at 04:40 Feb 14, 2015.
cysun
Posts: 2935
Posted 08:41 Feb 14, 2015 |

Check the log file.

dpatel34
Posts: 3
Posted 15:16 Feb 15, 2015 |

Find this in logs file.

 

2015-02-11 21:26:28,583  WARN SqlExceptionHelper: SQL Error: 0, SQLState: 42P01
2015-02-11 21:26:28,583 ERROR SqlExceptionHelper: ERROR: relation "departments" does not exist
  Position: 204

msargent
Posts: 519
Posted 16:30 Feb 15, 2015 |

I have the same error about the departments relation, but I look at the schema and I see the table is there. I ran and reran the scripts  a few times without errors.

cysun
Posts: 2935
Posted 21:25 Feb 15, 2015 |

Did you create the tables in the right database?

msargent
Posts: 519
Posted 21:43 Feb 15, 2015 |

That was the problem. How silly of me. 

Last edited by msargent at 21:44 Feb 15, 2015.