Skip to content

Throwing error in windows #39

@gautamkrishnar

Description

@gautamkrishnar

SoCLI is throwing an error while it is using the interactive mode in windows...

image

Debug output:

C:\Users\Gautam krishna R\PycharmProjects\socli>python -m socli --debug -iq hello world java
Error name: Name not found globally.

Description: name 'fcntl' is not defined

Traceback (most recent call last):
  File "C:\Users\Gautam krishna R\PycharmProjects\socli\socli\socli.py", line 483, in socli_interactive
    LOOP = urwid.MainLoop(QUESTION_PAGE, palette)
  File "C:\Program Files\Python35\lib\site-packages\urwid\main_loop.py", line 111, in __init__
    screen = raw_display.Screen()
  File "C:\Program Files\Python35\lib\site-packages\urwid\raw_display.py", line 89, in __init__
    fcntl.fcntl(self._resize_pipe_rd, fcntl.F_SETFL, os.O_NONBLOCK)
NameError: name 'fcntl' is not defined
exiting...

We need to implement the standard interactive mode in windows... @e-beach

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions