Edgewall Software
Modify

Opened 16 years ago

Closed 15 years ago

Last modified 13 months ago

#6730 closed defect (wontfix)

Exception happened during processing of request from ('127.0.0.1', 38643)

Reported by: anonymous Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.11.5
Severity: normal Keywords: needinfo
Cc: radek@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

127.0.0.1 - - [29/Jan/2008 09:31:38] "GET /tracfreenibs/chrome/common/js/diff.js HTTP/1.1" 200 -
127.0.0.1 - - [29/Jan/2008 09:31:42] "GET /tracfreenibs/changeset/3 HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 38643)
Traceback (most recent call last):
  File "/usr/lib/python2.4/SocketServer.py", line 463, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.4/SocketServer.py", line 254, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.4/SocketServer.py", line 521, in __init__
    self.handle()
  File "/usr/lib/python2.4/BaseHTTPServer.py", line 316, in handle
    self.handle_one_request()
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/wsgi.py", line 174, in handle_one_request
    gateway.run(self.server.application)
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/wsgi.py", line 87, in run
    response = application(self.environ, self._start_response)
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/standalone.py", line 89, in __call__
    return self.application(environ, start_response)
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/main.py", line 381, in dispatch_request
    return _dispatch_request(req, env, env_error)
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/main.py", line 459, in _dispatch_request
    req.send_error(exc_info, status=500, env=env, data=data)
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/api.py", line 358, in send_error
    exc_info)
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/main.py", line 398, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/main.py", line 222, in dispatch
    req.send(output, content_type or 'text/html')
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/api.py", line 321, in send
    self.write(content)
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/api.py", line 425, in write
    self._write(data)
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/wsgi.py", line 199, in _write
    self.handler.wfile.write(data)
  File "/usr/lib/python2.4/socket.py", line 248, in write
    self.flush()
  File "/usr/lib/python2.4/socket.py", line 235, in flush
    self._sock.sendall(buffer)
error: (104, '\xd0\xa1\xd0\xbe\xd0\xb5\xd0\xb4\xd0\xb8\xd0\xbd\xd0\xb5\xd0\xbd\xd0\xb8\xd0\xb5 \xd1\x81\xd0\xb1\xd1\x80\xd0\xbe\xd1\x88\xd0\xb5\xd0\xbd\xd0\xbe \xd0\xb4\xd1\x80\xd1\x83\xd0\xb3\xd0\xbe\xd0\xb9 \xd1\x81\xd1\x82\xd0\xbe\xd1\x80\xd0\xbe\xd0\xbd\xd0\xbe\xd0\xb9')
----------------------------------------
127.0.0.1 - - [29/Jan/2008 09:35:48] "GET /tracfreenibs/changeset/3 HTTP/1.1" 200 -
127.0.0.1 - - [29/Jan/2008 09:35:48] "GET /tracfreenibs/chrome/common/css/trac.css HTTP/1.1" 304 -

Attachments (0)

Change History (8)

comment:1 by ryan, 16 years ago

I am looking for help on this exact issue as well

comment:2 by Christian Boos, 16 years ago

Description: modified (diff)
Keywords: needinfo added

First thing, be sure to use a stable version for your software components, e.g. Trac 0.11.1 and mod_wsgi 2.3 (assuming mod_wsgi is what you're using).

Then if the problem persists, report more information here (see NewTicketGuidelines#HowtoProceed).

comment:3 by Remy Blank, 15 years ago

Resolution: invalid
Status: newclosed

No info, closing.

in reply to:  3 ; comment:4 by radek@…, 15 years ago

Cc: radek@… added
Resolution: invalid
Status: closedreopened
Version: 0.11.5

Replying to rblank:

No info, closing.

Hi Guys, I have the same problem. When I want to change few lines in index.html (for example add image, colours, etc.), I'm getting the same messages. It's working ok without any changes.

Trac:  	        0.11.5
Python: 	2.4.3 (#1, Jul 27 2009, 17:57:39) [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)]
setuptools: 	0.6c5
SQLite: 	3.3.6
pysqlite: 	1.1.7
Genshi: 	0.5
Subversion: 	1.4.2 (r22196)
jQuery:	        1.2.6

I'm looking forward to your reply.

in reply to:  4 ; comment:5 by anonymous, 15 years ago

Replying to radek@…:

Replying to rblank:

No info, closing.

Hi Guys, I have the same problem. When I want to change few lines in index.html (for example add image, colours, etc.), I'm getting the same messages. It's working ok without any changes.

Trac:  	        0.11.5
Python: 	2.4.3 (#1, Jul 27 2009, 17:57:39) [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)]
setuptools: 	0.6c5
SQLite: 	3.3.6
pysqlite: 	1.1.7
Genshi: 	0.5
Subversion: 	1.4.2 (r22196)
jQuery:	        1.2.6

I'm looking forward to your reply.

Hi,

This is what I get:

Traceback (most recent call last):
  File "/usr/lib/python2.4/SocketServer.py", line 463, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.4/SocketServer.py", line 254, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.4/SocketServer.py", line 521, in __init__
    self.handle()
  File "/usr/lib/python2.4/BaseHTTPServer.py", line 316, in handle
    self.handle_one_request()
  File "/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/web/wsgi.py", line 184, in handle_one_request
    gateway.run(self.server.application)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/web/wsgi.py", line 92, in run
    response = application(self.environ, self._start_response)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/web/standalone.py", line 100, in __call__
    return self.application(environ, start_response)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/web/main.py", line 362, in dispatch_request
    env_paths)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/web/main.py", line 576, in send_project_index
    tmpl = loader.load(template)
  File "/usr/lib/python2.4/site-packages/Genshi-0.5-py2.4-linux-i686.egg/genshi/template/loader.py", line 221, in load
  File "/usr/lib/python2.4/site-packages/Genshi-0.5-py2.4-linux-i686.egg/genshi/template/loader.py", line 259, in _instantiate
  File "/usr/lib/python2.4/site-packages/Genshi-0.5-py2.4-linux-i686.egg/genshi/template/base.py", line 379, in __init__
TemplateSyntaxError: mismatched tag: line 27, column 2 (/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/templates/index.html, line 27)

in reply to:  5 ; comment:6 by Christian Boos, 15 years ago

Replying to anonymous:

...
TemplateSyntaxError: mismatched tag: line 27, column 2 (/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/templates/index.html, line 27)

You have introduced a syntax error in the template while editing it, the template needs to be well-formed XML.

Did you have a traceback involving socket.py or not? If not, then your problem has nothing to do with with this ticket.

in reply to:  6 comment:7 by anonymous, 15 years ago

Replying to cboos:

Replying to anonymous:

...
TemplateSyntaxError: mismatched tag: line 27, column 2 (/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/templates/index.html, line 27)

You have introduced a syntax error in the template while editing it, the template needs to be well-formed XML.

Did you have a traceback involving socket.py or not? If not, then your problem has nothing to do with with this ticket.

No, I didn't have.

comment:8 by Christian Boos, 15 years ago

Resolution: wontfix
Status: reopenedclosed

Ok, so I'm closing again.

Be sure to read some documentation about Genshi if you want to modify the templates.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.