Pastebin

Paste #1948: step

< previous paste - next paste>

Pasted by tdn

Download View as text

(Pydb) s                                                                                                      
--------------------------Call level 12 copyfileobj(fsrc=<StringIO.StringIO instance at 0xa19dc8c>, fdst=<open file '/tmp/MaOG.jpeg', mode 'w' at 0xa15...)                                                                 
(/usr/lib/python2.6/shutil.py:25):  copyfileobj                                                               
25 def copyfileobj(fsrc, fdst, length=16*1024):                                                               
(Pydb) s                                                                                                      
(/usr/lib/python2.6/shutil.py:27):  copyfileobj                                                               
27     while 1:                                                                                               
(Pydb) s                                                                                                      
(/usr/lib/python2.6/shutil.py:28):  copyfileobj                                                               
28         buf = fsrc.read(length)                                                                            
(Pydb) s                                                                                                      
----------------------------Call level 13 read(self=<StringIO.StringIO instance at 0xa19dc8c>, n=16384)       
(/usr/lib/python2.6/StringIO.py:119):  read                                                                   
119     def read(self, n = -1):                                                                               
(Pydb) s                                                                                                      
(/usr/lib/python2.6/StringIO.py:127):  read                                                                   
127         _complain_ifclosed(self.closed)                                                                   
(Pydb) s                                                                                                      
------------------------------Call level 14 _complain_ifclosed(closed=False)                                  
(/usr/lib/python2.6/StringIO.py:38):  _complain_ifclosed                                                      
38 def _complain_ifclosed(closed):                                                                            
(Pydb) s                                                                                                      
(/usr/lib/python2.6/StringIO.py:39):  _complain_ifclosed                                                      
39     if closed:                                                                                             
(Pydb) s                                                                                                      
------------------------------Return from level 14 (<type 'NoneType'>)                                        
(/usr/lib/python2.6/StringIO.py:128):  read                                                                   
128         if self.buflist:                                                                                  
(Pydb) s                                                                                                      
(/usr/lib/python2.6/StringIO.py:131):  read                                                                   
131         if n is None or n < 0:                                                                            
(Pydb) s                                                                                                      
(/usr/lib/python2.6/StringIO.py:134):  read                                                                   
134             newpos = min(self.pos+n, self.len)                                                            
(Pydb) s                                                                                                      
(/usr/lib/python2.6/StringIO.py:135):  read                                                                   
135         r = self.buf[self.pos:newpos]                                                                     
(Pydb) s                                                                                                      
(/usr/lib/python2.6/StringIO.py:136):  read                                                                   
136         self.pos = newpos                                                                                 
(Pydb) s                                                                                                      
(/usr/lib/python2.6/StringIO.py:137):  read                                                                   
137         return r                                                                                          
(Pydb) s                                                                                                      
----------------------------Return from level 13 => '' (<type 'str'>)                                         
(/usr/lib/python2.6/shutil.py:29):  copyfileobj                                                               
29         if not buf:                                                                                        
(Pydb) s                                                                                                      
(/usr/lib/python2.6/shutil.py:30):  copyfileobj                                                               
30             break                                                                                          
(Pydb) s                                                                                                      
--------------------------Return from level 12 (<type 'NoneType'>)                                            
(/home/tdn/imagebin/imagebin.py:62):  do_upload                                                               
62     fdst.close()                                                                                           
(Pydb) s                                                                                                      
(/home/tdn/imagebin/imagebin.py:68):  do_upload                                                               
68     raw = ""                                                                                               
(Pydb)                                   

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.