#554: Attachments doesn't work with mod_python and windows
------------------------------------------+---------------------------------
 Reporter:  [EMAIL PROTECTED]         |        Owner:  cboos   
     Type:  defect                        |       Status:  assigned
 Priority:  normal                        |    Milestone:          
Component:  mod_python frontend           |      Version:  0.9.3   
 Severity:  major                         |   Resolution:          
 Keywords:  mod_python attachments win32  |  
------------------------------------------+---------------------------------
Changes (by anonymous):

  * version:  0.9b1 => 0.9.3
  * priority:  high => normal

Comment:

 I am using Apache 2.0.55, Python 2.3.5, Trac 0.9.3 and get the message
 'StringField' object has no attribute 'filename'

 here is the traceback:


 {{{
 Traceback (most recent call last):
   File "C:\Python23\Lib\site-packages\trac\web\modpython_frontend.py",
 line 206, in handler
     dispatch_request(mpr.path_info, mpr, env)
   File "C:\Python23\Lib\site-packages\trac\web\main.py", line 139, in
 dispatch_request
     dispatcher.dispatch(req)
   File "C:\Python23\Lib\site-packages\trac\web\main.py", line 107, in
 dispatch
     resp = chosen_handler.process_request(req)
   File "C:\Python23\Lib\site-packages\trac\attachment.py", line 267, in
 process_request
     self._do_save(req, attachment)
   File "C:\Python23\Lib\site-packages\trac\attachment.py", line 298, in
 _do_save
     if not upload.filename:
 AttributeError: 'StringField' object has no attribute 'filename'
 }}}

 i tried to copy the util.py inte the mod_python directory, but nothing
 changed.

 i am pretty new to python, so what else can i check to be sure, i have
 done everything right?

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/554>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets

Reply via email to