geneva icon indicating copy to clipboard operation
geneva copied to clipboard

subprocess.Popen issues on Windows

Open ecthros opened this issue 5 years ago • 4 comments

This is why we write tests :)

actions\tree.py:458: in pretty_print
    DotExporter(newroot).to_picture("tree.png")
C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\anytree\exporter\dotexporter.py:268: in to_picture
    check_call(cmd)
C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\subprocess.py:342: in check_call
    retcode = call(*popenargs, **kwargs)
C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\subprocess.py:323: in call
    with Popen(*popenargs, **kwargs) as p:
C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\subprocess.py:775: in __init__
    restore_signals, start_new_session)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <subprocess.Popen object at 0x00000200239E4518>
args = 'dot C:\\Users\\GEHUGHEY\\AppData\\Local\\Temp\\tmpqik02k1j -T png -o tree.png', executable = None
preexec_fn = None, close_fds = True, pass_fds = (), cwd = None, env = None
startupinfo = <subprocess.STARTUPINFO object at 0x00000200239E4A20>, creationflags = 0, shell = False, p2cread = -1
p2cwrite = -1, c2pread = -1, c2pwrite = -1, errread = -1, errwrite = -1, unused_restore_signals = True
unused_start_new_session = False

ecthros avatar Dec 14 '19 08:12 ecthros

@ecthros Probably you should read README first.

Quote:

Geneva has been developed and tested for Centos or Debian-based systems. Due to limitations of netfilter and raw sockets, Geneva does not work on OS X or Windows at this time and requires python3.6 (with more versions coming soon).

sv0 avatar Jan 25 '20 08:01 sv0

Hi - apologies for any confusion on this thread. I've been working on porting Geneva to run on Windows, and it's actually working quite well.

You can actually test it out if you'd like, it's on one of the branches in my forked repository. I've been a little swamped with work at the moment, but after a couple weeks I'll be able to pass this last test and we can merge windows support in.

ecthros avatar Jan 25 '20 20:01 ecthros

Ten months passed. Windows support?

tec1987 avatar Oct 22 '20 06:10 tec1987

Hi @tec1987 - it's in a branch, but all of the contributors have been busy with other things and it hasn't been a high enough priority to finish out. You're welcome to join us though and help us get it over the finish line!

Kkevsterrr avatar Oct 22 '20 15:10 Kkevsterrr