[Bugs] #1253 UNSP: Activitiestray download palettes does not allow accepting a file of unrecognised MIME type

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Sun Aug 30 12:16:32 EDT 2009


#1253: Activitiestray download palettes does not allow accepting a file of
unrecognised MIME type
------------------------------------------+---------------------------------
    Reporter:  garycmartin                |          Owner:  tomeu      
        Type:  defect                     |         Status:  new        
    Priority:  Unspecified by Maintainer  |      Milestone:  0.86       
   Component:  sugar                      |        Version:  0.84.x     
    Severity:  Unspecified                |     Resolution:             
    Keywords:                             |   Distribution:  Unspecified
Status_field:  Unconfirmed                |  
------------------------------------------+---------------------------------

Comment(by garycmartin):

 Here's the trace back:

 {{{
 Traceback (most recent call last):
   File "/usr/lib/python2.6/site-packages/jarabe/frame/activitiestray.py",
 line 772, in __accept_activate_cb
     prefix=self._sanitize(self.file_transfer.title))
   File "/usr/lib/python2.6/tempfile.py", line 293, in mkstemp
     return _mkstemp_inner(dir, prefix, suffix, flags)
   File "/usr/lib/python2.6/tempfile.py", line 226, in _mkstemp_inner
     file = _os.path.join(dir, pre + name + suf)
 TypeError: coercing to Unicode: need string or buffer, NoneType found
 }}}

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/1253#comment:2>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list