On 7/22/20 4:46 PM, Mathiyazhagan S wrote:
Dear Sir/Madam,
I'm new to the python program.
I'm trying to install the "numby" or anything to add into the library by
using the windows command prompt I'm getting some error please find the
attachment.
So please help me to resolve this issue.
Dear Sir/Madam,
I'm new to the python program.
I'm trying to install the "numby" or anything to add into the library by
using the windows command prompt I'm getting some error please find the
attachment.
So please help me to resolve this issue.
Thank you
--
https://mail.python.org/mailman/
On 13Nov2014 15:40, satishmlm...@gmail.com wrote:
import os
os.write(1, b'Hello descriptor world\n')
OSError: Bad file descriptor
How to give a file descriptor number to this function? How to get a file
descriptor number?
Wow, this must be at least the 4th post of the same questi
On 13/11/2014 23:40, satishmlm...@gmail.com wrote:
import os
os.write(1, b'Hello descriptor world\n')
OSError: Bad file descriptor
How to give a file descriptor number to this function? How to get a file
descriptor number?
I suggest getting your cheque book out and paying for the
In article ,
Ben Finney wrote:
> satishmlm...@gmail.com writes:
>
> > import os
> > os.write(1, b'Hello descriptor world\n')
> > OSError: Bad file descriptor
>
> It works fine for me::
>
> >>> import os
> >>> os
satishmlm...@gmail.com writes:
> import os
> os.write(1, b'Hello descriptor world\n')
> OSError: Bad file descriptor
It works fine for me::
>>> import os
>>> os.write(1, b'Hello descriptor world\n')
Hello descriptor world
23
You d
On Thursday, November 13, 2014 3:40:50 PM UTC-8, satish...@gmail.com wrote:
> import os
> os.write(1, b'Hello descriptor world\n')
> OSError: Bad file descriptor
>
> How to give a file descriptor number to this function? How to get a file
> descriptor number?
htt
import os
os.write(1, b'Hello descriptor world\n')
OSError: Bad file descriptor
How to give a file descriptor number to this function? How to get a file
descriptor number?
--
https://mail.python.org/mailman/listinfo/python-list
Dump looks like this:
...
File "C: ... ineptpdf8.4.20.pyw", line 1266, in initialize return
self.initialize_fopn(docid, param)
File "C: ... ineptpdf8.4.20.pyw", line 1411, in initialize_fopn print
buildurl
IOError: [Errno 9] Bad file descriptor
Two strange things:
1st: in the
Dump looks like this:
...
File "C: ... ineptpdf8.4.20.pyw", line 1266, in initialize return
self.initialize_fopn(docid, param)
File "C: ... ineptpdf8.4.20.pyw", line 1411, in initialize_fopn print
buildurl
IOError: [Errno 9] Bad file descriptor
Two strange things:
1st: in the
On 07/14/2010 01:21 PM, joblack wrote:
>> |
>> | Starting point:
>> | ...
>> | self.status['text'] = 'Processing ...'
>> | try:
>> | cli_main(argv)
>> | except Exception, e:
>> | self.status['text'] = 'Error: ' + str(e)
>> | return
>> | ..
> |
> | Starting point:
> | ...
> | self.status['text'] = 'Processing ...'
> | try:
> | cli_main(argv)
> | except Exception, e:
> | self.status['text'] = 'Error: ' + str(e)
> | return
> | ...
> | cli_main:
> |
> | keypath, inpath, outp
On 13Jul2010 05:56, joblack wrote:
| Thanks for the answers so far. It's not my code I'm just curious how
| that could happen:
|
| Starting point:
| ...
| self.status['text'] = 'Processing ...'
| try:
| cli_main(argv)
| except Exception, e:
| self.s
All right I found the web link. It's an improvement to the pdf miner
project (adds pdf dump methods).
http://pastebin.com/P8SWj5YK
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for the answers so far. It's not my code I'm just curious how
that could happen:
Starting point:
...
self.status['text'] = 'Processing ...'
try:
cli_main(argv)
except Exception, e:
self.status['text'] = 'Error: ' + str(e)
return
..
On 11Jul2010 17:48, joblack wrote:
| I get sometimes a
|
| Errno 9 Bad file descriptor
|
| the code is too long to show it here but what are the circumstances
| this could happen? A web search showed nothing.
|
| I have especially the feeling Python 2.6 has some problems with
| Unicode ... and
joblack wrote:
>
>I get sometimes a
>
>Errno 9 Bad file descriptor
>
>the code is too long to show it here but what are the circumstances
>this could happen? A web search showed nothing.
>
>I have especially the feeling Python 2.6 has some problems with
>Unicode .
On Sun, 11 Jul 2010 17:48:40 -0700, joblack wrote:
> I get sometimes a
>
> Errno 9 Bad file descriptor
>
> the code is too long to show it here
You can at least show the actual line that fails. Are you trying to open
a file, a named socket, a pipe or a device?
>
I get sometimes a
Errno 9 Bad file descriptor
the code is too long to show it here but what are the circumstances
this could happen? A web search showed nothing.
I have especially the feeling Python 2.6 has some problems with
Unicode ... and might not find the file. Is that possible?
--
http
On Feb 28, 10:00 pm, Dennis Lee Bieber wrote:
> On Sun, 28 Feb 2010 13:22:19 -0800 (PST), T
> declaimed the following in gmane.comp.python.general:
>
> > Sorry for the lack of code - yes, it does try to write to the
> > console. From what I'm finding, this error may be due to the fact
> > that t
t calls some external
> > binaries, one of which restarts the computer. When I'm logged in,
> > this works fine. However, if I log out, the service stops and logs
> > the following error in the Event Log:
>
> > :(9, 'Bad file descriptor')
>
> > Anyon
n the Event Log:
:(9, 'Bad file descriptor')
Anyone have an idea what could be causing this?
--
http://mail.python.org/mailman/listinfo/python-list
f HTTPServer 'workers' (almost exactly as demonstrated in
> the docs). This works perfectly so long as the subprocess that
> starts the HTTPServer workers is the *first* process started by the
> master process. Otherwise the HTTPServer's serve_forever immediately
>
This works perfectly so long as the subprocess that
starts the HTTPServer workers is the *first* process started by the
master process. Otherwise the HTTPServer's serve_forever immediately
abends with: "(9, 'Bad file descriptor')"
I'm confused why the order of s
Hi
I am trying to create a COM object of picalo functionalities so that I can use
it into my VB application but I am getting the following error "[Errno 9] bad
file descriptor".
Can you please suggest me what is supposed to do to avoid this problem?
This is my code
class T
. When I am shutting
down the application I close the serial port, which causes the IO
error: (9, 'Bad file descriptor'). It makes sense that we would get
this error, because it is trying to read off of a closed 'file'. Is
there a better way to close this thread and port down?
T
automation/tomato/Tomato/SeleniumGateway.py", line
161, in send_string
self.waiting_client.write(command)
File "/usr/lib/python2.5/socket.py", line 261, in write
File "/usr/lib/python2.5/socket.py", line 248, in flush
socket.error: (9, 'Bad file descriptor')
However, I do not have any
n socket,
> socket.py raises a bad file descriptor in _dummy.
>
> I tried using plain threads with the same problem.
>
> Any clue ?
>
> Thanks,
>
> hg
Bug discovered, sorry
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I have two classes, one listens and accepts connections, gets the
socket, reads the first byte from the opened socket then launches a
thread (threading) and gives it the socket identifier.
The first time the thread attempts to read from the given socket,
socket.py raises a bad file
Dennis Lee Bieber wrote:
> On Tue, 03 May 2005 08:59:14 -0400, rbt <[EMAIL PROTECTED]>
> declaimed the following in comp.lang.python:
>
>
>>The below script produces a '[Errno 9] Bad File Descriptor' when
>>executed. If I remove the try: except: statem
vincent wehren wrote:
> "rbt" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> news:[EMAIL PROTECTED]
> | The below script produces a '[Errno 9] Bad File Descriptor' when
> | executed. If I remove the try: except: statements, the script stops when
> | the
"rbt" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
| The below script produces a '[Errno 9] Bad File Descriptor' when
| executed. If I remove the try: except: statements, the script stops when
| the error occurs.
|
| The purpose of the script is
The below script produces a '[Errno 9] Bad File Descriptor' when
executed. If I remove the try: except: statements, the script stops when
the error occurs.
The purpose of the script is to monitor the size of the three main logs
on a Windows 2003 server and send and email should any o
t):
File "C:\Documents and Settings\Gregory\My Documents\Get New Great
Job\testfile.py", line 3, in ?
test=logfile.readlines()
IOError: [Errno 9] Bad file descriptor
I'm running Windows XP, Python 2.3.3 (#51, Dec 18 2003, 20:22:39) [MSC
v.1200 32 bit (Intel)] on win32
Any help would
http://mail.python.org/pipermail/python-bugs-list/2001-October/007650.html
Rest assured you're not on drugs :)
On Thu, 6 Jan 2005 14:45:24 +0530, Gurpreet Sachdeva
<[EMAIL PROTECTED]> wrote:
> On Thu, 6 Jan 2005 14:27:40 +0530, Binu K S <[EMAIL PROTECTED]> wrote:
> > I'm sorry, I didn't get what y
On Thu, 6 Jan 2005 14:27:40 +0530, Binu K S <[EMAIL PROTECTED]> wrote:
> I'm sorry, I didn't get what you trying to say here. Where do you see
> a read altering the file? An example might help.
Please try:
logfile=file(r'test.txt','w+')
logfile.write('datetime')
Check the contents of test.txt, y
On Thu, 6 Jan 2005 13:17:11 +0530, Gurpreet Sachdeva
<[EMAIL PROTECTED]> wrote:
> On Thu, 6 Jan 2005 12:55:22 +0530, Binu K S <[EMAIL PROTECTED]> wrote:
> >>>The file's current position moves as you write into it.
> I concure and have figured out the solution BUT while reading from the
> file from
On Thu, 6 Jan 2005 12:55:22 +0530, Binu K S <[EMAIL PROTECTED]> wrote:
>>>The file's current position moves as you write into it.
I concure and have figured out the solution BUT while reading from the
file from the position where the file handler is, should return
"Null/Blank/Anything in this world
There's nothing crazy going on here. The file's current position moves
as you write into it. Both read and write operation use the same
offset. The tell() method gives you the current position at any time.
When you append to a file the position moves to the end of the file so
that the next write ha
logfile=file(r'test.txt','a+')
logfile.write('datetime')
logfile.flush()
test=logfile.readlines()
print test
I added logfile.flush(), the 'datetime' was written in the file
correctly but I couldn't get any result...
Crazy!
Garry
--
http://mail.python.org/mailman/listinfo/python-list
test=logfile.readlines()
>
>
> ~Vishnu.
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> [EMAIL PROTECTED]
> Sent: Thursday, January 06, 2005 11:53 AM
> To: python-list@python.org
> Subject: file.readlines() - giv
Thus spake [EMAIL PROTECTED] ([EMAIL PROTECTED]):
> Hey guys,
>
> I can't figure this one out, why is this simple script giving me
> problems?
>
> logfile=file(r'test.txt','w')
^^^
You've opened the file in write mode. To read from the file,
you'll have to reopen it i
ge-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, January 06, 2005 11:53 AM
To: python-list@python.org
Subject: file.readlines() - gives me error (bad file descriptor)
Hey guys,
I can't figure this one out, why is this simple script giv
uments and Settings\Gregory\My Documents\Get New Great
Job\testfile.py", line 3, in ?
test=logfile.readlines()
IOError: [Errno 9] Bad file descriptor
I'm running Windows XP, Python 2.3.3 (#51, Dec 18 2003, 20:22:39) [MSC
v.1200 32 bit (Intel)] on win32
Any help would be greatly appricated.
44 matches
Mail list logo