Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

windows 10: neuro job exec doesn't work #406

Closed
astaff opened this issue Jan 25, 2019 · 2 comments
Closed

windows 10: neuro job exec doesn't work #406

astaff opened this issue Jan 25, 2019 · 2 comments
Assignees

Comments

@astaff
Copy link
Contributor

astaff commented Jan 25, 2019

OS: Windows 10.0
Python: 3.7.2

$ neuro job exec -t job-6027609d-45cd-49c8-9def-367bbce54fd5
ERROR:
Traceback (most recent call last):
  File "c:\users\artyo\development\neuromation\platform-api-clients\python\neuromation\cli\main.py", line 142, in main
    cli.main(args=args, standalone_mode=False)
  File "c:\users\artyo\appdata\local\programs\python\python37\lib\site-packages\click\core.py", line 717, in main
    rv = self.invoke(ctx)
  File "c:\users\artyo\appdata\local\programs\python\python37\lib\site-packages\click\core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "c:\users\artyo\appdata\local\programs\python\python37\lib\site-packages\click\core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "c:\users\artyo\appdata\local\programs\python\python37\lib\site-packages\click\core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "c:\users\artyo\appdata\local\programs\python\python37\lib\site-packages\click\core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "c:\users\artyo\appdata\local\programs\python\python37\lib\site-packages\click\decorators.py", line 27, in new_func
    return f(get_current_context().obj, *args, **kwargs)
  File "c:\users\artyo\development\neuromation\platform-api-clients\python\neuromation\cli\utils.py", line 43, in wrapper
    return run(callback(*args, **kwargs))
  File "c:\users\artyo\development\neuromation\platform-api-clients\python\neuromation\utils.py", line 50, in run
    return loop.run_until_complete(main_task)
  File "c:\users\artyo\appdata\local\programs\python\python37\lib\asyncio\base_events.py", line 584, in run_until_complete
    return future.result()
  File "c:\users\artyo\development\neuromation\platform-api-clients\python\neuromation\cli\job.py", line 207, in exec
    retcode = await client.jobs.exec(id, tty, no_key_check, cmd)
  File "c:\users\artyo\development\neuromation\platform-api-clients\python\neuromation\clientv2\jobs.py", line 412, in exec
    proc = await asyncio.create_subprocess_exec(*command)
  File "c:\users\artyo\appdata\local\programs\python\python37\lib\asyncio\subprocess.py", line 217, in create_subprocess_exec
    stderr=stderr, **kwds)
  File "c:\users\artyo\appdata\local\programs\python\python37\lib\asyncio\base_events.py", line 1533, in subprocess_exec
    bufsize, **kwargs)
  File "c:\users\artyo\appdata\local\programs\python\python37\lib\asyncio\base_events.py", line 463, in _make_subprocess_transport
    raise NotImplementedError
NotImplementedError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\artyo\AppData\Local\Programs\Python\Python37\Scripts\neuro-script.py", line 11, in <module>
    load_entry_point('neuromation', 'console_scripts', 'neuro')()
  File "c:\users\artyo\development\neuromation\platform-api-clients\python\neuromation\cli\main.py", line 184, in main
    sys.exit(os.EX_SOFTWARE)
AttributeError: module 'os' has no attribute 'EX_SOFTWARE'
@asvetlov
Copy link
Contributor

Windows is not supported now, but we will fix that.
Need to setup appveyor CI as a first step.

@asvetlov
Copy link
Contributor

Fixed by #548

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants