gobuffalo / buffalo-auth

Buffalo auth plugin helps adding username password authentication to your app
https://gobuffalo.io
MIT License
41 stars 28 forks source link

[Bug] Cannot install the plugin with buffalo 0.14.9 #48

Closed badstorm closed 5 years ago

badstorm commented 5 years ago

With versione 0.14.7 I don't have any issue. Now with the updated version 0.14.9 i get this error when install this plugin:

ERRO[0005] [PLUGIN] error loading plugin /home/badstorm/go/bin/buffalo-pop: signal: killed

Those are the setps that i made:

$ buffalo new myapp
$ cd myapp
$ go get -u github.com/gobuffalo/buffalo-auth
$ buffalo plugins install github.com/gobuffalo/buffalo-auth
And i get the error above.
badstorm commented 5 years ago

Adding a configured $PATH environment variable that includes $GOPATH/bin now let the plugin install. But when i run buffalo dev i get:

sql: no rows in result set

In the console i get:

DEBU[2019-08-18T13:16:40+02:00] SELECT users.created_at, users.email, users.id, users.password_hash, users.updated_at FROM users AS users WHERE users.id = $1 LIMIT 1 $1=dc78a3de-31da-4fe3-874b-79853b2f1918
INFO[2019-08-18T13:16:40+02:00] / content_type=text/html db=14.3806ms duration=37.6786ms human_size="0 B" method=GET params="{}" path=/ request_id=03c0ecd7b96bbd65f5c4-4dee6a7da46e32ac381f size=0 status=0
ERRO[2019-08-18T13:16:40+02:00] sql: no rows in result set content_type=text/html db=14.3806ms duration=37.6786ms human_size="0 B" method=GET params="{}" path=/ request_id=03c0ecd7b96bbd65f5c4-4dee6a7da46e32ac381f size=0 status=0

NOTE: I try the same with buffalo 0.14.7 and it works.

badstorm commented 5 years ago

The error above, seems to be a session problem. Resetting the browser cache, now it seems to work.