Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Throwing error in windows #39

Closed
gautamkrishnar opened this issue Apr 7, 2017 · 1 comment
Closed

Throwing error in windows #39

gautamkrishnar opened this issue Apr 7, 2017 · 1 comment

Comments

@gautamkrishnar
Copy link
Owner

gautamkrishnar commented Apr 7, 2017

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

@gautamkrishnar
Copy link
Owner Author

Cause: urwid/urwid#152

elliott-beach added a commit to elliott-beach/socli that referenced this issue Apr 7, 2017
gautamkrishnar added a commit that referenced this issue Apr 8, 2017
fix #39 by using non-urwid interactive mode on windows
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant