-
Notifications
You must be signed in to change notification settings - Fork 26
/
ISSUES
35 lines (30 loc) · 1.76 KB
/
ISSUES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
This is just a bunch of pending issues, mostly with Windows because
Windows is a royal pain.
For python, there is an issue if you get an exception and another
python callback gets called. The exception is cleared by the new
python call so it is lost. So even though exceptions are propagated
back through the C/C++ code, they can still get lost. You can see
this in test_mdns.py if there are multiple callbacks to mdns_cb.
There is not an easy workaround, it is probably better to catch
exceptions in all callbacks.
On Windows, a new pty spews out a bunch of terminal control stuff and
messes things up for testing and for things like rsync. Some way to
disable this is needed. This breaks test_pty_basic.py. See
https://learn.microsoft.com/en-us/answers/questions/1336932/a-new-device-with-createpseudoconsole()-sends-a-bu?comment=question
You get strange behavior from Windows stdio if you have the console
you are using in raw mode on the console and open another program
using stdio. For instance:
$ gensiot -i stdio(self,raw) stdio,cmd
Microsoft Windows [Version 10.0.19045.3208]
(c) Microsoft Corporation. All rights reserved.
C:\msys64\home\cminyard\gensio>
but you can't type anything. If you take out the "raw", it works, but
then you get the undesirable side effects of a non-raw console. And
it makes running programs from an application a program if the
application is in raw mode.
On Windows, python tests pull gensios from the installed directory,
not from the local directory. This is because Windows always loads
shared libraries first from the directory the original program ran in,
and if you have gensio installed, it's going to be in the same
directory as python. So if you have gensio installed this way, you
have to install it again before you run tests.