Re: ftp EOF error, thread and process

2008-12-28 Thread Gabriel Genellina
En Sun, 28 Dec 2008 10:44:11 -0200, nemo escribió: My code like this raise an EOFError, It happens if I use the Process module, while, if I use thread.start_new_thread(ftp.pwd,()), it seems works well. And I wondered why. from ftplib import FTP import thread from multiprocessing import Process

ftp EOF error, thread and process

2008-12-28 Thread nemo
Hi all, My code like this raise an EOFError, It happens if I use the Process module, while, if I use thread.start_new_thread(ftp.pwd,()), it seems works well. And I wondered why. from ftplib import FTP import thread from multiprocessing import Process if __name__ == '__main__': ftp = FTP('loc

cPickle EOF Error

2007-02-28 Thread Roopesh
some characters (without this the file content was not getting written). But once we try to unpickle the content, an EOF error is getting thrown. When I tried putting the content(xml in database) to a file without unpickling then the xml file with escape characters gets printed. My code is as fo

Re: Multifile EOF error

2006-03-22 Thread [EMAIL PROTECTED]
> Try to trim down your script to the minimal code that produces the error > and post both. Copy'n'paste code and traceback, don't retype it. The code is kinda bit long so you can see the whole idea. I use some libgmail and twisted web #code start def displayComment(request): gmc = libgmail.G

Re: Multifile EOF error

2006-03-20 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > I had error in my script like "sudden EOF in MultiFile readline()" > Why such error occur Because there's something wrong. Sorry but you have to give a little more detail about your script and the exact error you see. Try to trim down your scri

Multifile EOF error

2006-03-20 Thread [EMAIL PROTECTED]
Hi, I had error in my script like "sudden EOF in MultiFile readline()" Why such error occur -- http://mail.python.org/mailman/listinfo/python-list

Re: EOF error

2005-12-03 Thread Peter Otten
ash wrote: > hi, > when i try to unpickle a pickled file in binary format, i get this > error: > > E:\mdi>test.py > Traceback (most recent call last): > File "E:\mdi\qp.py", line 458, in OnReadButton > data=p.load(file("ques.dat","r")) > EOFError > > what is the reason? how do i overcome t

EOF error

2005-12-03 Thread ash
hi, when i try to unpickle a pickled file in binary format, i get this error: E:\mdi>test.py Traceback (most recent call last): File "E:\mdi\qp.py", line 458, in OnReadButton data=p.load(file("ques.dat","r")) EOFError what is the reason? how do i overcome this? Thanks in advance for you val