[Trac] Re: Intermittent errors with BrowserModule

2012-12-31 Thread Alex Willmer
On Dec 30, 4:59 pm, Filipe Correia fcorr...@gmail.com wrote:
 Checking Trac's log file revealed some more info, but doesn't really help
 me get to the bottom of it:

 Trac[chrome] ERROR:  Error with navigation contributor BrowserModule:
 RuntimeError: instance.__dict__ not accessible in restricted mode

 What is restricted mode all about? :\

It is a known problem to do with interactions between the svn bindings
and mod_python or mod_wsgi, see 
http://trac.edgewall.org/wiki/TracSubversion#instance-dict-restricted-mode
for details and the workaround.

Regards, Alex

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Re: Intermittent errors with BrowserModule

2012-12-31 Thread Filipe Correia
Hi,

On Mon, Dec 31, 2012 at 10:29 AM, Alex Willmer a...@moreati.org.uk wrote:
 On Dec 30, 4:59 pm, Filipe Correia fcorr...@gmail.com wrote:
 Trac[chrome] ERROR:  Error with navigation contributor BrowserModule:
 RuntimeError: instance.__dict__ not accessible in restricted mode

 It is a known problem to do with interactions between the svn bindings
 and mod_python or mod_wsgi, see 
 http://trac.edgewall.org/wiki/TracSubversion#instance-dict-restricted-mode
 for details and the workaround.

Thank you Alex. I've double checked, but my config seems to be ok...

I'm using mod_wsgi.
So, I've deployed using trac-admin env deploy as instructed here:
http://trac.edgewall.org/wiki/TracInstall#cgi-bin

And then created my own apache config file, like the example given here:
http://trac.edgewall.org/wiki/TracModWSGI#Mappingrequeststothescript

The only difference to the workaround is that i'm using the directive
Directory instead of a Location (like the second link above
suggests)...  I doubt it has any influence, but I couldn't figure out
how to switch to a Location using a wsgi script, so I couldn't
really confirm it yet.

Any more ideas of what may be going wrong?

Thanks,
Filipe

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.