Hi, Im also having the same issue, and the fix above seemed to work --  I'm 
wondering if there is an official fix for this?

On Saturday, March 2, 2013 2:55:17 PM UTC-5, Marin Pranjić wrote:
>
> This happened to an user multiple times. No idea why it happens.
>
> Error ticket doesn't show much, this is everything I can get from there:
>
> Traceback (most recent call last):
>  File "/home/www-data/web2py/gluon/main.py", line 571, in wsgibase
>  session._try_store_in_cookie_or_file(request, response)
>  File "/home/www-data/web2py/gluon/globals.py", line 738, in 
> _try_store_in_cookie_or_file
>  self._try_store_in_file(request, response)
>  File "/home/www-data/web2py/gluon/globals.py", line 745, in 
> _try_store_in_file
>  if not response.session_id or self._forget or self._unchanged():
>  File "/home/www-data/web2py/gluon/globals.py", line 700, in _unchanged
>  session_pickled = cPickle.dumps(dict(self))
>  File "/usr/lib/python2.7/copy_reg.py", line 74, in _reduce_ex
>  getstate = self.__getstate__
>  File "/home/www-data/web2py/gluon/dal.py", line 7355, in __getattr__
>  self.__allocate()
>  File "/home/www-data/web2py/gluon/dal.py", line 7350, in __allocate
>  raise RuntimeError, "Using a recursive select but encountered a broken 
> reference: %s %d"%(self._table, int(self))
> RuntimeError: Using a recursive select but encountered a broken reference: 
> auth_group 5
>
>
>
> However, auth_group record with id=5 exists. I have no idea why it raises an 
> error.
>
> I'm using web2py 2.2.1, this is production instance so I can't test with 
> other versions right now.
>
>
> Marin
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to