On 03/08/13 21:54, [email protected] wrote:
I fixed the subject line on this. and  I added the debug log for the event. 
debug log is:

2013-08-03 16:28:39,351 Trac[perm] DEBUG: No policy allowed anonymous 
performing EMAIL_VIEW on None
2013-08-03 16:28:42,128 Trac[main] DEBUG: Dispatching <ProductRequestWithSession "GET 
'/wiki/TitleIndex'">
2013-08-03 16:28:42,128 Trac[session] DEBUG: Retrieving session for ID 
'4d28024b31566f19c992d4fa'
2013-08-03 16:28:42,131 Trac[main] DEBUG: Negotiated locale: None -> en_US
2013-08-03 16:28:42,137 Trac[api] WARNING: Unable to find repository 
'(default)' for synchronization
2013-08-03 16:28:42,138 Trac[chrome] DEBUG: Prepare chrome data for request
2013-08-03 16:28:42,140 Trac[perm] DEBUG: No policy allowed anonymous 
performing ACCTMGR_CONFIG_ADMIN on None
2013-08-03 16:28:42,140 Trac[perm] DEBUG: No policy allowed anonymous 
performing ACCTMGR_USER_ADMIN on None
2013-08-03 16:28:42,140 Trac[perm] DEBUG: No policy allowed anonymous 
performing TRAC_ADMIN on None
2013-08-03 16:28:42,140 Trac[perm] DEBUG: No policy allowed anonymous 
performing PERMISSION_GRANT on None
2013-08-03 16:28:42,141 Trac[perm] DEBUG: No policy allowed anonymous 
performing PERMISSION_REVOKE on None
2013-08-03 16:28:42,141 Trac[perm] DEBUG: No policy allowed anonymous 
performing TICKET_ADMIN on None
2013-08-03 16:28:42,141 Trac[perm] DEBUG: No policy allowed anonymous 
performing VERSIONCONTROL_ADMIN on None
2013-08-03 16:28:42,148 Trac[web_ui] DEBUG: {'active': True, 'name': 'wiki', 'label': 
<Element "a">}
2013-08-03 16:28:42,148 Trac[web_ui] DEBUG: {'active': False, 'name': 'tickets', 'label': 
<Element "a">}
2013-08-03 16:28:42,148 Trac[main] ERROR: Internal Server Error:
Traceback (most recent call last):
   File "C:\Python27\lib\site-packages\trac\web\main.py", line 477, in 
_dispatch_request
     dispatcher.dispatch(req)
   File "C:\Python27\lib\site-packages\trac\web\main.py", line 224, in dispatch
     self._post_process_request(req, *resp)
   File "C:\Python27\lib\site-packages\trac\web\main.py", line 338, in 
_post_process_request
     resp = f.post_process_request(req, *resp)
   File "C:\Python27\lib\site-packages\bhtheme\theme.py", line 471, in 
post_process_request
     tm._populate(req, ticket, False)
   File "C:\Python27\lib\site-packages\trac\ticket\web_ui.py", line 766, in 
_populate
     fields = dict((k[6:], v) for k, v in req.args.iteritems()
   File "C:\Python27\lib\site-packages\trac\web\api.py", line 316, in 
__getattr__
     value = self.callbacks[name](self)
   File "C:\Python27\lib\site-packages\trac\web\api.py", line 299, in <lambda>
     'args': lambda req: arg_list_to_args(req.arg_list),
   File "C:\Python27\lib\site-packages\trac\web\api.py", line 316, in 
__getattr__
     value = self.callbacks[name](self)
   File "C:\Python27\lib\site-packages\trac\web\api.py", line 648, in 
_parse_arg_list
     fs = _FieldStorage(fp, environ=self.environ, keep_blank_values=True)
   File "C:\Python27\Lib\cgi.py", line 433, in __init__
     elif sys.argv[1:]:
AttributeError: 'module' object has no attribute 'argv'
2013-08-03 16:28:42,150 Trac[perm] DEBUG: No policy allowed anonymous 
performing EMAIL_VIEW on None


I am trying to deploy Bloodhound 0.6 on Windows 7. I installed without 
virtual_env because I could not figure out how to get the virtual environment 
configured behind IIS. The built in Tracd server is working. I have gotten 
ISAPI_WSGI working as far as communicating between IIS and Trac.

It is hard to say whether using a virtualenv setup would make a difference but http://code.google.com/p/isapi-wsgi/wiki/UnderstandingISAPIWSGI#Using_virtualenv suggests one way to use a virtualenv setup if you wished.

Now I am getting an internal Trac error. See the screen shot. A similar screen 
pops up for any link I go to. Can anyone explain what I might have done wrong 
or where to go next?

The AttributeError noted seems to be something that can be found referred to from a number of locations but most seem quite old. I have not yet attempted to use IIS as the webserver but it would probably help a great deal if you could give us more information about the way you got ISAPI_WSGI, IIS and Bloodhound working together to this extent.

Cheers,
    Gary

Reply via email to