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
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
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
> 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
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
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
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
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