On Mon, Nov 17, 2014 at 7:55 PM, Peter Otten <[email protected]> wrote:
> I'd suggest a more conservative path: if available install the version that
> comes with your distribution.
>
> $ sudo apt-get python3-serial
>
> might do the job.
Only if the Python to install to was also the distro-installe
On 17/11/14 16:31, Chris Angelico wrote:
On Mon, Nov 17, 2014 at 3:10 PM, Peter Bell wrote:
Is there a better way to interface to a serial port from Python 3? I've
found a reference in the PSF 3.3.6 FAQ which points to pyserial on
sourceforge.
... a solution to this. I would suggest lookin
Chris Angelico wrote:
> On Mon, Nov 17, 2014 at 3:10 PM, Peter Bell
> wrote:
>> Many thanks for your helpful response, Chris.
>>
>> On 17/11/14 06:13, Chris Angelico wrote:
>>>
>>> On Sun, Nov 16, 2014 at 7:11 PM, Peter Bell
>>> wrote:
File "/usr/lib/python3.4/site-packages/serial/s
On Mon, Nov 17, 2014 at 3:10 PM, Peter Bell wrote:
> Many thanks for your helpful response, Chris.
>
> On 17/11/14 06:13, Chris Angelico wrote:
>>
>> On Sun, Nov 16, 2014 at 7:11 PM, Peter Bell
>> wrote:
>>>
>>>File "/usr/lib/python3.4/site-packages/serial/serialposix.py", line
>>> 480,
>>> i
Many thanks for your helpful response, Chris.
On 17/11/14 06:13, Chris Angelico wrote:
On Sun, Nov 16, 2014 at 7:11 PM, Peter Bell wrote:
File "/usr/lib/python3.4/site-packages/serial/serialposix.py", line 480,
in read
if e[0] != errno.EAGAIN:
TypeError: 'InterruptedError' object is no
On Sun, Nov 16, 2014 at 7:11 PM, Peter Bell wrote:
> File "/usr/lib/python3.4/site-packages/serial/serialposix.py", line 480,
> in read
> if e[0] != errno.EAGAIN:
> TypeError: 'InterruptedError' object is not subscriptable
> ===
On Feb 18, 10:23 am, Jean-Paul Calderone
wrote:
> The exception is caused by a syscall returning EINTR. A syscall will
> return EINTR when a signal arrives and interrupts whatever that
> syscall
> was trying to do. Typically a signal won't interrupt the syscall
> unless you've installed a signal
On Feb 17, 8:46 pm, Philip Winston wrote:
> We have a multiprocess Python program that uses Queue to communicate
> between processes. Recently we've seen some errors while blocked
> waiting on Queue.get:
>
> IOError: [Errno 4] Interrupted system call
>
> What causes the exception? Is it necessar
In article
,
Philip Winston wrote:
> We have a multiprocess Python program that uses Queue to communicate
> between processes. Recently we've seen some errors while blocked
> waiting on Queue.get:
>
> IOError: [Errno 4] Interrupted system call
>
> What causes the exception?
Unix divides sys
On Thu, Feb 17, 2011 at 5:46 PM, Philip Winston wrote:
> We have a multiprocess Python program that uses Queue to communicate
> between processes. Recently we've seen some errors while blocked
> waiting on Queue.get:
>
> IOError: [Errno 4] Interrupted system call
>
> What causes the exception?
On Fri, Feb 18, 2011 at 11:46 AM, Philip Winston wrote:
> We have a multiprocess Python program that uses Queue to communicate
> between processes. Recently we've seen some errors while blocked
> waiting on Queue.get:
>
> IOError: [Errno 4] Interrupted system call
>
> What causes the exception?
11 matches
Mail list logo