predictionio-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Chan <yukhei.c...@gmail.com>
Subject Re: Postgresql issue - 'relation doesnt exist'
Date Tue, 31 Jan 2017 21:39:33 GMT
As a quick check, did you do

pio app new MyApp1

and what's the output when you run

pio app list

? and what's the POST request you're trying that returned error 500?

Tom

On Tue, Jan 31, 2017 at 12:48 PM, Saarthak Chandra <
chandra.saarthak@gmail.com> wrote:

> Hi,
>
> I am currently using Postgresql , as my storage repo for event data.
>
> However, when i do a POST using curl, to the event server at
> 'localhost:7070', I get a Http 500 error saying :
>
> {"message":"ERROR: relation \"pio_event_1\" does not exist\n  Position:
> 20"}
> Shouldn't the table/relation be created automatically, and then the data I
> posted be inserted ??
>
> I was following along the tutorials here : http://predictionio.
> incubator.apache.org/templates/javaecommercerecommendation/quickstart/
>
> Thanks for your help !!
>

Mime
View raw message