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

Test 4 unknown issue #43

Closed
rohanhere opened this issue Apr 29, 2015 · 3 comments
Closed

Test 4 unknown issue #43

rohanhere opened this issue Apr 29, 2015 · 3 comments

Comments

@rohanhere
Copy link

Traceback (most recent call last):
  File "testris.py", line 163, in main
    try: run_tests(cmdline, use_shell)
  File "testris.py", line 135, in run_tests
    run_test(program, opcodes)
  File "testris.py", line 111, in run_test
    program.stdin.flush()
OSError: [Errno 22] Invalid argument

Oh no! Testris encountered an unexpected problem while
attempting to run your program. Please report the above
traceback in the issue tracker, so that we can help you
with the problem and provide a better error message in
the future.
@raylu
Copy link
Contributor

raylu commented Apr 29, 2015

How did you run testris.py? (Also, could you hop on our IRC?)

EDIT: Info gathered from IRC:

https://github.com/LelouchVlBritannia/learntris
cygwin or mingw, python 3.4

@raylu
Copy link
Contributor

raylu commented Apr 29, 2015

errno 22:
EINVAL
fd is attached to an object which is unsuitable for writing; or the file was opened with the O_DIRECT flag, and either the address specified in buf, the value specified in count, or the current file offset is not suitably aligned.

so I have no idea how that happened...

@tangentstorm
Copy link
Contributor

This probably was a valid bug, but the subprocess stuff has all changed dramatically since 2015 (the old runner was written for python 2.7), so I'm just going to close this, and not be surprised if something similar crops up on the tanco issues list.

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

No branches or pull requests

3 participants