Hello,

I've been having this exact same problem for a long, long time.

I would also be interested in a solution, but I doubt there will be one. I 
think it might be a design issue with Web2py.

Tamas

On Saturday, March 2, 2013 9:48:38 PM UTC+1, Marin Pranjić wrote:
>
> It seems that the problem is because I run two web2py instances.
> One runs on domain.com and the other is on testing.domain.com.
>
> When I turn off testing instance, everything works as it should. With 
> testing instance turned on, production instance fails.
>
> So... Can someone help me configure two web2py instances on the same port? 
> Domains are different.
>
> I'm using apache virtual hosts.
>
> Marin
>
> Dana subota, 2. ožujka 2013. 20:55:17 UTC+1, korisnik Marin Pranjić 
> napisao je:
>>
>> 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