List Info

Thread: login error again




login error again
user name
2007-04-18 15:07:27
Wybo,

just to report it, couldn't login. The site is down now so
you could
see the error over there, but here it is some of it:

 NoMethodError in Logi#show

Showing app/views/logi/_rating_menu.rhtml where line #9
raised:

You have a nil object when you didn't expect it!
The error occurred while evaluating nil.power_steps

Extracted source (around line #9):

6:   <% else %>
7:     Peer group: <%= select_tag 'peer_group',
options_from_collection_for_select(User.current.peer_groups,
"id",
"to_s",
8:        
User.current.active_prefs_profile.active_peer_group) %>
9:     Power: <%= select_tag 'power',
options_from_collection_for_select(User.current.active_peer_
group_membership.power_steps,
"to_f", "to_f",
10:        
User.current.active_peer_group_membership.power_per_vote),
:class => 'float' %>
11:   <% end %>
12:   Rating: <%= select_tag 'score',
options_from_collection_for_select(Rating::SCORES_FOR_DROPDO
WN,
"first", "last", 2.0),



-- 
Bruno

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
LogiLogi-list mailing list
LogiLogi-listlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/logilogi-
list

Re: login error again
user name
2007-04-18 18:58:12
> Wybo,
> 
> just to report it, couldn't login. The site is down now
so you could
> see the error over there, but here it is some of it:
> 
>  NoMethodError in Logi#show
> 
> Showing app/views/logi/_rating_menu.rhtml where line #9
raised:
> 
> You have a nil object when you didn't expect it!
> The error occurred while evaluating nil.power_steps

Could you tell me what you did before it occured ? As
strange enough
this the same error like last time, but now your
user-account does 
have an active_peer_group_membership, so it shouldn't be
nil.

Also I can login normally, and I don't see yet how I can
replicate it.

This seems to be a serious, non-shallow bug...

Wybo

> Extracted source (around line #9):
> 
> 6:   <% else %>
> 7:     Peer group: <%= select_tag 'peer_group',
>
options_from_collection_for_select(User.current.peer_groups,
"id",
> "to_s",
> 8:        
User.current.active_prefs_profile.active_peer_group) %>
> 9:     Power: <%= select_tag 'power',
>
options_from_collection_for_select(User.current.active_peer_
group_membership.power_steps,
> "to_f", "to_f",
> 10:        
User.current.active_peer_group_membership.power_per_vote),
> :class => 'float' %>
> 11:   <% end %>
> 12:   Rating: <%= select_tag 'score',
>
options_from_collection_for_select(Rating::SCORES_FOR_DROPDO
WN,
> "first", "last", 2.0),
> 
> 
> 
> -- 
> Bruno

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
LogiLogi-list mailing list
LogiLogi-listlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/logilogi-
list

Re: login error again
user name
2007-04-18 19:05:59
I just entered my login URL, nothing else this time. It
didn't even
took me to the myopenid.com site.

On 4/18/07, Wybo Wiersma <wybologilogi.org> wrote:
> > Wybo,
> >
> > just to report it, couldn't login. The site is
down now so you could
> > see the error over there, but here it is some of
it:
> >
> >  NoMethodError in Logi#show
> >
> > Showing app/views/logi/_rating_menu.rhtml where
line #9 raised:
> >
> > You have a nil object when you didn't expect it!
> > The error occurred while evaluating
nil.power_steps
>
> Could you tell me what you did before it occured ? As
strange enough
> this the same error like last time, but now your
user-account does
> have an active_peer_group_membership, so it shouldn't
be nil.
>
> Also I can login normally, and I don't see yet how I
can replicate it.
>
> This seems to be a serious, non-shallow bug...
>
> Wybo
>
> > Extracted source (around line #9):
> >
> > 6:   <% else %>
> > 7:     Peer group: <%= select_tag
'peer_group',
> >
options_from_collection_for_select(User.current.peer_groups,
"id",
> > "to_s",
> > 8:        
User.current.active_prefs_profile.active_peer_group) %>
> > 9:     Power: <%= select_tag 'power',
> >
options_from_collection_for_select(User.current.active_peer_
group_membership.power_steps,
> > "to_f", "to_f",
> > 10:        
User.current.active_peer_group_membership.power_per_vote),
> > :class => 'float' %>
> > 11:   <% end %>
> > 12:   Rating: <%= select_tag 'score',
> >
options_from_collection_for_select(Rating::SCORES_FOR_DROPDO
WN,
> > "first", "last", 2.0),
> >
> >
> >
> > --
> > Bruno
>
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
express and take
> control of your XML. No limits. Just data. Click to get
it now.
> http://sourcefor
ge.net/powerbar/db2/
> _______________________________________________
> LogiLogi-list mailing list
> LogiLogi-listlists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/logilogi-
list
>


-- 
Bruno

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
LogiLogi-list mailing list
LogiLogi-listlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/logilogi-
list

Re: login error again
user name
2007-04-19 02:53:14
> I just entered my login URL, nothing else this time. It
didn't even
> took me to the myopenid.com site.

And you had the same errror, not a different one ? (As I got
a
different one yesterday at first, because the openid-server
was
unresponsive, and timed out, so I wasn't taken there
either...)

Could you try to erase all cookies, and then login again ?

Wybo

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
LogiLogi-list mailing list
LogiLogi-listlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/logilogi-
list

Re: login error again
user name
2007-04-19 15:35:17
I accessed in to the site with no logilogi or myopenid
cookies.

The error is the same as the first times. I enter the url,
went to
myopenid.com website, entered the correct information and
logued in,
when redirected to LL the error arised. To get to see LL I
have to
either remove the LL or myopenid cookies. If I go to
myopenid.com I'm
correctly logged in.

Here is the error:

//////////////////////////////////////////////////////

 NoMethodError in Logi#show

Showing app/views/logi/_rating_menu.rhtml where line #9
raised:

You have a nil object when you didn't expect it!
The error occurred while evaluating nil.power_steps

Extracted source (around line #9):

6:   <% else %>
7:     Peer group: <%= select_tag 'peer_group',
options_from_collection_for_select(User.current.peer_groups,
"id",
"to_s",
8:        
User.current.active_prefs_profile.active_peer_group) %>
9:     Power: <%= select_tag 'power',
options_from_collection_for_select(User.current.active_peer_
group_membership.power_steps,
"to_f", "to_f",
10:        
User.current.active_peer_group_membership.power_per_vote),
:class => 'float' %>
11:   <% end %>
12:   Rating: <%= select_tag 'score',
options_from_collection_for_select(Rating::SCORES_FOR_DROPDO
WN,
"first", "last", 2.0),

Trace of template inclusion: /app/views/logi/show.rhtml

RAILS_ROOT: /var/www/logilogi-demo/config/..



//////////////////////////////////////////////////////



On 4/19/07, Wybo Wiersma <wybologilogi.org> wrote:
> > I just entered my login URL, nothing else this
time. It didn't even
> > took me to the myopenid.com site.
>
> And you had the same errror, not a different one ? (As
I got a
> different one yesterday at first, because the
openid-server was
> unresponsive, and timed out, so I wasn't taken there
either...)
>
> Could you try to erase all cookies, and then login
again ?
>
> Wybo
>
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
express and take
> control of your XML. No limits. Just data. Click to get
it now.
> http://sourcefor
ge.net/powerbar/db2/
> _______________________________________________
> LogiLogi-list mailing list
> LogiLogi-listlists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/logilogi-
list
>


-- 
Bruno

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
LogiLogi-list mailing list
LogiLogi-listlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/logilogi-
list

Re: login error again - fixed ?
user name
2007-04-19 17:01:30
> I accessed in to the site with no logilogi or myopenid
cookies.
> 
> The error is the same as the first times. I enter the
url, went to
> myopenid.com website, entered the correct information
and logued in,
> when redirected to LL the error arised. To get to see
LL I have to
> either remove the LL or myopenid cookies. If I go to
myopenid.com I'm
> correctly logged in.

Could you login after I lately posted to the list that I had
fixed it
? As it was back at the previous setting again, that is: no

active_peer_group_membership.

When I checked yesterday I was accidentally looking into the
development-
db instead of the production-db (which I copied over some
time ago for
testing). It could be that I changed the setting in the
wrong db too last 
time.

So it could/should all work again now.

Just in case I checked all users for an
active_peer_group_membership, 
but they're all ok.

Wybo

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
LogiLogi-list mailing list
LogiLogi-listlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/logilogi-
list

Re: login error again - fixed ?
user name
2007-04-19 17:23:28
It worked all fine.

On 4/19/07, Wybo Wiersma <wybologilogi.org> wrote:
> > I accessed in to the site with no logilogi or
myopenid cookies.
> >
> > The error is the same as the first times. I enter
the url, went to
> > myopenid.com website, entered the correct
information and logued in,
> > when redirected to LL the error arised. To get to
see LL I have to
> > either remove the LL or myopenid cookies. If I go
to myopenid.com I'm
> > correctly logged in.
>
> Could you login after I lately posted to the list that
I had fixed it
> ? As it was back at the previous setting again, that
is: no
> active_peer_group_membership.
>
> When I checked yesterday I was accidentally looking
into the development-
> db instead of the production-db (which I copied over
some time ago for
> testing). It could be that I changed the setting in the
wrong db too last
> time.
>
> So it could/should all work again now.
>
> Just in case I checked all users for an
active_peer_group_membership,
> but they're all ok.
>
> Wybo
>
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
express and take
> control of your XML. No limits. Just data. Click to get
it now.
> http://sourcefor
ge.net/powerbar/db2/
> _______________________________________________
> LogiLogi-list mailing list
> LogiLogi-listlists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/logilogi-
list
>


-- 
Bruno

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
LogiLogi-list mailing list
LogiLogi-listlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/logilogi-
list

[1-7]

about | contact  Other archives ( Real Estate discussion Medical topics )