[web2py] Using a recursive select but encountered a broken reference

2019-05-22 Thread Carlos Cesar Caballero Díaz
Hi guys, I have some weird issue here, I have a "Using a recursive 
select but encountered a broken reference" error in a field wish seems 
to have a valid reference. This is happening with a very specific record 
in a MySQL database.


Any Idea?

Greetings.

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/49a1a572-b2fd-1cb2-666a-3b7b77bbe707%40cfg.jovenclub.cu.
For more options, visit https://groups.google.com/d/optout.


[web2py] Using a recursive select but encountered a broken reference (versioning and auth.signature)

2013-03-30 Thread szimszon
Hi All!

I wonder if somebody could help me. I use record versioning with 
auth.signature but if I delete (is_active=False) the parent row than I got 
a Using a recursive select but encountered a broken reference ticket 
issued when I try to access the child...

I opened a ticket about it: 
http://code.google.com/p/web2py/issues/detail?id=1419 with a video and test 
app. I think if I delete the parent row than the child's is_active should 
be set to False too. That is the case if I don't use auth.signature 
anyway...  child row get deleted if I delete parent.

-- 

--- 
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.




[web2py] Using a recursive select but encountered a broken reference

2013-03-02 Thread Marin Pranjić
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.